Get submitOrder calldata
Returns the TransitStation address, ABI-encoded submitOrder(...) calldata, and ETH value for a cross-chain Transit order.
Authorizations
API key in format: pxl_<public_id>_
Query Parameters
User wallet address that receives the wantAsset on the destination chain.
"0x1234567890abcdef1234567890abcdef12345678"
Amount of offerAsset to send, in token base units (decimal string). Minimum order size is $5 USD. For example, with USDC (6 decimals), the minimum is 5000000 base units.
"50000000"
Asset being offered (debited on the source chain).
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
Asset desired (credited on the destination chain).
"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
EVM chain ID of the destination chain. Server translates this to the destination chain EID.
8453
EVM chain ID of the source chain (where the transaction is submitted).
1
EIP-2612 permit signature (65-byte hex, from the authorize step). Required when permitDeadline is provided.
"0xabc..."
Permit deadline as Unix timestamp. Required when permitSignature is provided.
9999999999
Integrator fee charged on offerAsset in the asset's base units. For example, if the offerAsset is USDC, which has 6 decimals, provide a value of 10000 to charge a fee of $0.01. When provided, integratorFeeReceiver is required.
"10000"
Address to receive the integrator fee. Required when integratorFee is provided.
"0x1234567890abcdef1234567890abcdef12345678"
Optional 32-byte hex code (0x + 64 hex chars) tagging the source of funds. Emitted on-chain with the order. When omitted, uses the organization's default distributor code if one is configured, otherwise defaults to the zero hash.
"0x0000000000000000000000000000000000000000000000000000000000000000"
Controls which fields appear in the transaction response. "encoded" (default): only ABI-encoded calldata. "full": encoded calldata plus ABI fragment, function name, and args. "structured": ABI fragment, function name, and args only (no encoded data).
encoded, full, structured Response
Net amount credited toward the order after fees, in want-asset base units (decimal string). Equals offerAmount - protocolFee and integratorFee, converted to want-asset base units.
"992500"
Protocol fee charged on the order, in offer-asset base units (decimal string).
"2500"
Integrator fee charged on the order, in offer-asset base units (decimal string). "0" when no integrator fee applies.
"5000"
Total fees charged on the order, in offer-asset base units (decimal string). Sum of protocolFee and integratorFee.
"7500"
Estimated time for order fulfillment in milliseconds, based on the asset pair and order volume. Undefined when no SLA data is available for the route.
300000