encode_address
Convert a hexadecimal public key into a valid Algorand address for mainnet, testnet, or localnet networks.
Instructions
Encode a public key to an Algorand address
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": {
"publicKey": "<publicKey>"
},
"name": "encode_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | Public key in hexadecimal format to encode into an address | |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |