create_quote_api_payments_ecash_mint_quote_post
Create Quote
Create a Lightning invoice to fund ecash minting (NUT-04).
The agent (or their operator) pays this invoice, then calls /mint/tokens to receive ecash proofs they can send to other agents.
Responses:
200: Successful Response (Success Response) Content-Type: application/json
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": {
"agent_id": "<agent_id>",
"amount_sats": "<amount_sats>"
},
"name": "create_quote_api_payments_ecash_mint_quote_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | ||
| mint_url | No | ||
| amount_sats | Yes |