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). Must meet the route's minOrderSize (see GET /v1/transit/routes).
"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.
4663
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"
Total protocol fee charged on the order, in offer-asset base units, as a string.
"5000"
Part of the protocol fee – this is an estimation of the transfer cost we pay after conversion to deliver funds to the end user, in offer-asset base units.
"2500"
Part of the protocol fee - the conversion rate fee we charge to convert the offer asset into the want asset, in offer-asset base units.
"2500"
Rate applied to offer amount to get the conversionRateFee in hundredths of bps. For example, a value of 500 represents a 5 bip fee rate, or 0.05%.
500
Integrator fee charged on the order, in offer-asset base units. "0" when no integrator fee applies.
"0"
Total fees charged on the order, in offer-asset base units. 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