midnight_transfer_tokens
Transfer tDUST tokens to any recipient address on the Midnight Network. Choose between standard public transfers or shielded private transfers using zero-knowledge proofs.
Instructions
Transfer tDUST tokens to another address.
Transfer Types:
Standard: Public transfer visible on-chain
Shielded: Private transfer using ZK proofs
Requirements:
Wallet with sufficient balance
Network connectivity
Gas for transaction fees
Fees:
Standard transfer: ~0.001 tDUST
Shielded transfer: ~0.005 tDUST (proof generation)
Security: Use MIDNIGHT_WALLET_SEED environment variable.
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": "midnight_transfer_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient address | |
| amount | No | Amount of tDUST to transfer | |
| network | No | Target network | |
| memo | No | ||
| shielded | No | Use shielded (private) transfer |