Reference
TIS v1
The Transaction Intent: every action and field.
A Transaction Intent is one JSON object that names one action. It is the only thing an agent sends. This page lists every field of version 1.
Shape
tis"1"requiredThe version.
actionstringrequiredOne of
transfer,swap,approve,revoke,memo,none.paramsobjectrequiredThe action's parameters. Every action except
nonehas it.reasonstring, 1 to 280 charactersrequiredWhy the agent wants this. Stored in the record. No rule reads it. Every action except
nonehas it.replystring, 1 to 2000 charactersOnly on
none, where it is required.
The object is strict at both levels: a key this page does not list fails the schema rule.
Types
| Type | Form |
|---|---|
| address | A base58 string of 32 to 44 characters. |
| amount | A decimal string in the asset's own units, greater than zero: "0.5", "20". No sign, no exponent, no unit. At most as many decimals as the asset has (9 for SOL), and the value in base units fits a u64. |
| base units | An integer string from "1" to "18446744073709551615". |
transfer
Sends SOL or an SPL token from the agent wallet.
params.asset"SOL" or addressrequired"SOL", or the mint of the token.params.toaddressrequiredThe recipient's wallet address. For a token this is the owner of the receiving account, not a token account.
params.amountamountrequiredHow much, in SOL or in the token's units.
{
"tis": "1",
"action": "transfer",
"params": {
"asset": "SOL",
"to": "CvaC1sSWgsG9UZT3fU8R2TRhrFcpxa1d2mR6pU3mTdgv",
"amount": "0.5"
},
"reason": "User asked to pay Maya 0.5 SOL for design work."
}For SOL it compiles to a System transfer. For a token it compiles to an idempotent create of the recipient's associated token account, then a TransferChecked from the agent wallet's associated token account:
{
"tis": "1",
"action": "transfer",
"params": {
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"to": "Ab1XnH9iBX4oMEGnEwtK5nreu8HZ6ucCNbQxty7YmTTp",
"amount": "20"
},
"reason": "User asked to pay the vendor 20 USDC."
}swap
Swaps an exact input amount through Jupiter v6.
params.from"SOL" or addressrequired"SOL", or the mint of the token to sell.params.to_mintaddressrequiredThe mint to buy.
params.amountamountrequiredHow much of
fromto sell.params.max_slippage_bpsinteger, 1 to 5000requiredThe most the price may move against the swap, in hundredths of a percent.
{
"tis": "1",
"action": "swap",
"params": {
"from": "SOL",
"to_mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "1",
"max_slippage_bps": 50
},
"reason": "User asked to swap 1 SOL to USDC at up to 50 bps slippage."
}It compiles to the route's setup instructions, one Jupiter route instruction and its cleanup instructions, over the route's lookup tables. A swap for which no route is found is recorded as a schema failure.
Jupiter v6 is not on the default allowlist. Under the default policy this intent is denied by program_allowlist, and allowed once the owner adds the program.
approve
Lets a delegate spend a token from the agent wallet's associated token account.
params.mintaddressrequiredThe token.
params.delegateaddressrequiredWho may spend it.
params.amountbase units or "unlimited"requiredThe most the delegate may spend, in the mint's base units.
"unlimited"compiles to the largest u64.
{
"tis": "1",
"action": "approve",
"params": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"delegate": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"amount": "unlimited"
},
"reason": "User asked for an unlimited USDC approval to Jupiter."
}It compiles to one ApproveChecked. The no_unlimited_approval rule reads it.
revoke
Removes the delegate from the agent wallet's associated token account for a mint.
params.mintaddressrequiredThe token.
{
"tis": "1",
"action": "revoke",
"params": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
},
"reason": "The subscription ended."
}It compiles to one Revoke.
memo
Writes text on chain through the Memo program, signed by the agent wallet.
params.textstring, 1 to 256 charactersrequiredThe text.
{
"tis": "1",
"action": "memo",
"params": {
"text": "gm from my agent"
},
"reason": "User asked to post a memo onchain."
}Memo is not on the default allowlist.
none
A reply with nothing to sign: an answer to a question, or the agent declining. It has no params and no reason.
replystring, 1 to 2000 charactersrequiredWhat the agent says.
{
"tis": "1",
"action": "none",
"reply": "I can't. I never hold the key, and the only thing I can output is a transaction intent. Export the key from the signer itself."
}A none intent is not compiled and gets no record. POST /v1/intents answers it with pdr: null and the reply.
An intent that fails the schema
An invalid intent is not an HTTP error. It is recorded and denied, and the schema check lists each problem. This one has an amount with a unit in it and a key the schema does not have:
{
"rule": "schema",
"result": "fail",
"detail": "params.amount: Must be a decimal string in UI units.; Unrecognized key: \"memo\""
}