Accounts

Get BTTC Balance for a Single Address

Returns the BTTC balance of a given address.

https://api.bttcscan.com/api
   ?module=account
   &action=balance
   &address=0xb4aD1dAFDAc6968B03Ff008f1c50F0d587f76922
   &apikey=YourApiKeyToken

Query Parameters

Get BTTC Balance for Multiple Addresses in a Single Call

Returns the balance of the accounts from a list of addresses.

https://api.bttcscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x7c9ce891349f1344f6bd8d0194414ddcf1285d1b,0xb710d22a4c9bbf25c56541afc4906be052fcee96,0xb4ad1dafdac6968b03ff008f1c50f0d587f76922
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Returns the historical BTTC balance of an address at a certain block height.

https://api.bttcscan.com/api
   ?module=account
   &action=balancehistory
   &address=0x0DB011018728D1B91dDB3C77933a40B9B68C9fa7
   &blockno=2000000
   &apikey=YourApiKeyToken 

Query Parameters

Get a list of 'Normal' Transactions By Address

Returns the list of transactions performed by an address, with optional pagination.

https://api.bttcscan.com/api
   ?module=account
   &action=txlist
   &address=0xb4aD1dAFDAc6968B03Ff008f1c50F0d587f76922
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Internal' Transactions by Address

Returns the list of internal transactions performed by an address, with optional pagination.

https://api.bttcscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0xd656a56be995c29013069996a237c613938d6d3e
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

https://api.bttcscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0x3dffd1861148f6221afcd209fc07152a49a35bced03c5895426df919dee724b9
   &apikey=YourApiKeyToken

Query Parameters

Get "Internal Transactions" by Block Range

Returns the list of internal transactions performed within a block range, with optional pagination.

https://api.bttcscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=22770674
   &endblock=22780674
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'BRC-20 Token Transfer Events' by Address

Returns the list of BRC-20 tokens transferred by an address, with optional filtering by token contract.

https://api.bttcscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0x3dcaab8665906f7c3b2ffcd5dda740f40d4b11bb
   &address=0xb112f16b9d513620133474851c89cbe0e1957cfb
   &page=1
   &offset=5
   &startblock=0
   &endblock=999999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • BRC-20 transfers from an address, specify the address parameter

  • BRC-20 transfers from a contract address, specify the contract address parameter

  • BRC-20 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get a list of 'BRC-721 Token Transfer Events' by Address

Returns the list of BRC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.

https://api.bttcscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0xe2be972f6fcc7b8c38c073b492b355c3009c17ac
   &address=0x65d46fa545ad86a139647351786d17bf46c173dc
   &page=1
   &offset=100
   &startblock=0
   &endblock=999999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • BRC-721 transfers from an address, specify the address parameter

  • BRC-721 transfers from a contract address, specify the contract address parameter

  • BRC-721 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get list of Blocks Validated by Address

Returns the list of blocks validated by an address.

https://api.bttcscan.com/api
   ?module=account
   &action=getminedblocks
   &address=0xd782c11d7f8be621bd726f9241acc0278ae2a4a2
   &blocktype=blocks
   &page=1
   &offset=10
   &apikey=YourApiKeyToken

Query Parameters

Last updated