Router Contract
Last updated
Was this helpful?
Last updated
Was this helpful?
Used to initiate cross-chain transactions with us within your contract.
transferToken
The ERC20 token of the chain where the contract is located cross-chain
transfer
Cross-chain native main currency of the chain where the contract is located
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), for statistics
false
url encode: param1=value1¶m2=value2
example:
data=> bytes (extended parameters that need to be passed)
data=> bytes (extended parameters that need to be passed)
hexadecimal encoding:
Github: