Child Address Read
Child Address Read
This API provides endpoints for interacting with smart contracts on the blockchain. It allows for reading contract data,
Request Body
The request body should be in raw format and include the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| address | string | Yes | The address of the contract. |
| method | string | Yes | The method to be called on the contract. |
| parameters | array | Yes | An array of parameters to pass to the method. |
| abi | array | Yes | An array containing the ABI of the contract or method. |
POST
Child Address Read
Documentation Index
Fetch the complete documentation index at: https://docs.blockradar.co/llms.txt
Use this file to discover all available pages before exploring further.
Batch Operations
This endpoint supports batch operations, allowing you to read multiple contract methods in a single API call from a specific child address.Batch Request Format
To execute multiple reads, use thecalls array:
Batch Response Format
Batch responses includesuccess and errors arrays:
Validation Rules
| Rule | Value |
|---|---|
| Max batch size | 20 operations |
| Min batch size | 1 operation |
Use Cases
- Bulk reads: Read multiple contract states efficiently
- Multi-asset balances: Query balances across multiple assets in one call
- Protocol state: Read multiple protocol parameters simultaneously
Authorizations
Path Parameters
Example:
"YOUR_WALLET_ID"
Example:
"ADDRESS_ID"
Body
application/json
Example:
[
{
"abi": [
{
"constant": true,
"inputs": [{ "name": "account", "type": "address" }],
"name": "balanceOf",
"outputs": [{ "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
}
],
"address": "0x337610d27c682E347C9cD60BD4b3b107C9d34dDd",
"method": "balanceOf",
"parameters": [
"0x947514e4B803e312C312da0F1B41fEDdbe15ae7a"
]
},
{
"abi": [
{
"constant": true,
"inputs": [
{ "name": "owner", "type": "address" },
{ "name": "spender", "type": "address" }
],
"name": "allowance",
"outputs": [{ "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
}
],
"address": "0x337610d27c682E347C9cD60BD4b3b107C9d34dDd",
"method": "allowance",
"parameters": [
"0x947514e4B803e312C312da0F1B41fEDdbe15ae7a",
"0xSpenderAddress"
]
}
]
