Orbiter Router
Last updated
Was this helpful?
Last updated
Was this helpful?
Initiate Orbiter Maker cross-chain transaction
transferToken
The ERC20 token of the chain where the contract is located cross-chain
parameter
token=> ERC20 contract address (if not approved, you need to approve it first)
to=>address (pass Orbiter Maker address)
value=>uint (quantity)
data=> bytes (extended parameters that need to be passed, see below for details)Introduction to Data extended parameters)
transfer
Cross-chain native main currency of the chain where the contract is located
parameter
to => address (pass Orbiter Maker address)
data=> bytes (extended parameters that need to be passed, see below for details)Introduction to Data extended parameters)
Parameter format
// Parameter text
t=0x069A775eF31FaE8311B2EE2024243C9F1eE46E63f98A7DCAF3D077C951f5174b
// The hexadecimal encoding is passed into the contract
743D30783036394137373565463331466145383331314232454532303234323433433946316545343645363366393841374443414633443037374339353 1663531373462
// Parameter text
c=9002&t=0xEFc6089224068b20197156A91D50132b2A47b908
// The hexadecimal encoding is passed into the contract
633d3930303226743d307845466336303839323234303638623230313937313536413931443530313332623241343762393038
Supported parameter list
name
desc
default
required
c
Security code, vc parameter obtained through routers interface, if the amount has a mantissa, it does not need to be passed here.
false
t
Target link receiving address (can be passed when ToStarknet and cross-address)
false
app
Your dapp name(short name), required for statistics
false
https://sepolia.starkscan.co/tx/0x4e64431da3a475ea77e87adf2d1709f56a2782389039e93596a497e5ce2df7a
hex code