Get deposit signing data
Get the calldata and contract address needed for an onchain deposit.
Usage notes
- First call Estimate deposit fees, pass
native_feeunchanged, and convertlz_feeto an integer using six USDT decimal places. - A first successful call may bind the user’s Perp account; repeat calls do not bind it again. Use the returned
contract_addressanddatato build the onchain transaction. x-perp-device-typeis required and accepts only1,2, or3.
Authorizations
Broker API Key
Unix timestamp in seconds
Hexadecimal HMAC-SHA512 signature generated with the Broker Secret Key
Headers
Target user's wallet address. The gateway verifies that the user belongs to the current Broker.
DexBuilder device type: 1 Android, 2 iOS, 3 WEB. A missing or invalid value returns INVALID_DEVICE_TYPE. Required only on the platform endpoints that specify this header.
1, 2, 3 Body
Bound user wallet; must match X-User-Wallet-Address
Network identifier: base, bsc, ethereum, solana, or arbitrum.
base, bsc, ethereum, solana, arbitrum "ethereum"
Token contract address
Deposit amount as a decimal string
Token symbol
native_fee from POST /deposit/fee, in the chain's smallest native unit as int64
From POST /deposit/fee: convert the USDT decimal lz_fee to int64 with six decimal places (for example, 0.5 to 500000); pass native_fee unchanged as int64