Accounts

Get DEV Balance for a Single Address

Returns the DEV balance of a given address.

https://api-moonbase.moonscan.io/api
   ?module=account
   &action=balance
   &address=0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get DEV Balance for Multiple Addresses in a Single Call

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

https://api-moonbase.moonscan.io/api
   ?module=account
   &action=balancemulti
   &address=0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0,0x1038F9E41836b3E8BBD3416fbdbE9836F1EA83C5,0x37824eA65394388D92f6EBd3b1186c463c0CdCdb
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=txlist
   &address=0x1038F9E41836b3E8BBD3416fbdbE9836F1EA83C5
   &startblock=0
   &endblock=latest
   &page=1
   &offset=3
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=txlistinternal
   &address=0xC6EF8A96F20d50E347eD9a1C84142D02b1EFedc0
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=txlistinternal
   &txhash=0x018dda82848625526436b5d188fe644d046df3b8ace3ede4db3033806b944f73
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=txlistinternal
   &startblock=484887
   &endblock=765371
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=tokentx
   &contractaddress=0xa36085F69e2889c224210F603D836748e7dC0088
   &address=0xfe2882ac0a337a976aa73023c2a2a917f57ba2ed
   &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-moonbase.moonscan.io/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x9f9Eef8078091429D302B07fcFA78305f2F6447A
   &address=0x05105f30b68bf028bedd12856aa8e605a4ca5e08
   &page=1
   &offset=100
   &startblock=0
   &endblock=latest
   &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 Collated by Address

Returns the list of blocks collated by an address.

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

Query Parameters

Last updated