submit_swap
Broadcast the wallet-approved, signed build through Kolibrio. This can spend funds.
Requires a Bearer key for the account that built the swap. Only the exact
build_swap message is accepted; the wallet must already have reviewed and
authorized its amounts and costs. Returns the swap ID, signature and current
status; submitted is not confirmation. Repeating the same ID and signed bytes
cannot create a different trade. After a timeout or uncertain delivery, poll
get_swap_status; never automatically build a replacement or change its blockhash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| swap_id | Yes | PumpView id returned by build_swap for this account, not a Solana signature or request_id. | |
| signed_transaction_base64 | Yes | Standard base64 of the complete serialized Solana v0 transaction from this build, after local wallet signing. Preserve the original message and blockhash. Not a signature string, seed, private key or JSON transaction. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | PumpView swap ID (32 lowercase hex characters), passed as swap_id to status and submit tools. | |
| tips | No | Total tip and transfer destinations for wallet review, in lamports. | |
| error | No | Failure information if present. Preserve the swap ID and inspect status before deciding on any new intent. | |
| status | Yes | Lifecycle state: built, submitted, confirmed, finalized, failed, or expired. A send timeout may leave state uncertain; poll this ID. | |
| receipt | No | Actual execution details from confirmed onward; null before confirmation or while RPC transaction metadata is pending. | |
| signature | No | Solana transaction signature, or null before submission. Not interchangeable with the PumpView swap ID. | |
| expires_at | No | Unsigned build expiry as Unix seconds; not proof that a submitted transaction failed. | |
| request_id | No | Original client-generated idempotency key for this intent. | |
| input_amount | No | Exact input amount as a string of integer atomic units. | |
| platform_fee | No | Fee basis points, mint, recipient account and calculation basis. | |
| transaction_base64 | No | Unsigned Solana v0 transaction for local wallet signing; only returned for a build still in built state. | |
| network_fee_lamports | No | Estimated total network fee for the built message, as an integer string. | |
| minimum_output_amount | No | Slippage-protected output threshold in atomic units to review before signing. | |
| expected_output_amount | No | Quoted output in atomic units; execution may differ within the slippage bound. | |
| last_valid_block_height | No | Last block height accepted by the transaction blockhash. |