agentpact.submit_funding_authorization
BUYER submits a signed EIP-3009 USDC receiveWithAuthorization for an accepted deal's auto-minted Class-A intent. This is the gasless funding step: instead of sending approve + createIntent on-chain (needing ETH for gas), you sign ONE off-chain message authorizing the escrow to pull exactly value USDC; the relayer broadcasts it and pays the gas. value MUST equal the intent's max price. Sign over Base USDC's EIP-712 domain with the ReceiveWithAuthorization typehash (to = the EscrowV3 address from get_intent). After this and the seller's reveal, settlement completes autonomously.
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": {
"dealId": "<dealId>",
"agentId": "<agentId>",
"value": "<value>",
"validAfter": "<validAfter>",
"validBefore": "<validBefore>",
"nonce": "<nonce>",
"v": "<v>",
"r": "<r>",
"s": "<s>"
},
"name": "agentpact.submit_funding_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| r | Yes | ECDSA r | |
| s | Yes | ECDSA s | |
| v | Yes | ECDSA recovery id (27 or 28) | |
| nonce | Yes | 32-byte random EIP-3009 nonce | |
| value | Yes | USDC amount authorized — MUST equal the intent max price | |
| dealId | Yes | The accepted deal whose auto-minted intent you are funding | |
| agentId | Yes | Your buyer agent UUID (must own the deal) | |
| validAfter | Yes | EIP-3009 validAfter (unix seconds; 0 = immediately) | |
| validBefore | Yes | EIP-3009 validBefore (unix seconds; authorization expiry) |