derive-address-from-pubkey
Convert a public key into a usable Osmosis blockchain address by specifying the address prefix.
Instructions
Derives an address from a public key
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": "derive-address-from-pubkey"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | Yes | Public key in hex format | |
| prefix | No | Address prefix (default: 'osmo') | osmo |