Migrator API
API for Migration calls.
Last updated
Was this helpful?
API for Migration calls.
Last updated
Was this helpful?
After receiving the calldata
from the /migrate/forward-calldata
, it needs to be signed by the signer for different approvals.
To do that, you will need to get each item in the forwardCallDataReponse
signed by the signer and then passed as trxList
and the txnIndexes
with it. Learn how to do this here.
After receiving the calldata
from the /migrate/gasless-calldata
, it needs to be signed by the signer for different approvals.
To do that, you will need to get each item in the forwardCallDataReponse
signed by the signer and then passed as trxList
and the txnIndexes
with it. Learn how to do this here.
To get the token balances of an address on a specific chain.
The address for which the balances are to be fetched
"0x98150396C356C55a848B2baBA6aC7614615a595b"
The chain id for which the balances are to be fetched
"1"
If true, only the balances are returned else additional information is also returned
false
Successful Response
200
"Success"
To generate the forward calldata for migration.
The chain id for which the forward calldata is to be generated
"137"
The owner of the tokens
"0x98150396C356C55a848B2baBA6aC7614615a595b"
The receiver address for the tokens
"0x98150396C356C55a848B2baBA6aC7614615a595b"
The list of tokens to be migrated
Successful Response
To execute the forward calldata for migration.
Successful Response
To generate the gasless calldata for migration.
Successful Response
To execute the gasless calldata for migration.
Successful Response
To generate the non-gasless calldata for migration.
Successful Response