API Response
Detailed descriptions of the `create-tx` API response structure.
There are several sections to a create-tx
response. You can see a full, real-world API response example here. They are:
estimation
contains gas and fee-related estimates used in the transaction planning process.
tx
data
is the data that must be signed and submitted. It contains all necessary information to initiate a cross-chain order, including cases involving non-reserve assets. It is either a calldata (for EVM-based chains) or a serialized transaction (for Solana)to
is a destination address for the transaction. Acts as the spender in theapprove
call for ERC-20 tokens. Applicable to EVM source chains only.
prependedOperatingExpenseCost
is the estimated operating cost added to the transaction, adjusted for token decimals. Present only if the request was made withprependOperatingExpenses
enabled.order
is an object containing details required to facilitate the cross-chain trade.approximateFulfillmentDelay
Estimated delay, in seconds, for the order to be fulfilled.
salt
Randomized value used to ensure uniqueness in the order hash.
metadata
Additional contextual information about the order.
orderId
A deterministic identifier for the order. The same ID is used on both source and destination chains and can be used to track order status.
fixFee
Flat fee charged in the source chain's native currency. This matches
tx.value
for EVM-based chains.
userPoints
The number of deBridge points that the user will get for this trade.
integratorPoints
The number of deBridge points that the integrator will get for this trade.
Last updated
Was this helpful?