keeta_builder_execute
Execute batched blockchain operations using the Builder pattern to optimize on-chain transactions, then optionally compute and publish blocks.
Instructions
Execute a sequence of operations using the UserClient Builder pattern, then optionally compute and publish.
The builder batches multiple operations into blocks for efficient on-chain execution. Each operation in the "operations" array is an object with "method" and "args".
Use keeta_list_sdk_methods with target "Builder" to discover available methods.
Common builder methods: send, setInfo, modifyTokenSupply, modifyTokenBalance, computeBlocks, receive.
The tool will:
Create a UserClient and initialize a builder
Call each operation in sequence
If autoPublish is true (default): call computeBlocks() then publish()
Return all computed block hashes
Example operations: [ { "method": "setInfo", "args": [{ "name": "TKNA", "description": "My Token" }], "options": { "account": "keeta_..." } }, { "method": "modifyTokenSupply", "args": ["BIGINT:50000000000"], "options": { "account": "keeta_..." } }, { "method": "send", "args": ["keeta_recipient...", "BIGINT:1000000", "keeta_token..."] } ]
Arguments are auto-resolved (see keeta_client_execute for resolution rules). The "options" field in each operation is passed as the last argument (common for { account: tokenAddress }).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | Network to use | |
| seed | Yes | Seed of the account | |
| accountIndex | No | Account derivation index | |
| operations | Yes | Sequence of builder operations | |
| autoPublish | No | Automatically compute and publish blocks after all operations |