Skip to main content

Type Alias: DeliverAndExecuteMessageArgs

DeliverAndExecuteMessageArgs: object

The arguments for the deliverAndExecuteMessage function.

Type declaration

destinationChainSelector

destinationChainSelector: bigint

The destination chain selector that the message will be routed to.

fee?

optional fee: bigint

The fee to deliver a message in wei. Defaults to zero if not provided.

message

message: EquitoMessage

The EquitoMessage that will be routed.

messageData

messageData: Hex

The message data in Hex format.

proof

proof: Hex

The message proof in Hex format.

routerContract

routerContract: Hex

The router contract in Hex format.

verifierIndex

verifierIndex: number

The verifier index.

wallet

wallet: Wallet

The Wallet that will be used to write the contract.

Defined in

router/deliver-and-execute-message.ts:8