Modular Indexer API
Streamlined interfaces for querying balances, verifying transactions, and accessing brc-20 data efficiently.
Get the latest balance of the wallet on its latest pkscript.
Query parameters
tickstringOptional
walletstringOptional
Body
objectOptional
Responses
200
Success
application/json
500
Failed
application/json
get
GET /v1/brc20_verifiable/current_balance_of_wallet HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
{
"error": null,
"result": {
"availableBalance": "text",
"overallBalance": "text",
"pkscript": "text"
},
"proof": "text"
}
Get the latest balance of the wallet on its latest pkscript.
Query parameters
tickstringOptional
pkscriptstringOptional
Body
objectOptional
Responses
200
Success
application/json
500
Failed
application/json
get
GET /v1/brc20_verifiable/current_balance_of_pkscript HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 2
{}
{
"error": null,
"result": {
"availableBalance": "text",
"overallBalance": "text",
"pkscript": "text"
},
"proof": "text"
}
Get the state difference, proof, and the transactions between the last block height and the current one.
Responses
200
Success
application/json
500
Failed
application/json
get
GET /v1/brc20_verifiable/latest_state_proof HTTP/1.1
Host:
Accept: */*
{
"error": null,
"result": {
"ordTransfers": [
{
"ID": 1,
"inscriptionID": "text",
"newSatpoint": "text",
"newPkscript": "text",
"newWallet": "text",
"sentAsFee": true,
"content": "text",
"contentType": "text"
}
],
"stateDiff": [
"text"
]
},
"proof": "text"
}
Last updated