bigint_to_bytes
Convert BigInt values to byte arrays for Algorand blockchain operations, handling network-specific encoding requirements.
Instructions
Convert a BigInt to bytes
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": {
"value": "<value>",
"size": "<size>"
},
"name": "bigint_to_bytes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | BigInt value as a string to convert to bytes | |
| size | Yes | Size of the resulting byte array | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |