transactions_create_offramp
Creates a proposal to off-ramp USDC or EURC to an org bank account via Bridge, specifying the fiat amount the bank receives. Returns the fee, token amount sent, and a signUrl.
Instructions
Create a proposal that off-ramps USDC or EURC to one of the org's bank accounts through Bridge. Pick the bank with offramp external-accounts; it sets the chain, token, and recipient. Specify amount as the fiat the bank receives (minimum 10); the proposal sends that plus the off-ramp fee, and returns both the fee and the token amount sent. If the account holds the token in Earn or holds another token, pass --source-token to pay with it in the same proposal. Requires an owner-scoped API key for an org owner. Returns the proposal with the fee, the token amount sent, and a signUrl.
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": {
"account": "<account>",
"externalAccountId": "<externalAccountId>",
"amount": "<amount>"
},
"name": "transactions_create_offramp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo for the transaction (max 500 chars) | |
| amount | Yes | The fiat amount the bank receives, in its currency (e.g. '100' for $100 or €100). Minimum 10 | |
| account | Yes | The smart account address to create the proposal from (0x-prefixed, 40 hex chars) | |
| property | No | String key/value overlays for properties; repeatable. Splits on the first '='. Example: --property invoice=INV-42 | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| properties | No | Optional custom JSON metadata. Total minified ≤ 500 chars. Used as the base; any --property overlays are applied on top. To load from a file, use shell substitution: --properties "$(cat props.json)" | |
| sourceToken | No | Optional token to pay with, like "Pay with" in the web app. Defaults to the bank account's token, a direct transfer. Any other token the account holds is swapped, or bridged when --source-chain-id differs. An Earn token pays from that Earn position | |
| sourceChainId | No | Optional chain of --source-token. Defaults to the bank account's chain. A different chain bridges the payment and requires --source-token | |
| externalAccountId | Yes | The bank account id, from `offramp external-accounts` |