x402_p2p_accept
Accept a peer-to-peer offer on Algorand by creating a two-transaction group that pays the maker the specified amount in ALGO, ready for signing.
Instructions
PAID $0.01 USDC — p2p/accept: 2-txn group: [pay ALGO->app, appl accept_offer_algo(uint64 offerId, pay)] with offer box ref, fee 0.005 ALGO. Sign with your own wallet, then call the submit tool.
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": {
"sender": "<sender>",
"offerId": "<offerId>",
"payAmount": "<payAmount>"
},
"name": "x402_p2p_accept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | Yes | address | |
| offerId | Yes | uint64 | |
| payAmount | Yes | uint64 ALGO base units to pay the maker |