Accounts

Get CELO Balance for a Single Address

Returns the CELO balance of a given address.

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=balance
   &address=0xfdd8bd58115ffbf04e47411c1d228ecc45e93075
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get CELO Balance for Multiple Addresses in a Single Call

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

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=balancemulti
   &address=0x05ccfd7a8e3d523878fce2b532aa4e4326709b30,0x43c25991f0f037517d174b7e0ffd8c8ccc471c6b,0x05ccfd7a8e3d523878fce2b532aa4e4326709b30
   &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-alfajores.celoscan.io/api
   ?module=account
   &action=txlist
   &address=0x05ccfD7A8e3D523878fCE2B532aA4E4326709b30
   &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-alfajores.celoscan.io/api
   ?module=account
   &action=txlistinternal
   &address=0xfdd8bd58115ffbf04e47411c1d228ecc45e93075
   &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.

Note : This API endpoint returns a maximum of 10000 records only.

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=txlistinternal
   &txhash=0xfacd88edd672ce7afe2599a989c685a620eb6d5936c42869560572f20df61344
   &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-alfajores.celoscan.io/api
   ?module=account
   &action=txlistinternal
   &startblock=5783806 
   &endblock=5783906 
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'ERC20 - Token Transfer Events' by Address

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

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=tokentx
   &contractaddress=0x0eba4fce2891cfab21587ff4888763fbdc3af9f9
   &address=0x90fb187b30fab67c44c4e6edf64078e4fc149787
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

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

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

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

Query Parameters

Get a list of 'ERC721 - Token Transfer Events' by Address

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

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x3d79edaabc0eab6f08ed885c05fc0b014290d95a
   &address=0x3aef949afef6b00fcf4b4993946cae330cecb2f4
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

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

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

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

Query Parameters

Get list of Blocks Mined by Address

Returns the list of blocks mined by an address.

https://api-alfajores.celoscan.io/api
   ?module=account
   &action=getminedblocks
   &address=0xf764ada197bbaba75cd819942b14872460880d3b
   &blocktype=blocks
   &page=1
   &offset=10
   &apikey=YourApiKeyToken

Query Parameters

Last updated