Onchain Transaction

1.rollIn

Roll your ETH to cycle

sdk.rollIn(ethersSigner: ethers.Signer, fromChainId: number, receiveAddress: string, amount: string): Promise<ethers.TransactionResponse>;

2.rollOut

Roll your ETH from cycle to other chains

sdk.rollOut(ethersSigner: ethers.Signer, toChainId: number, receiveAddress: string, amount: string): Promise<ethers.TransactionResponse>;

3.rollInMessage

Roll your message to cycle

sdk.rollInMessage(ethersSigner: ethers.Signer, fromChainId: number, receiveAddress: string, message: string): Promise<ethers.TransactionResponse>;

4.rollOutMessage

Roll your message from cycle to other chains

sdk.rollOutMessage(ethersSigner: ethers.Signer, toChainId: number, receiveAddress: string, message: string): Promise<ethers.TransactionResponse>;

5.claimAssets

Claim your assets after being rolled out. The assets rolled in will be claimed automatically.

6.claimMessage

Claim your message after being rolled out. The assets rolled in will be claimed automatically.