Instructions for any required bridging operations
const instructions = await mcAccount.build({
amount: BigInt(1000),
mcToken: mcUSDC,
toChain: base
})
The parameters for the balance requirement
Optional
currentInstructions: Instruction[]Function to build instructions for bridging a token across all deployments
Instructions for any required bridging operations
const instructions = await mcAccount.buildBridgeInstructions({
amount: BigInt(1000),
mcToken: mcUSDC,
toChain: base
})
The parameters for the balance requirement
Function to retrieve the unified ERC20 balance across all deployments
The unified ERC20 balance across all deployments
const balance = await mcAccount.getUnifiedERC20Balance(mcUSDC)
The multichain token to query
Function to query the bridge
The bridge query result
const result = await mcAccount.queryBridge({
amount: BigInt(1000),
mcToken: mcUSDC,
toChain: base
})
The parameters for the bridge query
Function to build instructions for bridging a token across all deployments