OptionalcallAction kind of this item: - APPROVE — ERC-20 approval, must be signed/broadcast and confirmed before the main action - DEPOSIT / REDEEM / LP_ADD / LP_REMOVE / CLAIM — the main action. LP_ADD / LP_REMOVE are the LP add / remove legs (the same build path as deposit / redeem for liquidity-pool investments; the kind reflects the on-chain action, not the entry endpoint).
OptionaldataSerialized transaction data, as a 0x-prefixed hex calldata string.
OptionalfromUser wallet address (the signer / sender). EIP-55 checksummed — normalize with to_checksum_address before signing if your signer requires it.
OptionalgasSuggested gas limit (decimal string). null when estimation fails.
OptionalgasLegacy gas price, decimal string. null on EIP-1559 chains such as BSC (use maxFeePerGas / maxPriorityFeePerGas instead).
OptionalmaxEIP-1559 max fee per gas in wei (decimal string). null on non-1559 chains.
OptionalmaxEIP-1559 priority fee in wei (decimal string). null on non-1559 chains.
OptionaltoTarget contract address. EIP-55 checksummed, same format as from. Non-null for currently supported protocols.
OptionalvalueNative-asset value as a 0x-prefixed hex string. Non-null for currently supported protocols.
A single unsigned transaction to sign and broadcast. The
dataListis ordered: APPROVE items precede the main action. EVM chains returnto/value(hex) and hex calldata indata. Number-format conventions for this object —valueis a0x-prefixed hex string;gasLimit,gasPrice,maxPriorityFeePerGas, andmaxFeePerGasare decimal strings. Mixed hex/decimal within the same object is by design (it mirrors the on-chain transaction fields); always parse gas fields with base-10 andvaluewith base-16. EIP-1559 and legacy gas fields: all currently supported chains are EVM. On BSC build responses populatemaxFeePerGasandmaxPriorityFeePerGas;gasPriceisnull. Other supported chains may populate either set — use the 1559 fields when present and fall back togasPricewhen it carries a value. The nullable markers below are retained so the schema also describes legacy-only chains.toandvalueare non-null for currently supported protocols.Export
DefiCallDataItem