get_build_tx
Build the transaction body ready for send
Body
channelintegerOptionalExample:
910325from_addressstringRequiredExample:
0xa5E56D455BF247C475D752721Ba35A0c85Df81Dcfrom_chain_namestringRequiredExample:
BaseMainnetto_addressstringRequiredExample:
0xa5E56D455BF247C475D752721Ba35A0c85Df81Dcto_chain_namestringRequiredExample:
ScrollMainnettoken_namestringRequiredExample:
USDCui_valuestringRequiredExample:
1.2value_include_gas_feebooleanOptional
if this value is true, the gas fee will be taken within the ui_value, if this value is false, the returned transaction body will add an extra value to ui_value for gas fee.
Responses
0
Successful response
application/json
901
Chain name not found
902
Chain not supported yet
903
No pair info: Pair not supported
904
Value out of range
905
Token not supported yet
906
Build tx error
post
/get_build_txLast updated
Was this helpful?