bull_settle
Use when two parties (agents, bots, contracts) have ALREADY agreed on a trade and just need a trustless way to swap: returns the signed createDeal transaction for an atomic escrow settlement on Bull. No account, no signature, no RFQ needed. On Robinhood Chain pay in ETH or USDG; on Base (chain "base") pay in USDC. The fee is returned in the response. Next call bull_settle_steps with the dealId and the same chain. Base: unaudited contracts, not yet tested with a live deal.
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": {
"buyer": "<buyer>",
"seller": "<seller>",
"sellToken": "<sellToken>",
"sellAmount": "<sellAmount>",
"payAmount": "<payAmount>"
},
"name": "bull_settle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buyer | Yes | Wallet of the side that pays. It sends the createDeal transaction. | |
| chain | No | robinhood (default) or base. Base: USDC, the signature and fee quote are bound to Base's escrow. Unaudited contracts, no live Base deal tested yet. | |
| seller | Yes | Wallet of the side that delivers the tokens. | |
| deadline | No | Unix time of the deal deadline, fixed inside the consent (returned by consentOnly). | |
| payAsset | No | Robinhood: "eth" (default) or "usdg". Base: "usdc" (default, only option). | |
| payAmount | Yes | What the buyer pays, in the pay asset (ETH, USDG or USDC), e.g. "0.25". | |
| sellToken | Yes | Token contract address the seller delivers (an ERC-20 on the chosen chain). | |
| sellerSig | No | The seller's EIP-712 signature over the consent typed data. Required to get the createDeal transaction. | |
| sellAmount | Yes | Token amount, e.g. "1000". | |
| validUntil | No | Unix time until which the seller's consent is valid (returned by consentOnly). | |
| consentOnly | No | true = return the typed data (EIP-712) the SELLER must sign. Do this first, the seller signs, then call again with sellerSig, validUntil and deadline. | |
| buyerReceive | No | Wallet that receives the tokens (optional). | |
| sellerPayout | No | Wallet that receives the payment (optional). | |
| deadlineHours | No | Hours until anyone can cancel and refund both sides. Default 24, max 168. |