build_payment
Read-only
Build the m2m-split transaction for a quote: the payer's transfer to the payee and the USDC fee transfer to the treasury, in one atomic transaction where the payer pays its own gas. Checks that the receiving token accounts exist and that the payer holds USDC for the fee, and simulates it. Unsigned. Sign it locally with your own Solana key; m2m.monster never sees or uses agents' private keys.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payer | Yes | The payer wallet; it signs and pays the network fee | |
| quote | Yes | The signed quote exactly as returned by quote_payment | |
| max_compute_unit_price | No | Lower priority fee cap in micro-lamports per compute unit |