MNEE API
Welcome to the MNEE API Reference! This section provides detailed information about the available methods, parameters, and responses for interacting directly with the MNEE API. The API is designed to be intuitive and easy to use, allowing you to manage and take full control of your integration.
Get MNEE configuration and fee structure
OK
Bad Request
GET //config HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Accept: */*
{
"approver": "02bed35e894cc41cc9879b4002ad03d33533b615c1b476068c8dd6822a09f93f6c",
"decimals": 5,
"feeAddress": "1H9wgHCTHjmgBw4PAbQ4PQBQhGFrHWhjbU",
"burnAddress": "1HNuPi9Y7nMV6x8crJ6DnD1wJtkLym8EFE",
"mintAddress": "1AZNdbFYBDFTAEgzZMfPzANxyNrpGJZAUY",
"fees": [
{
"fee": 1000,
"max": 1000000,
"min": 10000
}
],
"tokenId": "833a7720966a2a435db28d967385e8aa7284b6150ebb39482cc5228b73e1703f_0"
}
Gather a list of all MNEE transactions
Min score
Maximum number of transactions to return
1000
Signed transactions
Bad Request
GET //sync HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Accept: */*
[
{
"blkHash": "text",
"blkTime": 1,
"height": 800000,
"idx": 1,
"outs": [
1
],
"rawtx": "base64 encoded rawtx",
"receivers": [
"text"
],
"score": 800000000000001,
"senders": [
"text"
],
"txid": "text"
}
]
Gather a list of all MNEE transactions for a batch of addresses
Maximum number of transactions to return per address (defaults to 0, which returns all transactions)
0
Sync Order
Signed transactions
Bad Request
POST //sync HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
]
[
{
"blkHash": "text",
"blkTime": 1,
"height": 800000,
"idx": 1,
"outs": [
1
],
"rawtx": "base64 encoded rawtx",
"receivers": [
"text"
],
"score": 800000000000001,
"senders": [
"text"
],
"txid": "text"
}
]
base64 string
Signed transaction
Bad Request
POST //transfer HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"rawtx": "base64 string"
}
{
"rawtx": "base64 string"
}
Validates and transfer mnee transactions
base64 string
OK
Bad Request
Internal Server Error
POST //v2/transfer HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"rawtx": "base64 string"
}
text
UTXOs
Bad Request
POST //utxos HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
]
[
{
"data": {
"bsv21": {
"amt": 1,
"dec": 1,
"icon": "text",
"id": "text",
"op": "text",
"sym": "text"
},
"cosign": {
"address": "text",
"cosigner": "text"
}
},
"height": 1,
"idx": 1,
"outpoint": "text",
"owners": [
"text"
],
"satoshis": 1,
"score": 1,
"script": "base64 string",
"txid": "hex string",
"vout": 1
}
]
Returns the array of unspent utxos
Default: 1
1
Default: 10
10
Sync Order
Addresses to lookup for utxos
OK
Bad Request
Internal Server Error
POST //v2/utxos HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
]
[
{
"data": {
"bsv21": {
"amt": 1,
"dec": 1,
"icon": "text",
"id": "text",
"op": "text",
"sym": "text"
},
"cosign": {
"address": "text",
"cosigner": "text"
}
},
"height": 1,
"idx": 1,
"outpoint": "text",
"owners": [
"text"
],
"satoshis": 1,
"score": 1,
"script": "base64 string",
"txid": "hex string",
"vout": 1
}
]
Returns Ticket By Ticket ID
Ticket ID
Ticket response
Bad Request
Internal server error
GET //v2/ticket HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Accept: */*
{
"action_requested": "text",
"callback_url": "text",
"createdAt": "text",
"errors": "text",
"id": "text",
"status": "text",
"tx_hex": "text",
"tx_id": "text",
"updatedAt": "text"
}
Accepts a list of addresses and returns their balances.
List of addresses
Balances result
Invalid JSON payload
Method Not Allowed
POST //v2/balance HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 8
[
"text"
]
[
{
"address": "1A1QNEkLuvAALsmG4Me3iubP8zb5C6jpv5",
"amt": 30300303,
"precised": 34.22
}
]
Last updated