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.
Notice that you can click "Test It" on the right side of the api docs. Once the testing interface opens, you can switch between the sandbox endpoint and the production endpoint by clicking the URL up top.
You will need to enter your API KEY for the auth_token
Get MNEE configuration and fee structure
OK
Bad Request
GET /v1/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
1000Signed transactions
Bad Request
GET /v1/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)
0Sync Order
Signed transactions
Bad Request
POST /v1/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 stringSigned transaction
Bad Request
POST /v1/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 transfers mnee transactions. Returns a ticket ID for tracking the transaction.
base64 stringTransfer submitted successfully. Returns ticket ID for tracking.
Ticket ID for tracking the transfer transaction
a1b2c3d4-e5f6-7890-abcd-ef1234567890Bad 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"
}a1b2c3d4-e5f6-7890-abcd-ef1234567890Returns Ticket By Ticket ID
Ticket ID
Ticket response
Bad Request
Internal server error
GET /v2/ticket?ticketID=text 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"
}UTXOs
Bad Request
POST /v1/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
1Default: 10
10Sync 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
}
]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