get_build_tx
Build the transaction body ready for send
Body
channelintegerOptionalExample:
910325
from_addressstringRequiredExample:
0xa5E56D455BF247C475D752721Ba35A0c85Df81Dc
from_chain_namestringRequiredExample:
BaseMainnet
to_addressstringRequiredExample:
0xa5E56D455BF247C475D752721Ba35A0c85Df81Dc
to_chain_namestringRequiredExample:
ScrollMainnet
token_namestringRequiredExample:
USDC
ui_valuestringRequiredExample:
1.2
value_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
Responseall of
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
Last updated
Was this helpful?