Account Analysis
Tools for analyzing accounts, balances, and tokens.
getAccountBalance- Get native token balance for an Arbitrum addressParameters:
address: Ethereum address to check balance forblockTag: The optional block number, hash, or tag (e.g., 'latest', 'pending', 'safe', 'finalized', 'earliest') to get the balance for. Defaults to 'latest' if unspecified.
getTokenBalances- Get ERC-20 token balances for an Arbitrum address, optionally filtered by a list of contract addresses.Parameters:
address: The owner address or ENS name to get the token balances forcontractAddresses: Optional list of contract addresses to filter by
getNfts- Get NFTs owned by an address, with options for filtering, pagination, and ordering.Parameters:
owner: The address of the owneroptions: (Optional) Object containing:contractAddresses: Optional list of contract addresses to filter by (Limit 45)omitMetadata: Optional boolean to omit NFT metadata (default: false)excludeFilters: Optional list of filters (SPAM, AIRDROPS) to excludeincludeFilters: Optional list of filters (SPAM, AIRDROPS) to includepageSize: Max NFTs to return (API default 50, max 100)tokenUriTimeoutInMs: Timeout for metadata fetchorderBy: Order by 'TRANSFERTIME'pageKey: Optional page key for pagination
getTransactionHistory- Get transaction history for an Arbitrum address, with options for filtering and pagination.Parameters:
address: The address to check transactions for (used as fromAddress)options: (Optional) Object containing:fromBlock: Start block ("0x0" default)toBlock: End block ("latest" default)toAddress: Recipient filtercontractAddresses: Contract filter (ERC20/721/1155)excludeZeroValue: Exclude zero value transfers (true default)order: 'asc'/'desc' by block number ('asc' default)category: Array of categories (EXTERNAL, INTERNAL, ERC20, ERC721, ERC1155, SPECIALNFT)maxCount: Max results per page (50 default)withMetadata: Include transfer metadata (false default)pageKey: Optional page key for pagination
getNftMetadata- Get metadata for an NFT given its contract address and token ID, with options for caching and token type.Parameters:
contractAddress: NFT contract addresstokenId: Token IDoptions: (Optional) Object containing:tokenType: Specify token type (ERC721, ERC1155, UNKNOWN)tokenUriTimeoutInMs: Timeout for metadata fetchrefreshCache: Refresh metadata before response (false default)
getAccountProtocols- Analyze which smart contracts (protocols) an address interacts with most frequently.Parameters:
address: The address to analyze for protocol interactionsmaxResults: Maximum number of top interacted protocol addresses to return (optional, default: 10)
Last updated