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"required

The version.

actionstringrequired

One of transfer, swap, approve, revoke, memo, none.

paramsobjectrequired

The action's parameters. Every action except none has it.

reasonstring, 1 to 280 charactersrequired

Why the agent wants this. Stored in the record. No rule reads it. Every action except none has it.

replystring, 1 to 2000 characters

Only 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

TypeForm
addressA base58 string of 32 to 44 characters.
amountA 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 unitsAn 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.toaddressrequired

The recipient's wallet address. For a token this is the owner of the receiving account, not a token account.

params.amountamountrequired

How much, in SOL or in the token's units.

json
{
  "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:

json
{
  "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_mintaddressrequired

The mint to buy.

params.amountamountrequired

How much of from to sell.

params.max_slippage_bpsinteger, 1 to 5000required

The most the price may move against the swap, in hundredths of a percent.

json
{
  "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.mintaddressrequired

The token.

params.delegateaddressrequired

Who may spend it.

params.amountbase units or "unlimited"required

The most the delegate may spend, in the mint's base units. "unlimited" compiles to the largest u64.

json
{
  "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.mintaddressrequired

The token.

json
{
  "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 charactersrequired

The text.

json
{
  "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 charactersrequired

What the agent says.

json
{
  "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:

json
{
  "rule": "schema",
  "result": "fail",
  "detail": "params.amount: Must be a decimal string in UI units.; Unrecognized key: \"memo\""
}