Skip to main content
GET
/
v1
/
transit
/
orders
/
data
Get submitOrder calldata
curl --request GET \
  --url https://api.paxoslabs.com/v1/transit/orders/data \
  --header 'x-api-key: <api-key>'
{
  "transaction": {
    "to": "0xabcdef1234567890abcdef1234567890abcdef12",
    "data": "0x47e7ef24...",
    "value": "0"
  }
}

Authorizations

x-api-key
string
header
required

API key in format: pxl_<public_id>_

Query Parameters

userAddress
string
required

User wallet address — signs and submits the submitOrder transaction.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

offerAmount
string
required

Amount of offerAsset to send, in token base units (decimal string).

Example:

"1000000"

offerAsset
string
required

Asset being offered (debited on the source chain).

Example:

"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"

wantAsset
string
required

Asset desired (credited on the destination chain).

Example:

"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"

destinationChainId
number
required

EVM chain ID of the destination chain. Server translates this to the destination chain EID.

Example:

8453

sourceChainId
number
required

EVM chain ID of the source chain (where the transaction is submitted).

Example:

1

permitSignature
string

EIP-2612 permit signature (65-byte hex, from the authorize step). Required when permitDeadline is provided.

Example:

"0xabc..."

permitDeadline
number

Permit deadline as Unix timestamp. Required when permitSignature is provided.

Example:

9999999999

integratorFee
string

Integrator fee in token base units. When provided, integratorFeeReceiver is required.

Example:

"1000"

integratorFeeReceiver
string

Address to receive the integrator fee. Required when integratorFee is provided.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

responseFormat
enum<string>

Controls response fields. Currently only "encoded" is supported; reserved for future parity with /v2/amplify/deposit.

Available options:
encoded

Response

transaction
object
required