Methods
BroadcastTx
Parameters
GetBlockWithTxs
Parameters
request: { height?: string; pagination?: { key?: Uint8Array | undefined; offset?: string | undefined; limit?: string | undefined; countTotal?: boolean | undefined; reverse?: boolean | undefined; } }
Optional height?: string
Optional pagination?: { key?: Uint8Array | undefined; offset?: string | undefined; limit?: string | undefined; countTotal?: boolean | undefined; reverse?: boolean | undefined; }
GetTx
Parameters
request: { hash?: string }
GetTxsEvent
Parameters
request: { events?: string[]; orderBy?: OrderBy; pagination?: { key?: Uint8Array | undefined; offset?: string | undefined; limit?: string | undefined; countTotal?: boolean | undefined; reverse?: boolean | undefined; } }
Optional events?: string[]
Optional orderBy?: OrderBy
Optional pagination?: { key?: Uint8Array | undefined; offset?: string | undefined; limit?: string | undefined; countTotal?: boolean | undefined; reverse?: boolean | undefined; }
Simulate
- Simulate(request: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txBytes?: internal.Uint8Array }, metadata?: BrowserHeaders): internal.Promise<internal.SimulateResponse>
Parameters
request: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txBytes?: internal.Uint8Array }
Optional tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...
Service defines a gRPC service for interacting with transactions.