Get BRC-100 User State
get
Get user state, user and inUser can be address or ticker. Know more about state from BRC-100 protocol documentation: State in BRC-100
Authorizations
Query parameters
tickerstringRequired
userstringRequired
Can be address or ticker
inUserstringRequired
Can be address or ticker
stateNamestringRequired
Responses
200
Successful Operation.
application/json
401
Invalid Api Key!
get
GET /v1/indexer/brc100/user/state HTTP/1.1
Host: open-api.inbrc.org
Authorization: Bearer API Key
Accept: */*
{
"code": 1,
"msg": "text",
"data": {
"protocol": "text",
"ticker": "text",
"user": "text",
"balance": "text",
"balanceTransferrable": "text"
}
}
Know more about state from BRC-100 protocol documentation: State in BRC-100
Last updated