Skip to main content
POST
Get transaction params for a quote

Authorizations

Authorization
string
header
required

Cognito JWT token for regular user authentication

Path Parameters

quoteId
string
required

The quote ID

Example:

"quote_abc123"

Body

senderAddress
string

Wallet address that will sign the transaction. Required for Solana.

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f2bD18"

feePayer
string

Address that pays transaction fees. Solana only — defaults to senderAddress if omitted.

Example:

"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d"

Response

Response for status 200

EVM transaction parameters

type
enum<string>
required
Available options:
evm
chain
string
required

Blockchain network

Example:

"ethereum"

inputToken
string
required

Token address the user sends (contract address on EVM, mint address on Solana)

Example:

"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"

outputToken
string
required

Token address received by the payment contract. Same as inputToken for direct payments, different for swap paths.

Example:

"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"

requiredTokenInput
string
required

Exact amount of inputToken to send, in smallest unit (e.g. 6 decimals for USDC)

Example:

"100000000"

contractAddress
string
required

Smart contract address — use as the to field when constructing the transaction

Example:

"0xbF7Abc15f00a8C2d6b13A952c58d12b7c194A8D0"

calldata
string
required

ABI-encoded calldata for the contract call

Example:

"0xd71d9632..."

method
string
required

Contract method being called

Example:

"payWithToken"

value
string | null
required

Native token value in wei to send with the transaction (null for ERC-20 payments)

Example:

"0"