Options
All
  • Public
  • Public/Protected
  • All
Menu

Module lib/proto/cosmos/base/abci/v1beta1/abci

Index

Type aliases

DeepPartial

DeepPartial<T>: T extends Builtin ? T : T extends infer U[] ? DeepPartial<U>[] : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {[ K in keyof T]: DeepPartial<T[K]> } : Partial<T>

Type parameters

  • T

Variables

ABCIMessageLog

ABCIMessageLog: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Attribute

Attribute: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

GasInfo

GasInfo: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgData

MsgData: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Result

Result: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): Result
  • encode: function
    • encode(message: Result, writer?: Writer): Writer
  • fromJSON: function
    • fromJSON(object: any): Result
  • fromPartial: function
    • fromPartial(object: { data?: Uint8Array; events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[]; log?: string }): Result
    • Parameters

      • object: { data?: Uint8Array; events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[]; log?: string }
        • Optional data?: Uint8Array

          Data is any data returned from message or handler execution. It MUST be length prefixed in order to separate data from multiple message executions.

        • Optional events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[]

          Events contains a slice of Event objects that were emitted during message or handler execution.

        • Optional log?: string

          Log contains the log information from message or handler execution.

      Returns Result

  • toJSON: function
    • toJSON(message: Result): unknown

SearchTxsResult

SearchTxsResult: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
  • encode: function
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { count?: number; limit?: number; pageNumber?: number; pageTotal?: number; totalCount?: number; txs?: { height?: number | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 4 more ...; timestamp?: string | undefined; }[] }): SearchTxsResult
    • Parameters

      • object: { count?: number; limit?: number; pageNumber?: number; pageTotal?: number; totalCount?: number; txs?: { height?: number | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 4 more ...; timestamp?: string | undefined; }[] }
        • Optional count?: number

          Count of txs in current page

        • Optional limit?: number

          Max count txs per page

        • Optional pageNumber?: number

          Index of current page, start from 1

        • Optional pageTotal?: number

          Count of total pages

        • Optional totalCount?: number

          Count of all txs

        • Optional txs?: { height?: number | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 4 more ...; timestamp?: string | undefined; }[]

          List of txs in current page

      Returns SearchTxsResult

  • toJSON: function

SimulationResponse

SimulationResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

StringEvent

StringEvent: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

TxMsgData

TxMsgData: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

TxResponse

TxResponse: { decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • decode: function
    • decode(input: Uint8Array | Reader, length?: number): TxResponse
  • encode: function
    • encode(message: TxResponse, writer?: Writer): Writer
  • fromJSON: function
  • fromPartial: function
    • fromPartial(object: { code?: number; codespace?: string; data?: string; gasUsed?: number; gasWanted?: number; height?: number; info?: string; logs?: { msgIndex?: number | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: string | undefined; value?: string | undefined; }[] | undefined; }[] | undefined; }[]; rawLog?: string; timestamp?: string; tx?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; txhash?: string }): TxResponse
    • Parameters

      • object: { code?: number; codespace?: string; data?: string; gasUsed?: number; gasWanted?: number; height?: number; info?: string; logs?: { msgIndex?: number | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: string | undefined; value?: string | undefined; }[] | undefined; }[] | undefined; }[]; rawLog?: string; timestamp?: string; tx?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; txhash?: string }
        • Optional code?: number

          Response code.

        • Optional codespace?: string

          Namespace for the Code

        • Optional data?: string

          Result bytes, if any.

        • Optional gasUsed?: number

          Amount of gas consumed by transaction.

        • Optional gasWanted?: number

          Amount of gas requested for transaction.

        • Optional height?: number

          The block height

        • Optional info?: string

          Additional information. May be non-deterministic.

        • Optional logs?: { msgIndex?: number | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: string | undefined; value?: string | undefined; }[] | undefined; }[] | undefined; }[]

          The output of the application's logger (typed). May be non-deterministic.

        • Optional rawLog?: string

          The output of the application's logger (raw string). May be non-deterministic.

        • Optional timestamp?: string

          Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time.

        • Optional tx?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }

          The request transaction bytes.

        • Optional txhash?: string

          The transaction hash.

      Returns TxResponse

  • toJSON: function

Const protobufPackage

protobufPackage: "cosmos.base.abci.v1beta1" = 'cosmos.base.abci.v1beta1'

Generated using TypeDoc