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 config

get

Get MNEE configuration and fee structure

Authorizations
Responses
200

OK

application/json
get
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"
}

Get all MNEE transactions

get

Gather a list of all MNEE transactions

Authorizations
Query parameters
fromintegerOptional

Min score

limitintegerOptional

Maximum number of transactions to return

Default: 1000
Responses
200

Signed transactions

application/json
get
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"
  }
]

Get transactions for specific addresses

post

Gather a list of all MNEE transactions for a batch of addresses

Authorizations
Query parameters
fromintegerOptional
limitintegerOptional

Maximum number of transactions to return per address (defaults to 0, which returns all transactions)

Default: 0
orderstringOptional

Sync Order

Bodystring[]
string[]Optional
Responses
200

Signed transactions

application/json
post
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"
  }
]

Submit a partially-signed transfer transaction

post
Authorizations
Body
rawtxstringOptionalExample: base64 string
Responses
200

Signed transaction

application/json
post
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"
}

Transfer Mnee tokens

post

Validates and transfer mnee transactions

Authorizations
Body
rawtxstringOptionalExample: base64 string
Responses
200

OK

text/plain
Responsestring
post
POST //v2/transfer HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Content-Type: application/json
Accept: */*
Content-Length: 25

{
  "rawtx": "base64 string"
}
text

Retrieve transaction

get
Authorizations
Path parameters
txidstringRequired
Responses
200

Transaction data

application/json
get
GET //tx/{txid} HTTP/1.1
Host: sandbox-proxy-api.mnee.net
Accept: */*
{
  "rawtx": "base64 string"
}

Retrieve UTXOs for a batch of addresses

post
Authorizations
Bodystring[]
string[]Optional
Responses
200

UTXOs

application/json
post
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
  }
]

Get Utxos by addresses

post

Returns the array of unspent utxos

Authorizations
Query parameters
pagestringOptional

Default: 1

Default: 1
sizestringOptional

Default: 10

Default: 10
orderstringOptional

Sync Order

Bodystring[]
string[]Optional

Addresses to lookup for utxos

Responses
200

OK

application/json
post
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
  }
]

Get Ticket

get

Returns Ticket By Ticket ID

Authorizations
Query parameters
ticketIDstringRequired

Ticket ID

Responses
200

Ticket response

application/json
get
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"
}

Fetch balances for given addresses

post

Accepts a list of addresses and returns their balances.

Authorizations
Bodystring[]
string[]Optional

List of addresses

Responses
200

Balances result

application/json
post
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