Options
All
  • Public
  • Public/Protected
  • All
Menu

This class is used to broadcast transactions using the WalletStrategy as a handler for the sign/broadcast flow of the transactions

Mainly used for building UI products

Hierarchy

  • MsgBroadcaster

Index

Constructors

Properties

chainId: ChainId
endpoints: NetworkEndpoints
ethereumChainId?: EthereumChainId

Used to interact with the Web3Gateway service to provide feeDelegation support for executing transactions

Methods

  • fetchFeePayerPubKey(existingFeePayerPubKey?: string): Promise<string>
  • simulate(__namedParameters: { txClient: TxGrpcApi | TxRestApi; txRaw: TxRaw }): Promise<{ gasInfo: { gasUsed: number; gasWanted: number }; result: { data: string | Uint8Array; events?: Event[]; eventsList: Event[]; log: string } } | { gasInfo: { gasUsed: number; gasWanted: number }; result: { data: string; eventsList: { attributes: { key: string; value: string }[]; type: string }[]; log: string } }>
  • Parameters

    Returns Promise<{ gasInfo: { gasUsed: number; gasWanted: number }; result: { data: string | Uint8Array; events?: Event[]; eventsList: Event[]; log: string } } | { gasInfo: { gasUsed: number; gasWanted: number }; result: { data: string; eventsList: { attributes: { key: string; value: string }[]; type: string }[]; log: string } }>

Generated using TypeDoc