get_coin_records_by_names
Fetch multiple Chia coin records by their 0x-prefixed coin IDs in one batch, with optional filters for spent status and creation height range.
Instructions
Get multiple coin records by their coin IDs. Batch version of get_coin_record_by_name. Optionally filter by spent status and height range.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"names": "<names>"
},
"name": "get_coin_records_by_names"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Array of coin IDs to look up (0x-prefixed, 32 bytes hex each) | |
| end_height | No | Only return coins created before this height | |
| start_height | No | Only return coins created at or after this height | |
| include_spent_coins | No | Include coins that have been spent (default: false) |