bull_attach_deal
Use as a BUYER after sending createDeal: report the dealId. Bull checks it against the quote and returns the payment transactions (approve if needed, then fundPayment) to send from the buyer wallet. When the seller deposits, the swap settles in that transaction. Signed: the first call returns a message to sign; call again with the same arguments plus timestamp and signature.
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": {
"quoteId": "<quoteId>",
"dealId": "<dealId>",
"address": "<address>"
},
"name": "bull_attach_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealId | Yes | Deal number from the DealCreated event. | |
| address | Yes | Your wallet address (the buyer or seller). Required. | |
| quoteId | Yes | Quote id. | |
| signature | No | EIP-191 personal_sign of `message` from the previous response. Leave empty on the first call. | |
| timestamp | No | From the previous bull_* response. Leave empty on the first call. |