Build payment transaction
build_paymentReturns an unsigned Solana transaction (base64) that moves the order price in USDC from your wallet to escrow, with memo dollarr:. Sign it with buyer_wallet, send it, then call confirm_payment. Requires an API key.
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": {
"order_id": "<order_id>",
"buyer_wallet": "<buyer_wallet>"
},
"name": "build_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | ||
| buyer_wallet | Yes | Your Solana address holding USDC; it also pays the network fee |