encode_obj
Convert objects to msgpack format for Algorand blockchain transactions, supporting mainnet, testnet, and localnet networks with configurable pagination.
Instructions
Encode an object to msgpack format
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": {
"obj": "<obj>"
},
"name": "encode_obj"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj | Yes | Object to encode | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |