Credit top-up message
agentgas_credit_messageFree. Returns the exact EIP-191 message to sign with the payer wallet to spend prepaid credit on a top-up (no x402 payment). Then POST /v1/gas {credit:{message,signature}}. Credit: start with a 0.09 USDC pack (fits the $0.10 x402 cap, 0.099 credit) or 5/10/20 USDC packs, all with +10% bonus, at /v1/credit?pack=0.09.
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": {
"payer": "<payer>",
"chain": "<chain>"
},
"name": "agentgas_credit_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| usd | No | ||
| chain | Yes | Destination chain for the native gas | |
| payer | Yes | ||
| amount | No |