Accounts
Read-only endpoints to obtain Stacks account details
Retrieves a list of all assets events associated with an account or a Contract Identifier. This includes Transfers, Mints.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
Results per page
20
Result offset
0
Include data from unanchored (i.e. unconfirmed) microblocks
false
Example: true
Block hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
{"60000":{"value":"60000"},"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79":{"value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79"}}
GET /extended/v1/address/{principal}/assets HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"event_index": 1,
"event_type": "smart_contract_log",
"tx_id": "text",
"contract_log": {
"contract_id": "text",
"topic": "text",
"value": {
"hex": "text",
"repr": "text"
}
}
}
]
}
Retrieves a list of STX transfers with memos to the given principal. This includes regular transfers from a stx-transfer transaction type, and transfers from contract-call transactions a the send-many-memo
bulk sending contract.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
Results per page
20
Result offset
0
Filter for transactions only at this given block height
Include data from unanchored (i.e. unconfirmed) microblocks
false
Example: true
Block hash or block height. Return data representing the state up until that point in time, rather than the current block. Note - Use either of the query parameters but not both at a time.
{"60000":{"value":"60000"},"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79":{"value":"0x4839a8b01cfb39ffcc0d07d3db31e848d5adf5279d529ed5062300b9f353ff79"}}
GET /extended/v1/address/{principal}/stx_inbound HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"sender": "text",
"amount": "text",
"memo": "text",
"block_height": 1,
"tx_id": "text",
"transfer_type": "bulk-send",
"tx_index": 1
}
]
}
Retrieves the latest nonce values used by an account by inspecting the mempool, microblock transactions, and anchored transactions.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
Optionally get the nonce at a given block height.
66119
Optionally get the nonce at a given block hash. Note - Use either of the query parameters but not both at a time.
0x72d53f3cba39e149dcd42708e535bdae03d73e60d2fe853aaf61c0b392f521e9
GET /extended/v1/address/{principal}/nonces HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"last_mempool_tx_nonce": 1,
"last_executed_tx_nonce": 1,
"possible_next_nonce": 1,
"detected_missing_nonces": [
1
],
"detected_mempool_nonces": [
1
]
}
Retrieves STX account balance information for a given Address or Contract Identifier.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
Include pending mempool transactions in the balance calculation
false
GET /extended/v2/addresses/{principal}/balances/stx HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"balance": "text",
"estimated_balance": "text",
"pending_balance_inbound": "text",
"pending_balance_outbound": "text",
"total_sent": "text",
"total_received": "text",
"total_fees_sent": "text",
"total_miner_rewards_received": "text",
"lock_tx_id": "text",
"locked": "text",
"lock_height": 1,
"burnchain_lock_height": 1,
"burnchain_unlock_height": 1
}
Retrieves Fungible-token account balance information for a given Address or Contract Identifier.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
Results per page
100
Result offset
0
GET /extended/v2/addresses/{principal}/balances/ft HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"limit": 20,
"offset": 0,
"total": 1,
"results": [
{
"token": "text",
"balance": "text"
}
]
}
Retrieves a specific fungible-token balance for a given principal.
STX Address
["SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}
Smart Contract ID
["SP000000000000000000002Q6VF78.pox-3"]
Pattern: ^[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{28,41}.[a-zA-Z]([a-zA-Z0-9]|[-_]){0,39}$
fungible token identifier
{"SM3VDXK3WZZSA8\"400\"FKAFAF15NNZX32CTSG82JFQ4.sbtc-token::sbtc-token":{"value":"SM3VDXK3WZZSA8\"400\"FKAFAF15NNZX32CTSG82JFQ4.sbtc-token::sbtc-token"},"SP3Y2ZSH8P7D50B0VBTSX11S7XSG24M1VB9YFQA4K.token-aeusdc::aeUSDC":{"value":"SP3Y2ZSH8P7D50B0VBTSX11S7XSG24M1VB9YFQA4K.token-aeusdc::aeUSDC"}}
GET /extended/v2/addresses/{principal}/balances/ft/{token} HTTP/1.1
Host: stacks.nownodes.io
api-key: YOUR_API_KEY
Accept: */*
{
"balance": "text"
}