Actions53
- Account Actions
- Block Actions
- Transaction Actions
- Contract Actions
- ERC20 Actions
- ERC721 Actions
- ERC1155 Actions
- Gas Actions
- Signature Actions
- Utils Actions
- Custom RPC Actions
ERC1155 → Balance Of Batch
AI-generatedSummary
Retrieves the batch balance of multiple token IDs for specified accounts from an ERC1155 contract.
Inputs
- contractAddress (required) — ERC1155 contract address
- accounts (required) — Array of account addresses
- ids (required) — Array of token IDs
Output shape
array of uint256 balance values, one per token ID
Balances are returned in the same order as the token IDs; missing balances are 0; the result is a single array, not a per‑account mapping.
Examples
Example 1: Query balances for token IDs 1 and 2 for two wallets
contractAddress: 0x123..., accounts: ["0xabc", "0xdef"], ids: ["1","2"]