solknife_ct_transfer_build
Build the 5-tx Transfer saga. Agent supplies equality (320 B) + validity-3H (544 B) + range U128 (1000 B) proofs + auditor lo/hi ciphertexts (64 B each) + new AES decryptable (36 B), plus the three ephemeral ctx-state pubkeys.
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": {
"owner": "<owner>",
"mint": "<mint>",
"destinationTokenAccount": "<destinationTokenAccount>",
"equalityContextAccount": "<equalityContextAccount>",
"validityContextAccount": "<validityContextAccount>",
"rangeContextAccount": "<rangeContextAccount>",
"equalityProof": "<equalityProof>",
"validityProof": "<validityProof>",
"rangeProof": "<rangeProof>",
"newSourceDecryptableAvailable": "<newSourceDecryptableAvailable>",
"auditorCiphertextLo": "<auditorCiphertextLo>",
"auditorCiphertextHi": "<auditorCiphertextHi>"
},
"name": "solknife_ct_transfer_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | A Solana address in base58, 32-44 chars. | |
| owner | Yes | A Solana address in base58, 32-44 chars. | |
| rangeProof | Yes | Base64 of the range proof from your ZK worker. | |
| equalityProof | Yes | Base64 of the ciphertext-commitment equality proof from your ZK worker. | |
| validityProof | Yes | Base64 of the batched ciphertext-validity proof from your ZK worker. | |
| auditorCiphertextHi | Yes | Base64 of the high 32 bytes of the auditor ElGamal ciphertext. | |
| auditorCiphertextLo | Yes | Base64 of the low 32 bytes of the auditor ElGamal ciphertext. | |
| rangeContextAccount | Yes | A Solana address in base58, 32-44 chars. | |
| equalityContextAccount | Yes | A Solana address in base58, 32-44 chars. | |
| validityContextAccount | Yes | A Solana address in base58, 32-44 chars. | |
| destinationTokenAccount | Yes | A Solana address in base58, 32-44 chars. | |
| newSourceDecryptableAvailable | Yes | Base64 of the 36-byte AES-encrypted post-transfer source balance your worker computed. |