Accounts

Get POL Balance for a Single Address

Returns the POL balance of a given address.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=balance
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817
   &apikey=YourApiKeyToken

Query Parameters

Get POL Balance for Multiple Addresses in a Single Call

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

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817,0x21C7360b49D0Fc1Af267203E659f71DF2234cffb,0x16F6409ED185a03e3784738AC9c87456f3E13D41
   &tag=latest
   &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-amoy.polygonscan.com/api
   ?module=account
   &action=txlist
   &address=0x54d03EC0C462e9a01F77579C090cdE0FC2617817
   &startblock=0
   &endblock=latest
   &page=1
   &offset=2
   &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-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0x55358DA2E6cA71DB2f2439b8E2899B85D78B34Ad
   &startblock=0
   &endblock=latest
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0xba6984ebd71532f1afcd137de3ed639adae63e246845fc42ad03d8b516465b05
   &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-amoy.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=5916849
   &endblock=5916850
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

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

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

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582
   &address=0xfDc9cD3D0a9270d0EdFEc7954CAb52111A1001cc
   &page=1
   &offset=2
   &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 'ERC-721 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-amoy.polygonscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0xd6f9e7defa52ac67cdfd6a9a352ce6e0a9684b0a
   &address=0xbb282ced765a2a2573747f04101cabd2adab8f45
   &page=1
   &offset=100
   &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 Validated by Address

Returns the list of blocks validated by an address.

https://api-amoy.polygonscan.com/api
   ?module=account
   &action=getminedblocks
   &address=0x4AD84f7014B7b44F723F284a85B1662337971439
   &blocktype=blocks
   &page=1
   &offset=2
   &apikey=YourApiKeyToken

Query Parameters

Last updated