Send basket shares to anyone
stocks_sendFree. Transfer your tokenized stock basket shares to any wallet or another agent; they can hold, sell or forward them, no vault needed. Returns an UNSIGNED transaction {to, data, value, chainId} on Base; nothing happens until you sign it with your own wallet and broadcast it. Liquid never holds keys or funds.
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": {
"vault": "<vault>",
"to": "<to>",
"shares": "<shares>"
},
"name": "stocks_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address. | |
| vault | Yes | Vault whose shares you hold. | |
| shares | Yes | Shares to send (18 decimals). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Contract to call | |
| data | No | Calldata, sign and broadcast as-is | |
| mode | No | permit: sign typedData first | |
| next | No | What to do next | |
| after | No | What to do after it confirms | |
| steps | No | When two transactions are needed (approve, then deposit), sign and send them in order | |
| value | No | Native value, always 0 | |
| chainId | No | Chain id (8453 = Base) | |
| typedData | No | EIP-712 permit to sign off-chain (free, no gas) | |
| attribution | No | ERC-8021 builder attribution suffix info |