Send a transaction (testnet, opt-in)
zenith_sendSend ZTH, ERC-20 tokens, or contract calls on Zenith testnet after a mandatory Gateway preflight and simulation. Blocked or unapproved sends are refused until you confirm.
Instructions
Sends ZTH, an ERC-20 transfer or a contract call on Zenith testnet. For a transfer to a Canton party, set gatewayPartyId (with token and amount): the full Gateway preflight runs first and blocked sends are refused. Plain sends to a Gateway inbox are refused so the checks cannot be skipped. Without confirm it only simulates.
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": "zenith_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient or contract address | |
| args | No | ||
| token | No | ERC-20 to transfer (symbol or address) | |
| amount | No | Token amount (whole tokens) | |
| confirm | No | Set true only after the user approved the simulated plan | |
| function | No | Function signature for a contract call, e.g. "increment()" | |
| valueZth | No | Native ZTH to send, e.g. "0.1" | |
| gatewayPartyId | No | Send to this Canton party through Gateway |