hedera_prng
Generate a pseudo-random number on Hedera using native on-chain RNG, with optional range bound [0, range). Builds unsigned transactions for AI agents.
Instructions
Build (unsigned) a pseudo-random number generation transaction (native on-chain RNG). Optionally bound to [0, range).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "hedera_prng"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | If set, result is a uint in [0, range) | |
| payerAccountId | No |