Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Namespaces

Enumerations

Enumeration Members

Classes Messages

Classes Other

Interfaces

Type Aliases Change case

Type Aliases Other

Type Aliases Template literal

Variables

Enumeration Members

ARGUMENT: "Argument"
BOOLEAN: "BooleanValue"
DIRECTIVE: "Directive"

Directives

DIRECTIVE_DEFINITION: "DirectiveDefinition"

Directive Definitions

DOCUMENT: "Document"

Document

ENUM: "EnumValue"
ENUM_TYPE_DEFINITION: "EnumTypeDefinition"
ENUM_TYPE_EXTENSION: "EnumTypeExtension"
ENUM_VALUE_DEFINITION: "EnumValueDefinition"
FIELD: "Field"
FIELD_DEFINITION: "FieldDefinition"
FLOAT: "FloatValue"
FRAGMENT_DEFINITION: "FragmentDefinition"
FRAGMENT_SPREAD: "FragmentSpread"

Fragments

INLINE_FRAGMENT: "InlineFragment"
INPUT_OBJECT_TYPE_DEFINITION: "InputObjectTypeDefinition"
INPUT_OBJECT_TYPE_EXTENSION: "InputObjectTypeExtension"
INPUT_VALUE_DEFINITION: "InputValueDefinition"
INT: "IntValue"
INTERFACE_TYPE_DEFINITION: "InterfaceTypeDefinition"
INTERFACE_TYPE_EXTENSION: "InterfaceTypeExtension"
LIST: "ListValue"
LIST_TYPE: "ListType"
NAME: "Name"

Name

NAMED_TYPE: "NamedType"

Types

NON_NULL_TYPE: "NonNullType"
NULL: "NullValue"
OBJECT: "ObjectValue"
OBJECT_FIELD: "ObjectField"
OBJECT_TYPE_DEFINITION: "ObjectTypeDefinition"
OBJECT_TYPE_EXTENSION: "ObjectTypeExtension"
OPERATION_DEFINITION: "OperationDefinition"
OPERATION_TYPE_DEFINITION: "OperationTypeDefinition"
SCALAR_TYPE_DEFINITION: "ScalarTypeDefinition"

Type Definitions

SCALAR_TYPE_EXTENSION: "ScalarTypeExtension"

Type Extensions

SCHEMA_DEFINITION: "SchemaDefinition"

Type System Definitions

SCHEMA_EXTENSION: "SchemaExtension"

Type System Extensions

SELECTION_SET: "SelectionSet"
SIGN_MODE_DIRECT: 1

SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is verified with raw bytes from Tx

SIGN_MODE_LEGACY_AMINO_JSON: 127

SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses Amino JSON and will be removed in the future

STRING: "StringValue"
UNION_TYPE_DEFINITION: "UnionTypeDefinition"
UNION_TYPE_EXTENSION: "UnionTypeExtension"
VARIABLE: "Variable"

Values

VARIABLE_DEFINITION: "VariableDefinition"

Change case Type Aliases

DelimiterCase<Value, Delimiter>: Value extends string ? StringArrayToDelimiterCase<SplitIncludingDelimiters<Value, WordSeparators | UpperCaseCharacters>, true, WordSeparators, UpperCaseCharacters, Delimiter> : Value

Convert a string literal to a custom string delimiter casing.

This can be useful when, for example, converting a camel-cased object property to an oddly cased one.

see

KebabCase

see

SnakeCase

example
import type {DelimiterCase} from 'type-fest';

// Simple

const someVariable: DelimiterCase<'fooBar', '#'> = 'foo#bar';

// Advanced

type OddlyCasedProperties<T> = {
[K in keyof T as DelimiterCase<K, '#'>]: T[K]
};

interface SomeOptions {
dryRun: boolean;
includeFile: string;
foo: number;
}

const rawCliOptions: OddlyCasedProperties<SomeOptions> = {
'dry#run': true,
'include#file': 'bar.js',
foo: 123
};

Type Parameters

  • Value

  • Delimiter extends string

SnakeCase<Value>: DelimiterCase<Value, "_">

Convert a string literal to snake-case.

This can be useful when, for example, converting a camel-cased object property to a snake-cased SQL column name.

example
import type {SnakeCase} from 'type-fest';

// Simple

const someVariable: SnakeCase<'fooBar'> = 'foo_bar';

// Advanced

type SnakeCasedProperties<T> = {
[K in keyof T as SnakeCase<K>]: T[K]
};

interface ModelProps {
isHappy: boolean;
fullFamilyName: string;
foo: number;
}

const dbResult: SnakeCasedProperties<ModelProps> = {
'is_happy': true,
'full_family_name': 'Carla Smith',
foo: 123
};

Type Parameters

  • Value

Other Type Aliases

The list of all possible AST node types.

Algo: CosmjsAlgo | "eth_secp256k1"
ApolloClientOptions<TCacheShape>: { assumeImmutableResults?: boolean; cache: ApolloCache<TCacheShape>; connectToDevTools?: boolean; credentials?: string; defaultOptions?: DefaultOptions; fragmentMatcher?: FragmentMatcher; headers?: Record<string, string>; link?: ApolloLink; name?: string; queryDeduplication?: boolean; resolvers?: Resolvers | Resolvers[]; ssrForceFetchDelay?: number; ssrMode?: boolean; typeDefs?: string | string[] | DocumentNode | DocumentNode[]; uri?: string | UriFunction; version?: string }

Type Parameters

  • TCacheShape

Type declaration

  • Optional assumeImmutableResults?: boolean
  • cache: ApolloCache<TCacheShape>
  • Optional connectToDevTools?: boolean
  • Optional credentials?: string
  • Optional defaultOptions?: DefaultOptions
  • Optional fragmentMatcher?: FragmentMatcher
  • Optional headers?: Record<string, string>
  • Optional link?: ApolloLink
  • Optional name?: string
  • Optional queryDeduplication?: boolean
  • Optional resolvers?: Resolvers | Resolvers[]
  • Optional ssrForceFetchDelay?: number
  • Optional ssrMode?: boolean
  • Optional typeDefs?: string | string[] | DocumentNode | DocumentNode[]
  • Optional uri?: string | UriFunction
  • Optional version?: string
ApolloQueryResult<T>: { data: T; error?: ApolloError; errors?: ReadonlyArray<GraphQLError>; loading: boolean; networkStatus: NetworkStatus; partial?: boolean }

Type Parameters

  • T

Type declaration

AppendMode: "segments" | "sequence"
AppendPath<S, Last>: S extends "" ? Last : `${S}.${Last}`

Append a segment to dot-notation path.

Type Parameters

  • S extends string

    Base path.

  • Last extends string

    Additional path.

ArrayBufferLike: ArrayBufferTypes[keyof ArrayBufferTypes]
ArrayBufferView: TypedArray | internal.DataView
Awaited<T>: T extends null | undefined ? T : T extends object & { then: any } ? F extends ((value: infer V, ...args: infer _) => any) ? Awaited<V> : never : T

Recursively unwraps the "awaited type" of a type. Non-promise "thenables" should resolve to never. This emulates the behavior of await.

Type Parameters

  • T

BaseToken: TokenMeta & { denom: string }
BlobPart: BufferSource | internal.Blob | string
BufferEncoding: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "base64url" | "latin1" | "binary" | "hex"
BufferSource: ArrayBufferView | ArrayBuffer
CanReadFunction: ((value: StoreValue) => boolean)

Type declaration

ConcastSourcesIterable<T>: Iterable<Source<T>>

Type Parameters

  • T

DefaultContext: Record<string, any>
EmptyTuple: []
EndOfStreamError: "decode" | "network"
EndingType: "native" | "transparent"
ErrorPolicy: "none" | "ignore" | "all"
EventListenerOrEventListenerObject: EventListener | EventListenerObject
Exclude<T, U>: T extends U ? never : T

Exclude from T those types that are assignable to U

Type Parameters

  • T

  • U

ExecDataRepresentation<Data>: {}

Type Parameters

  • Data

Type declaration

  • [key: string]: Data
ExecutionPatchResult<TData, TExtensions>: ExecutionPatchInitialResult<TData, TExtensions> | ExecutionPatchIncrementalResult<TData, TExtensions>

Type Parameters

  • TData = Record<string, any>

  • TExtensions = Record<string, any>

Extract<T, U>: T extends U ? T : never

Extract from T those types that are assignable to U

Type Parameters

  • T

  • U

FetchPolicy: "cache-first" | "network-only" | "cache-only" | "no-cache" | "standby"
FetchResult<TData, TContext, TExtensions>: SingleExecutionResult<TData, TContext, TExtensions> | ExecutionPatchResult<TData, TExtensions>

Type Parameters

  • TData = Record<string, any>

  • TContext = Record<string, any>

  • TExtensions = Record<string, any>

FlatArray<Arr, Depth>: { done: Arr; recur: Arr extends ReadonlyArray<infer InnerArr> ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]> : Arr }[Depth extends -1 ? "done" : "recur"]

Type Parameters

  • Arr

  • Depth extends number

FormDataEntryValue: internal.File | string
FragmentMatcher: ((rootValue: any, typeCondition: string, context: any) => boolean)

Type declaration

    • (rootValue: any, typeCondition: string, context: any): boolean
    • Parameters

      • rootValue: any
      • typeCondition: string
      • context: any

      Returns boolean

GraphQLErrors: ReadonlyArray<GraphQLError>
Includes<List, Target>: List extends undefined ? false : List extends Readonly<EmptyTuple> ? false : List extends readonly [infer First, ...(infer Rest)] ? First extends Target ? true : Includes<Rest, Target> : boolean

Check if an element is included in a tuple.

Type Parameters

  • List extends readonly unknown[]

    List of values.

  • Target

    Target to search.

InternalRefetchQueriesMap<TResult>: internal.Map<ObservableQuery<any>, InternalRefetchQueriesResult<TResult>>

Type Parameters

  • TResult

InternalRefetchQueriesResult<TResult>: TResult extends boolean ? internal.Promise<ApolloQueryResult<any>> : TResult

Type Parameters

  • TResult

InternalRefetchQueryDescriptor: RefetchQueryDescriptor | QueryOptions
IsStrictlyAny<T>: UnionToIntersection<UnionForAny<T>> extends never ? true : false

Type Parameters

  • T

IteratorResult<T, TReturn>: IteratorYieldResult<T> | IteratorReturnResult<TReturn>

Type Parameters

  • T

  • TReturn = any

LocalStateOptions<TCacheShape>: { cache: ApolloCache<TCacheShape>; client?: ApolloClient<TCacheShape>; fragmentMatcher?: FragmentMatcher; resolvers?: Resolvers | Resolvers[] }

Type Parameters

  • TCacheShape

Type declaration

LocaleCollationCaseFirst: "upper" | "lower" | "false"
LocaleHourCycleKey: "h12" | "h23" | "h11" | "h24"

The locale(s) to use

MDN.

Lowercase<S>: intrinsic

Convert string literal type to lowercase

Type Parameters

  • S extends string

Maybe<T>: null | undefined | T

Conveniently represents flow's "Maybe" type https://flow.org/en/docs/types/maybe/

Type Parameters

  • T

MaybeAsync<T>: T | PromiseLike<T>

Type Parameters

  • T

Method: "get" | "GET" | "delete" | "DELETE" | "head" | "HEAD" | "options" | "OPTIONS" | "post" | "POST" | "put" | "PUT" | "patch" | "PATCH" | "purge" | "PURGE" | "link" | "LINK" | "unlink" | "UNLINK"
MissingTree: string | {}
Modifier<T>: ((value: T, details: ModifierDetails) => T)

Type Parameters

  • T

Type declaration

ModifierDetails: { DELETE: any; INVALIDATE: any; canRead: CanReadFunction; fieldName: string; isReference: typeof isReference; readField: ReadFieldFunction; storage: StorageType; storeFieldName: string; toReference: ToReferenceFunction }

Type declaration

Modifiers: {}

Type declaration

MutationFetchPolicy: Extract<FetchPolicy, "network-only" | "no-cache">
MutationQueryReducer<T>: ((previousResult: Record<string, any>, options: { mutationResult: FetchResult<T>; queryName: string | undefined; queryVariables: Record<string, any> }) => Record<string, any>)

Type Parameters

  • T

Type declaration

    • (previousResult: Record<string, any>, options: { mutationResult: FetchResult<T>; queryName: string | undefined; queryVariables: Record<string, any> }): Record<string, any>
    • Parameters

      • previousResult: Record<string, any>
      • options: { mutationResult: FetchResult<T>; queryName: string | undefined; queryVariables: Record<string, any> }
        • mutationResult: FetchResult<T>
        • queryName: string | undefined
        • queryVariables: Record<string, any>

      Returns Record<string, any>

MutationQueryReducersMap<T>: {}

Type Parameters

  • T = {}

Type declaration

MutationUpdaterFunction<TData, TVariables, TContext, TCache>: ((cache: TCache, result: Omit<FetchResult<TData>, "context">, options: { context?: TContext; variables?: TVariables }) => void)

Type Parameters

Type declaration

    • (cache: TCache, result: Omit<FetchResult<TData>, "context">, options: { context?: TContext; variables?: TVariables }): void
    • Parameters

      • cache: TCache
      • result: Omit<FetchResult<TData>, "context">
      • options: { context?: TContext; variables?: TVariables }
        • Optional context?: TContext
        • Optional variables?: TVariables

      Returns void

NetworkEndpoints: { chronos: string; explorer: string; grpc: string; indexer: string; rest: string; rpc?: string }

Type declaration

  • chronos: string
  • explorer: string
  • grpc: string
  • indexer: string
  • rest: string
  • Optional rpc?: string
NextLink: ((operation: Operation) => Observable<FetchResult>)

Type declaration

NextResultListener: ((method: "next" | "error" | "complete", arg?: any) => any)

Type declaration

    • (method: "next" | "error" | "complete", arg?: any): any
    • Parameters

      • method: "next" | "error" | "complete"
      • Optional arg: any

      Returns any

Object: Omit<internal.MsgExec, "msgs"> & { msgs: any }
Omit<T, K>: Pick<T, Exclude<keyof T, K>>

Construct a type with the properties of T except for those in type K.

Type Parameters

  • T

  • K extends keyof any

OnQueryUpdated<TResult>: ((observableQuery: ObservableQuery<any>, diff: DiffResult<any>, lastDiff: DiffResult<any> | undefined) => boolean | TResult)

Type Parameters

  • TResult

Type declaration

OperationVariables: Record<string, any>
Partial<T>: { [ P in keyof T]?: T[P] }

Make all properties in T optional

Type Parameters

  • T

Pick<T, K>: { [ P in K]: T[P] }

From T, pick a set of properties whose keys are in the union K

Type Parameters

  • T

  • K extends keyof T

PromiseConstructorLike: (new <T>(executor: ((resolve: ((value: T | PromiseLike<T>) => void), reject: ((reason?: any) => void)) => void)) => PromiseLike<T>)

Type declaration

    • new <T>(executor: ((resolve: ((value: T | PromiseLike<T>) => void), reject: ((reason?: any) => void)) => void)): PromiseLike<T>
    • Type Parameters

      • T

      Parameters

      • executor: ((resolve: ((value: T | PromiseLike<T>) => void), reject: ((reason?: any) => void)) => void)
          • (resolve: ((value: T | PromiseLike<T>) => void), reject: ((reason?: any) => void)): void
          • Parameters

            • resolve: ((value: T | PromiseLike<T>) => void)
            • reject: ((reason?: any) => void)
                • (reason?: any): void
                • Parameters

                  • Optional reason: any

                  Returns void

            Returns void

      Returns PromiseLike<T>

PromiseSettledResult<T>: PromiseFulfilledResult<T> | PromiseRejectedResult

Type Parameters

  • T

QueryListener: ((queryInfo: QueryInfo) => void)

Type declaration

QueryStoreValue: Pick<QueryInfo, "variables" | "networkStatus" | "networkError" | "graphQLErrors">
ReadableStreamReadResult<T>: ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>

Type Parameters

  • T

Type Parameters

  • T

Readonly<T>: { readonly [ P in keyof T]: T[P] }

Make all properties in T readonly

Type Parameters

  • T

ReadyState: "closed" | "ended" | "open"
Record<K, T>: { [ P in K]: T }

Construct a type with a set of properties K of type T

Type Parameters

  • K extends keyof any

  • T

RefetchQueriesIncludeShorthand: "all" | "active"
RefetchQueriesPromiseResults<TResult>: IsStrictlyAny<TResult> extends true ? any[] : TResult extends boolean ? ApolloQueryResult<any>[] : TResult extends PromiseLike<infer U> ? U[] : TResult[]

Type Parameters

  • TResult

RefetchQueryDescriptor: string | DocumentNode
RefetchWritePolicy: "merge" | "overwrite"
RequestHandler: ((operation: Operation, forward: NextLink) => Observable<FetchResult> | null)

Type declaration

Resolver: ((rootValue?: any, args?: any, context?: any, info?: { field: FieldNode; fragmentMap: FragmentMap }) => any)

Type declaration

ResponseType: "arraybuffer" | "blob" | "document" | "json" | "text" | "stream"
ReturnType<T>: T extends ((...args: any) => infer R) ? R : any

Obtain the return type of a function type

Type Parameters

  • T extends ((...args: any) => any)

SafeReadonly<T>: T extends object ? Readonly<T> : T

Type Parameters

  • T

ServerError: internal.Error & { response: internal.Response; result: Record<string, any>; statusCode: number }
ServerParseError: internal.Error & { bodyText: string; response: internal.Response; statusCode: number }
SnakeCaseKeys<T, Deep, Exclude, Path>: T extends readonly any[] ? { [ P in keyof T]: T[P] extends Record<string, any> | readonly any[] ? SnakeCaseKeys<T[P], Deep, Exclude> : T[P] } : T extends Record<string, any> ? { [ P in keyof T as [Includes<Exclude, P>] extends [true] ? P : SnakeCase<P>]: [Deep] extends [true] ? T[P] extends Record<string, any> | undefined ? SnakeCaseKeys<T[P], Deep, Exclude, AppendPath<Path, P & string>> : T[P] : T[P] } : T

Convert keys of an object to snake-case strings.

Type Parameters

  • T extends Record<string, any> | readonly any[]

    Input object or array.

  • Deep extends boolean = true

    Deep conversion flag.

  • Exclude extends readonly unknown[] = EmptyTuple

    Excluded keys.

  • Path extends string = ""

    Path of keys.

StorageType: Record<string, any>
StoreValue: number | string | string[] | Reference | Reference[] | null | undefined | void | Object
StringArrayToDelimiterCase<Parts, Start, UsedWordSeparators, UsedUpperCaseCharacters, Delimiter>: Parts extends [`${infer FirstPart}`, ...(infer RemainingParts)] ? `${StringPartToDelimiterCase<FirstPart, Start, UsedWordSeparators, UsedUpperCaseCharacters, Delimiter>}${StringArrayToDelimiterCase<RemainingParts, false, UsedWordSeparators, UsedUpperCaseCharacters, Delimiter>}` : Parts extends [string] ? string : ""

Takes the result of a splitted string literal and recursively concatenates it together into the desired casing.

It receives UsedWordSeparators and UsedUpperCaseCharacters as input to ensure it's fully encapsulated.

see

SplitIncludingDelimiters

Type Parameters

  • Parts extends readonly any[]

  • Start extends boolean

  • UsedWordSeparators extends string

  • UsedUpperCaseCharacters extends string

  • Delimiter extends string

StringPartToDelimiterCase<StringPart, Start, UsedWordSeparators, UsedUpperCaseCharacters, Delimiter>: StringPart extends UsedWordSeparators ? Delimiter : Start extends true ? Lowercase<StringPart> : StringPart extends UsedUpperCaseCharacters ? `${Delimiter}${Lowercase<StringPart>}` : StringPart

Format a specific part of the splitted string literal that StringArrayToDelimiterCase<> fuses together, ensuring desired casing.

see

StringArrayToDelimiterCase

Type Parameters

  • StringPart extends string

  • Start extends boolean

  • UsedWordSeparators extends string

  • UsedUpperCaseCharacters extends string

  • Delimiter extends string

SubscribeToMoreOptions<TData, TSubscriptionVariables, TSubscriptionData>: { context?: DefaultContext; document: DocumentNode | TypedDocumentNode<TSubscriptionData, TSubscriptionVariables>; updateQuery?: UpdateQueryFn<TData, TSubscriptionVariables, TSubscriptionData>; variables?: TSubscriptionVariables; onError?: any }

Type Parameters

Type declaration

  • Optional context?: DefaultContext
  • document: DocumentNode | TypedDocumentNode<TSubscriptionData, TSubscriptionVariables>
  • Optional updateQuery?: UpdateQueryFn<TData, TSubscriptionVariables, TSubscriptionData>
  • Optional variables?: TSubscriptionVariables
  • onError?:function
    • Parameters

      Returns void

Subscriber<T>: ((observer: SubscriptionObserver<T>) => void | (() => void) | Subscription)

Type Parameters

  • T

Type declaration

TeardownLogic: Subscription | Unsubscribable | (() => void) | void
ToReferenceFunction: ((objOrIdOrRef: StoreObject | string | Reference, mergeIntoStore?: boolean) => Reference | undefined)

Type declaration

Type Definition

Type Extensions

Type Reference

Type System Definition

TypeSystemExtensionNode: SchemaExtensionNode | TypeExtensionNode

Type System Extensions

UnicodeBCP47LocaleIdentifier: string
UnionForAny<T>: T extends never ? "a" : 1

Type Parameters

  • T

UnionToIntersection<U>: (U extends any ? ((k: U) => void) : never) extends ((k: infer I) => void) ? I : never

Type Parameters

  • U

UpdateQueryFn<TData, TSubscriptionVariables, TSubscriptionData>: ((previousQueryResult: TData, options: { subscriptionData: { data: TSubscriptionData }; variables?: TSubscriptionVariables }) => TData)

Type Parameters

Type declaration

    • (previousQueryResult: TData, options: { subscriptionData: { data: TSubscriptionData }; variables?: TSubscriptionVariables }): TData
    • Parameters

      • previousQueryResult: TData
      • options: { subscriptionData: { data: TSubscriptionData }; variables?: TSubscriptionVariables }
        • subscriptionData: { data: TSubscriptionData }
          • data: TSubscriptionData
        • Optional variables?: TSubscriptionVariables

      Returns TData

UpperCaseCharacters: "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" | "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" | "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"

Values

WatchCallback<TData>: ((diff: DiffResult<TData>, lastDiff?: DiffResult<TData>) => void)

Type Parameters

  • TData = any

Type declaration

WatchQueryFetchPolicy: FetchPolicy | "cache-and-network"
WithImplicitCoercion<T>: T | { valueOf: any }

Type Parameters

  • T

WordSeparators: "-" | "_" | " "
__Blob: typeof globalThis extends { Blob: infer T; onmessage: any } ? T : NodeBlob
__EventTarget: typeof globalThis extends { EventTarget: any; onmessage: any } ? {} : { addEventListener: any; dispatchEvent: any; removeEventListener: any }

Template literal Type Aliases

DelimiterCase<Value, Delimiter>: Value extends string ? StringArrayToDelimiterCase<SplitIncludingDelimiters<Value, WordSeparators | UpperCaseCharacters>, true, WordSeparators, UpperCaseCharacters, Delimiter> : Value

Convert a string literal to a custom string delimiter casing.

This can be useful when, for example, converting a camel-cased object property to an oddly cased one.

see

KebabCase

see

SnakeCase

example
import type {DelimiterCase} from 'type-fest';

// Simple

const someVariable: DelimiterCase<'fooBar', '#'> = 'foo#bar';

// Advanced

type OddlyCasedProperties<T> = {
[K in keyof T as DelimiterCase<K, '#'>]: T[K]
};

interface SomeOptions {
dryRun: boolean;
includeFile: string;
foo: number;
}

const rawCliOptions: OddlyCasedProperties<SomeOptions> = {
'dry#run': true,
'include#file': 'bar.js',
foo: 123
};

Type Parameters

  • Value

  • Delimiter extends string

SnakeCase<Value>: DelimiterCase<Value, "_">

Convert a string literal to snake-case.

This can be useful when, for example, converting a camel-cased object property to a snake-cased SQL column name.

example
import type {SnakeCase} from 'type-fest';

// Simple

const someVariable: SnakeCase<'fooBar'> = 'foo_bar';

// Advanced

type SnakeCasedProperties<T> = {
[K in keyof T as SnakeCase<K>]: T[K]
};

interface ModelProps {
isHappy: boolean;
fullFamilyName: string;
foo: number;
}

const dbResult: SnakeCasedProperties<ModelProps> = {
'is_happy': true,
'full_family_name': 'Carla Smith',
foo: 123
};

Type Parameters

  • Value

SplitIncludingDelimiters<Source, Delimiter>: Source extends "" ? [] : Source extends `${infer FirstPart}${Delimiter}${infer SecondPart}` ? Source extends `${FirstPart}${infer UsedDelimiter}${SecondPart}` ? UsedDelimiter extends Delimiter ? Source extends `${infer FirstPart}${UsedDelimiter}${infer SecondPart}` ? [...SplitIncludingDelimiters<FirstPart, Delimiter>, UsedDelimiter, ...SplitIncludingDelimiters<SecondPart, Delimiter>] : never : never : never : [Source]

Unlike a simpler split, this one includes the delimiter splitted on in the resulting array literal. This is to enable splitting on, for example, upper-case characters.

Type Parameters

  • Source extends string

  • Delimiter extends string

Variables

AbortSignal: { prototype: internal.AbortSignal; abort: any; timeout: any }

Type declaration

AccessConfig: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

AccountPortfolioResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; } }): internal.AccountPortfolioResponse
    • Parameters

      • Optional base: { portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; } }
        • Optional portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; }

          The portfolio of this account

      Returns internal.AccountPortfolioResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; } }): internal.AccountPortfolioResponse
    • Parameters

      • object: { portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; } }
        • Optional portfolio?: { accountAddress?: string | undefined; bankBalances?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; subaccounts?: { subaccountId?: string | undefined; denom?: string | undefined; deposit?: { ...; } | undefined; }[] | undefined; positionsWithUpnl?: { ...; }[] | undefined; }

          The portfolio of this account

      Returns internal.AccountPortfolioResponse

  • toJSON:function
AccountVolume: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { account?: string; volume?: string }
        • Optional account?: string
        • Optional volume?: string

      Returns internal.AccountVolume

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.AccountVolume

  • fromPartial:function
    • Parameters

      • object: { account?: string; volume?: string }
        • Optional account?: string
        • Optional volume?: string

      Returns internal.AccountVolume

  • toJSON:function
    • Parameters

      Returns unknown

AggregateSubaccountVolumeRecord: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Any: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { typeUrl?: string; value?: internal.Uint8Array }
        • Optional typeUrl?: string

          A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

          In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

          • If no scheme is provided, https is assumed.
          • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
          • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

          Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

          Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

        • Optional value?: internal.Uint8Array

          Must be a valid serialized protocol buffer of the above specified type.

      Returns internal.Any

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Any

  • fromPartial:function
    • Parameters

      • object: { typeUrl?: string; value?: internal.Uint8Array }
        • Optional typeUrl?: string

          A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in path/google.protobuf.Duration). The name should be in a canonical form (e.g., leading "." is not accepted).

          In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme http, https, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows:

          • If no scheme is provided, https is assumed.
          • An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error.
          • Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)

          Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com.

          Schemes other than http, https (or the empty scheme) might be used with implementation specific semantics.

        • Optional value?: internal.Uint8Array

          Must be a valid serialized protocol buffer of the above specified type.

      Returns internal.Any

  • toJSON:function
    • Parameters

      Returns unknown

AuctionEndpointResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }; bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }): internal.AuctionEndpointResponse
    • Parameters

      • Optional base: { auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }; bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }
        • Optional auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }

          The auction

        • Optional bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[]

          Bids of the auction

      Returns internal.AuctionEndpointResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }; bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }): internal.AuctionEndpointResponse
    • Parameters

      • object: { auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }; bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }
        • Optional auction?: { winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; }

          The auction

        • Optional bids?: ({ bidder?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[]

          Bids of the auction

      Returns internal.AuctionEndpointResponse

  • toJSON:function
AuctionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[] }): internal.AuctionsResponse
    • Parameters

      • Optional base: { auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[] }
        • Optional auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[]

          The historical auctions

      Returns internal.AuctionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.AuctionsResponse

  • fromPartial:function
    • fromPartial(object: { auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[] }): internal.AuctionsResponse
    • Parameters

      • object: { auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[] }
        • Optional auctions?: ({ winner?: string | undefined; basket?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; winningBidAmount?: string | undefined; round?: string | undefined; endTimestamp?: string | undefined; updatedAt?: string | undefined; })[]

          The historical auctions

      Returns internal.AuctionsResponse

  • toJSON:function
    • Parameters

      Returns unknown

AuthInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[] }): internal.AuthInfo
    • Parameters

      • Optional base: { fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[] }
        • Optional fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }

          Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

        • Optional signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[]

          signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

      Returns internal.AuthInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.AuthInfo

  • fromPartial:function
    • fromPartial(object: { fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[] }): internal.AuthInfo
    • Parameters

      • object: { fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[] }
        • Optional fee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }

          Fee is the fee and gas limit for the transaction. The first signer is the primary signer and the one which pays the fee. The fee can be calculated based on the cost of evaluating the body and doing signature verification of the signers. This can be estimated via simulation.

        • Optional signerInfos?: ({ publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { ...; } | undefined; } | undefined; sequence?: string | undefined; })[]

          signer_infos defines the signing modes for the required signers. The number and order of elements must match the required signers from TxBody's messages. The first element is the primary signer and the one which pays the fee.

      Returns internal.AuthInfo

  • toJSON:function
    • Parameters

      Returns unknown

AuthorizeBandOracleRequestProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }; title?: string }): internal.AuthorizeBandOracleRequestProposal
    • Parameters

      • Optional base: { description?: string; request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }; title?: string }
        • Optional description?: string
        • Optional request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }
        • Optional title?: string

      Returns internal.AuthorizeBandOracleRequestProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { description?: string; request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }; title?: string }): internal.AuthorizeBandOracleRequestProposal
    • Parameters

      • object: { description?: string; request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }; title?: string }
        • Optional description?: string
        • Optional request?: { requestId?: string | undefined; oracleScriptId?: string | undefined; symbols?: string[] | undefined; askCount?: string | undefined; minCount?: string | undefined; feeLimit?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; prepareGas?: string | undefined; executeGas?: string | undefined; }
        • Optional title?: string

      Returns internal.AuthorizeBandOracleRequestProposal

  • toJSON:function
Balance: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { denom?: string; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }; subaccountId?: string }): internal.Balance
    • Parameters

      • Optional base: { denom?: string; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }; subaccountId?: string }
        • Optional denom?: string
        • Optional deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }
        • Optional subaccountId?: string

      Returns internal.Balance

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Balance

  • fromPartial:function
    • fromPartial(object: { denom?: string; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }; subaccountId?: string }): internal.Balance
    • Parameters

      • object: { denom?: string; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }; subaccountId?: string }
        • Optional denom?: string
        • Optional deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; }
        • Optional subaccountId?: string

      Returns internal.Balance

  • toJSON:function
    • Parameters

      Returns unknown

BandIBCParams: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { bandIbcEnabled?: boolean; ibcPortId?: string; ibcRequestInterval?: string; ibcSourceChannel?: string; ibcVersion?: string; legacyOracleIds?: string[] }): internal.BandIBCParams
    • Parameters

      • Optional base: { bandIbcEnabled?: boolean; ibcPortId?: string; ibcRequestInterval?: string; ibcSourceChannel?: string; ibcVersion?: string; legacyOracleIds?: string[] }
        • Optional bandIbcEnabled?: boolean

          true if Band IBC should be enabled

        • Optional ibcPortId?: string

          band IBC portID

        • Optional ibcRequestInterval?: string

          block request interval to send Band IBC prices

        • Optional ibcSourceChannel?: string

          band IBC source channel

        • Optional ibcVersion?: string

          band IBC version

        • Optional legacyOracleIds?: string[]

          legacy oracle scheme ids

      Returns internal.BandIBCParams

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BandIBCParams

  • fromPartial:function
    • fromPartial(object: { bandIbcEnabled?: boolean; ibcPortId?: string; ibcRequestInterval?: string; ibcSourceChannel?: string; ibcVersion?: string; legacyOracleIds?: string[] }): internal.BandIBCParams
    • Parameters

      • object: { bandIbcEnabled?: boolean; ibcPortId?: string; ibcRequestInterval?: string; ibcSourceChannel?: string; ibcVersion?: string; legacyOracleIds?: string[] }
        • Optional bandIbcEnabled?: boolean

          true if Band IBC should be enabled

        • Optional ibcPortId?: string

          band IBC portID

        • Optional ibcRequestInterval?: string

          block request interval to send Band IBC prices

        • Optional ibcSourceChannel?: string

          band IBC source channel

        • Optional ibcVersion?: string

          band IBC version

        • Optional legacyOracleIds?: string[]

          legacy oracle scheme ids

      Returns internal.BandIBCParams

  • toJSON:function
    • Parameters

      Returns unknown

BandOracleRequest: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { askCount?: string; executeGas?: string; feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]; minCount?: string; oracleScriptId?: string; prepareGas?: string; requestId?: string; symbols?: string[] }): internal.BandOracleRequest
    • Parameters

      • Optional base: { askCount?: string; executeGas?: string; feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]; minCount?: string; oracleScriptId?: string; prepareGas?: string; requestId?: string; symbols?: string[] }
        • Optional askCount?: string

          AskCount is the number of validators that are requested to respond to this oracle request. Higher value means more security, at a higher gas cost.

        • Optional executeGas?: string

          ExecuteGas is amount of gas to reserve for executing

        • Optional feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          FeeLimit is the maximum tokens that will be paid to all data source providers.

        • Optional minCount?: string

          MinCount is the minimum number of validators necessary for the request to proceed to the execution phase. Higher value means more security, at the cost of liveness.

        • Optional oracleScriptId?: string

          OracleScriptID is the unique identifier of the oracle script to be executed.

        • Optional prepareGas?: string

          PrepareGas is amount of gas to pay to prepare raw requests

        • Optional requestId?: string

          Unique Identifier for band ibc oracle request

        • Optional symbols?: string[]

          Symbols is the list of symbols to prepare in the calldata

      Returns internal.BandOracleRequest

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BandOracleRequest

  • fromPartial:function
    • fromPartial(object: { askCount?: string; executeGas?: string; feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]; minCount?: string; oracleScriptId?: string; prepareGas?: string; requestId?: string; symbols?: string[] }): internal.BandOracleRequest
    • Parameters

      • object: { askCount?: string; executeGas?: string; feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]; minCount?: string; oracleScriptId?: string; prepareGas?: string; requestId?: string; symbols?: string[] }
        • Optional askCount?: string

          AskCount is the number of validators that are requested to respond to this oracle request. Higher value means more security, at a higher gas cost.

        • Optional executeGas?: string

          ExecuteGas is amount of gas to reserve for executing

        • Optional feeLimit?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          FeeLimit is the maximum tokens that will be paid to all data source providers.

        • Optional minCount?: string

          MinCount is the minimum number of validators necessary for the request to proceed to the execution phase. Higher value means more security, at the cost of liveness.

        • Optional oracleScriptId?: string

          OracleScriptID is the unique identifier of the oracle script to be executed.

        • Optional prepareGas?: string

          PrepareGas is amount of gas to pay to prepare raw requests

        • Optional requestId?: string

          Unique Identifier for band ibc oracle request

        • Optional symbols?: string[]

          Symbols is the list of symbols to prepare in the calldata

      Returns internal.BandOracleRequest

  • toJSON:function
    • Parameters

      Returns unknown

Bid: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { amount?: string; bidder?: string }): internal.Bid
    • Parameters

      • Optional base: { amount?: string; bidder?: string }
        • Optional amount?: string
        • Optional bidder?: string

      Returns internal.Bid

  • decode:function
    • Parameters

      Returns internal.Bid

  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Bid

  • fromPartial:function
    • fromPartial(object: { amount?: string; bidder?: string }): internal.Bid
    • Parameters

      • object: { amount?: string; bidder?: string }
        • Optional amount?: string
        • Optional bidder?: string

      Returns internal.Bid

  • toJSON:function
    • Parameters

      Returns unknown

BinaryOptionsMarketInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { expirationTimestamp?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleProvider?: string; oracleScaleFactor?: number; oracleSymbol?: string; oracleType?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; settlementPrice?: string; settlementTimestamp?: string; takerFeeRate?: string; ticker?: string }): internal.BinaryOptionsMarketInfo
    • Parameters

      • Optional base: { expirationTimestamp?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleProvider?: string; oracleScaleFactor?: number; oracleSymbol?: string; oracleType?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; settlementPrice?: string; settlementTimestamp?: string; takerFeeRate?: string; ticker?: string }
        • Optional expirationTimestamp?: string

          Defines the expiration time for the market in UNIX seconds.

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          Binary Options Market ID is crypto.Keccak256Hash([]byte((oracleType.String()

          • ticker + quoteDenom + oracleSymbol + oracleProvider)))
        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional oracleProvider?: string

          Oracle provider

        • Optional oracleScaleFactor?: number

          OracleScaleFactor

        • Optional oracleSymbol?: string

          Oracle symbol

        • Optional oracleType?: string

          Oracle Type

        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional settlementPrice?: string

          Defines the settlement price of the market

        • Optional settlementTimestamp?: string

          Defines the settlement time for the market in UNIX seconds.

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the binary options market.

      Returns internal.BinaryOptionsMarketInfo

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BinaryOptionsMarketInfo

  • fromPartial:function
    • fromPartial(object: { expirationTimestamp?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleProvider?: string; oracleScaleFactor?: number; oracleSymbol?: string; oracleType?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; settlementPrice?: string; settlementTimestamp?: string; takerFeeRate?: string; ticker?: string }): internal.BinaryOptionsMarketInfo
    • Parameters

      • object: { expirationTimestamp?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleProvider?: string; oracleScaleFactor?: number; oracleSymbol?: string; oracleType?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; settlementPrice?: string; settlementTimestamp?: string; takerFeeRate?: string; ticker?: string }
        • Optional expirationTimestamp?: string

          Defines the expiration time for the market in UNIX seconds.

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          Binary Options Market ID is crypto.Keccak256Hash([]byte((oracleType.String()

          • ticker + quoteDenom + oracleSymbol + oracleProvider)))
        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional oracleProvider?: string

          Oracle provider

        • Optional oracleScaleFactor?: number

          OracleScaleFactor

        • Optional oracleSymbol?: string

          Oracle symbol

        • Optional oracleType?: string

          Oracle Type

        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional settlementPrice?: string

          Defines the settlement price of the market

        • Optional settlementTimestamp?: string

          Defines the settlement time for the market in UNIX seconds.

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the binary options market.

      Returns internal.BinaryOptionsMarketInfo

  • toJSON:function
    • Parameters

      Returns unknown

BinaryOptionsMarketResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; } }): internal.BinaryOptionsMarketResponse
    • Parameters

      • Optional base: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; } }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; }

          Info about particular derivative market

      Returns internal.BinaryOptionsMarketResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; } }): internal.BinaryOptionsMarketResponse
    • Parameters

      • object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; } }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; }

          Info about particular derivative market

      Returns internal.BinaryOptionsMarketResponse

  • toJSON:function
BinaryOptionsMarketsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.BinaryOptionsMarketsResponse
    • Parameters

      • Optional base: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]

          Binary Options Markets list

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.BinaryOptionsMarketsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.BinaryOptionsMarketsResponse
    • Parameters

      • object: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: string | undefined; ... 10 more ...; settlementPrice?: string | undefined; })[]

          Binary Options Markets list

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.BinaryOptionsMarketsResponse

  • toJSON:function
Blob: { prototype: internal.Blob }

Type declaration

BlockDetailInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; totalTxs?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[] }): internal.BlockDetailInfo
    • Parameters

      • Optional base: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; totalTxs?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional totalTxs?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]

      Returns internal.BlockDetailInfo

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BlockDetailInfo

  • fromPartial:function
    • fromPartial(object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; totalTxs?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[] }): internal.BlockDetailInfo
    • Parameters

      • object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; totalTxs?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional totalTxs?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]

      Returns internal.BlockDetailInfo

  • toJSON:function
    • Parameters

      Returns unknown

BlockID: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { hash?: internal.Uint8Array; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } }
        • Optional hash?: internal.Uint8Array
        • Optional partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; }

      Returns internal.BlockID

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BlockID

  • fromPartial:function
    • Parameters

      • object: { hash?: internal.Uint8Array; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } }
        • Optional hash?: internal.Uint8Array
        • Optional partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; }

      Returns internal.BlockID

  • toJSON:function
    • Parameters

      Returns unknown

BlockInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }): internal.BlockInfo
    • Parameters

      • Optional base: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[]

      Returns internal.BlockInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BlockInfo

  • fromPartial:function
    • fromPartial(object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }): internal.BlockInfo
    • Parameters

      • object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[]

      Returns internal.BlockInfo

  • toJSON:function
    • Parameters

      Returns unknown

BroadcastCosmosTxResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { code?: number; codespace?: string; data?: internal.Uint8Array; height?: string; index?: number; rawLog?: string; timestamp?: string; txHash?: string }
        • Optional code?: number

          Response code

        • Optional codespace?: string

          Namespace for the resp code

        • Optional data?: internal.Uint8Array

          Result bytes, if any

        • Optional height?: string

          The block height

        • Optional index?: number

          Tx index in the block

        • Optional rawLog?: string

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

        • Optional timestamp?: string

          Time of the previous block.

        • Optional txHash?: string

          Hex-encoded Tendermint transaction hash

      Returns internal.BroadcastCosmosTxResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Parameters

      • object: { code?: number; codespace?: string; data?: internal.Uint8Array; height?: string; index?: number; rawLog?: string; timestamp?: string; txHash?: string }
        • Optional code?: number

          Response code

        • Optional codespace?: string

          Namespace for the resp code

        • Optional data?: internal.Uint8Array

          Result bytes, if any

        • Optional height?: string

          The block height

        • Optional index?: number

          Tx index in the block

        • Optional rawLog?: string

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

        • Optional timestamp?: string

          Time of the previous block.

        • Optional txHash?: string

          Hex-encoded Tendermint transaction hash

      Returns internal.BroadcastCosmosTxResponse

  • toJSON:function
BroadcastTxResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { code?: number; codespace?: string; data?: internal.Uint8Array; height?: string; index?: number; rawLog?: string; timestamp?: string; txHash?: string }
        • Optional code?: number

          Response code

        • Optional codespace?: string

          Namespace for the resp code

        • Optional data?: internal.Uint8Array

          Result bytes, if any

        • Optional height?: string

          The block height

        • Optional index?: number

          Tx index in the block

        • Optional rawLog?: string

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

        • Optional timestamp?: string

          Time of the previous block.

        • Optional txHash?: string

          Hex-encoded Tendermint transaction hash

      Returns internal.BroadcastTxResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.BroadcastTxResponse

  • fromPartial:function
    • Parameters

      • object: { code?: number; codespace?: string; data?: internal.Uint8Array; height?: string; index?: number; rawLog?: string; timestamp?: string; txHash?: string }
        • Optional code?: number

          Response code

        • Optional codespace?: string

          Namespace for the resp code

        • Optional data?: internal.Uint8Array

          Result bytes, if any

        • Optional height?: string

          The block height

        • Optional index?: number

          Tx index in the block

        • Optional rawLog?: string

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

        • Optional timestamp?: string

          Time of the previous block.

        • Optional txHash?: string

          Hex-encoded Tendermint transaction hash

      Returns internal.BroadcastTxResponse

  • toJSON:function
    • Parameters

      Returns unknown

Checksum: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { algorithm?: string; hash?: string }
        • Optional algorithm?: string

          Algorithm of hash function

        • Optional hash?: string

          Hash if apply algorithm to the cosmwasm bytecode

      Returns internal.Checksum

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Checksum

  • fromPartial:function
    • Parameters

      • object: { algorithm?: string; hash?: string }
        • Optional algorithm?: string

          Algorithm of hash function

        • Optional hash?: string

          Hash if apply algorithm to the cosmwasm bytecode

      Returns internal.Checksum

  • toJSON:function
    • Parameters

      Returns unknown

Commission: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; updateTime?: internal.Date }): internal.Commission
    • Parameters

      • Optional base: { commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; updateTime?: internal.Date }
        • Optional commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }

          commission_rates defines the initial commission rates to be used for creating a validator.

        • Optional updateTime?: internal.Date

          update_time is the last time the commission rate was changed.

      Returns internal.Commission

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Commission

  • fromPartial:function
    • fromPartial(object: { commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; updateTime?: internal.Date }): internal.Commission
    • Parameters

      • object: { commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }; updateTime?: internal.Date }
        • Optional commissionRates?: { rate?: string | undefined; maxRate?: string | undefined; maxChangeRate?: string | undefined; }

          commission_rates defines the initial commission rates to be used for creating a validator.

        • Optional updateTime?: internal.Date

          update_time is the last time the commission rate was changed.

      Returns internal.Commission

  • toJSON:function
    • Parameters

      Returns unknown

CommissionRates: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { maxChangeRate?: string; maxRate?: string; rate?: string }
        • Optional maxChangeRate?: string

          max_change_rate defines the maximum daily increase of the validator commission, as a fraction.

        • Optional maxRate?: string

          max_rate defines the maximum commission rate which validator can ever charge, as a fraction.

        • Optional rate?: string

          rate is the commission rate charged to delegators, as a fraction.

      Returns internal.CommissionRates

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.CommissionRates

  • fromPartial:function
    • Parameters

      • object: { maxChangeRate?: string; maxRate?: string; rate?: string }
        • Optional maxChangeRate?: string

          max_change_rate defines the maximum daily increase of the validator commission, as a fraction.

        • Optional maxRate?: string

          max_rate defines the maximum commission rate which validator can ever charge, as a fraction.

        • Optional rate?: string

          rate is the commission rate charged to delegators, as a fraction.

      Returns internal.CommissionRates

  • toJSON:function
    • Parameters

      Returns unknown

CompactBitArray: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

ConditionalDerivativeOrderBook: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]; marketId?: string; marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[] }): internal.ConditionalDerivativeOrderBook
    • Parameters

      • Optional base: { limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]; marketId?: string; marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[] }
        • Optional limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]
        • Optional limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]
        • Optional marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]
        • Optional marketId?: string
        • Optional marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]

      Returns internal.ConditionalDerivativeOrderBook

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]; marketId?: string; marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[] }): internal.ConditionalDerivativeOrderBook
    • Parameters

      • object: { limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]; marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]; marketId?: string; marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[] }
        • Optional limitBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]
        • Optional limitSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]
        • Optional marketBuyOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]
        • Optional marketId?: string
        • Optional marketSellOrders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; marginHold?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | ...)[]

      Returns internal.ConditionalDerivativeOrderBook

  • toJSON:function
ContractFund: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { amount?: string; denom?: string }
        • Optional amount?: string

          Amount of denom

        • Optional denom?: string

          Denominator

      Returns internal.ContractFund

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.ContractFund

  • fromPartial:function
    • Parameters

      • object: { amount?: string; denom?: string }
        • Optional amount?: string

          Amount of denom

        • Optional denom?: string

          Denominator

      Returns internal.ContractFund

  • toJSON:function
    • Parameters

      Returns unknown

ContractPermission: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

CosmosCoin: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { amount?: string; denom?: string }
        • Optional amount?: string

          Coin amount (big int)

        • Optional denom?: string

          Coin denominator

      Returns internal.CosmosCoin

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.CosmosCoin

  • fromPartial:function
    • Parameters

      • object: { amount?: string; denom?: string }
        • Optional amount?: string

          Coin amount (big int)

        • Optional denom?: string

          Coin denominator

      Returns internal.CosmosCoin

  • toJSON:function
    • Parameters

      Returns unknown

CosmosPubKey: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { key?: string; type?: string }
        • Optional key?: string

          Hex-encoded string of the public key

        • Optional type?: string

          Pubkey type URL

      Returns internal.CosmosPubKey

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.CosmosPubKey

  • fromPartial:function
    • Parameters

      • object: { key?: string; type?: string }
        • Optional key?: string

          Hex-encoded string of the public key

        • Optional type?: string

          Pubkey type URL

      Returns internal.CosmosPubKey

  • toJSON:function
    • Parameters

      Returns unknown

Cw20MarketingInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Cw20Metadata: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }; tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } }): internal.Cw20Metadata
    • Parameters

      • Optional base: { marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }; tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } }
        • Optional marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }
        • Optional tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; }

      Returns internal.Cw20Metadata

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Cw20Metadata

  • fromPartial:function
    • fromPartial(object: { marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }; tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } }): internal.Cw20Metadata
    • Parameters

      • object: { marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }; tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } }
        • Optional marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; }
        • Optional tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; }

      Returns internal.Cw20Metadata

  • toJSON:function
    • Parameters

      Returns unknown

Cw20TokenInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { decimals?: string; name?: string; symbol?: string; totalSupply?: string }): internal.Cw20TokenInfo
    • Parameters

      • Optional base: { decimals?: string; name?: string; symbol?: string; totalSupply?: string }
        • Optional decimals?: string

          Decimal places of token

        • Optional name?: string

          General name of the token

        • Optional symbol?: string

          Symbol of then token

        • Optional totalSupply?: string

          Token's total supply

      Returns internal.Cw20TokenInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Cw20TokenInfo

  • fromPartial:function
    • fromPartial(object: { decimals?: string; name?: string; symbol?: string; totalSupply?: string }): internal.Cw20TokenInfo
    • Parameters

      • object: { decimals?: string; name?: string; symbol?: string; totalSupply?: string }
        • Optional decimals?: string

          Decimal places of token

        • Optional name?: string

          General name of the token

        • Optional symbol?: string

          Symbol of then token

        • Optional totalSupply?: string

          Token's total supply

      Returns internal.Cw20TokenInfo

  • toJSON:function
    • Parameters

      Returns unknown

DecCoin: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { amount?: string; denom?: string }
        • Optional amount?: string
        • Optional denom?: string

      Returns internal.DecCoin

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DecCoin

  • fromPartial:function
    • Parameters

      • object: { amount?: string; denom?: string }
        • Optional amount?: string
        • Optional denom?: string

      Returns internal.DecCoin

  • toJSON:function
    • Parameters

      Returns unknown

DelegationDelegatorReward: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

DelegationResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balance?: { denom?: string | undefined; amount?: string | undefined; }; delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } }): internal.DelegationResponse
    • Parameters

      • Optional base: { balance?: { denom?: string | undefined; amount?: string | undefined; }; delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } }
        • Optional balance?: { denom?: string | undefined; amount?: string | undefined; }
        • Optional delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; }

      Returns internal.DelegationResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DelegationResponse

  • fromPartial:function
    • fromPartial(object: { balance?: { denom?: string | undefined; amount?: string | undefined; }; delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } }): internal.DelegationResponse
    • Parameters

      • object: { balance?: { denom?: string | undefined; amount?: string | undefined; }; delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } }
        • Optional balance?: { denom?: string | undefined; amount?: string | undefined; }
        • Optional delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; }

      Returns internal.DelegationResponse

  • toJSON:function
    • Parameters

      Returns unknown

DenomDecimals: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { decimals?: string; denom?: string }
        • Optional decimals?: string
        • Optional denom?: string

      Returns internal.DenomDecimals

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DenomDecimals

  • fromPartial:function
    • Parameters

      • object: { decimals?: string; denom?: string }
        • Optional decimals?: string
        • Optional denom?: string

      Returns internal.DenomDecimals

  • toJSON:function
    • Parameters

      Returns unknown

DenomTrace: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { baseDenom?: string; path?: string }
        • Optional baseDenom?: string

          base denomination of the relayed fungible token.

        • Optional path?: string

          path defines the chain of port/channel identifiers used for tracing the source of the fungible token.

      Returns internal.DenomTrace

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DenomTrace

  • fromPartial:function
    • Parameters

      • object: { baseDenom?: string; path?: string }
        • Optional baseDenom?: string

          base denomination of the relayed fungible token.

        • Optional path?: string

          path defines the chain of port/channel identifiers used for tracing the source of the fungible token.

      Returns internal.DenomTrace

  • toJSON:function
    • Parameters

      Returns unknown

DepositParams: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }; minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.DepositParams
    • Parameters

      • Optional base: { maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }; minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }

          Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.

        • Optional minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Minimum deposit for a proposal to enter voting period.

      Returns internal.DepositParams

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DepositParams

  • fromPartial:function
    • fromPartial(object: { maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }; minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.DepositParams
    • Parameters

      • object: { maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }; minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional maxDepositPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }

          Maximum period for Atom holders to deposit on a proposal. Initial value: 2 months.

        • Optional minDeposit?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Minimum deposit for a proposal to enter voting period.

      Returns internal.DepositParams

  • toJSON:function
    • Parameters

      Returns unknown

DerivativeLimitOrderbook: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; timestamp?: string }): internal.DerivativeLimitOrderbook
    • Parameters

      • Optional base: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; timestamp?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for buys

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for sells

        • Optional timestamp?: string

          Last update timestamp in UNIX millis.

      Returns internal.DerivativeLimitOrderbook

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DerivativeLimitOrderbook

  • fromPartial:function
    • fromPartial(object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; timestamp?: string }): internal.DerivativeLimitOrderbook
    • Parameters

      • object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; timestamp?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for buys

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for sells

        • Optional timestamp?: string

          Last update timestamp in UNIX millis.

      Returns internal.DerivativeLimitOrderbook

  • toJSON:function
    • Parameters

      Returns unknown

DerivativeLimitOrderbookV2: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sequence?: string; timestamp?: string }): internal.DerivativeLimitOrderbookV2
    • Parameters

      • Optional base: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sequence?: string; timestamp?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for buys

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for sells

        • Optional sequence?: string

          market orderbook sequence

        • Optional timestamp?: string

          Last update timestamp in UNIX millis.

      Returns internal.DerivativeLimitOrderbookV2

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sequence?: string; timestamp?: string }): internal.DerivativeLimitOrderbookV2
    • Parameters

      • object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]; sequence?: string; timestamp?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for buys

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; })[]

          Array of price levels for sells

        • Optional sequence?: string

          market orderbook sequence

        • Optional timestamp?: string

          Last update timestamp in UNIX millis.

      Returns internal.DerivativeLimitOrderbookV2

  • toJSON:function
    • Parameters

      Returns unknown

DerivativeMarketInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }; initialMarginRatio?: string; isPerpetual?: boolean; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: string; perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }): internal.DerivativeMarketInfo
    • Parameters

      • Optional base: { expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }; initialMarginRatio?: string; isPerpetual?: boolean; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: string; perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }
        • Optional expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }
        • Optional initialMarginRatio?: string

          Defines the initial margin ratio of a derivative market

        • Optional isPerpetual?: boolean

          True if the market is a perpetual swap market

        • Optional maintenanceMarginRatio?: string

          Defines the maintenance margin ratio of a derivative market

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          DerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets

        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          OracleScaleFactor

        • Optional oracleType?: string

          Oracle Type

        • Optional perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }
        • Optional perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }
        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.

      Returns internal.DerivativeMarketInfo

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DerivativeMarketInfo

  • fromPartial:function
    • fromPartial(object: { expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }; initialMarginRatio?: string; isPerpetual?: boolean; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: string; perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }): internal.DerivativeMarketInfo
    • Parameters

      • object: { expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }; initialMarginRatio?: string; isPerpetual?: boolean; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: string; perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }
        • Optional expiryFuturesMarketInfo?: { expirationTimestamp?: string | undefined; settlementPrice?: string | undefined; }
        • Optional initialMarginRatio?: string

          Defines the initial margin ratio of a derivative market

        • Optional isPerpetual?: boolean

          True if the market is a perpetual swap market

        • Optional maintenanceMarginRatio?: string

          Defines the maintenance margin ratio of a derivative market

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          DerivativeMarket ID is crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote))) for perpetual markets and crypto.Keccak256Hash([]byte((oracleType.String() + ticker + quoteDenom + oracleBase + oracleQuote + strconv.Itoa(int(expiry))))) for expiry futures markets

        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          OracleScaleFactor

        • Optional oracleType?: string

          Oracle Type

        • Optional perpetualMarketFunding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }
        • Optional perpetualMarketInfo?: { hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; }
        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.

      Returns internal.DerivativeMarketInfo

  • toJSON:function
    • Parameters

      Returns unknown

DerivativeMarketOrder: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { margin?: string; marginHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.DerivativeMarketOrder
    • Parameters

      • Optional base: { margin?: string; marginHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional margin?: string
        • Optional marginHold?: string
        • Optional orderHash?: internal.Uint8Array
        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.DerivativeMarketOrder

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DerivativeMarketOrder

  • fromPartial:function
    • fromPartial(object: { margin?: string; marginHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.DerivativeMarketOrder
    • Parameters

      • object: { margin?: string; marginHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional margin?: string
        • Optional marginHold?: string
        • Optional orderHash?: internal.Uint8Array
        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.DerivativeMarketOrder

  • toJSON:function
    • Parameters

      Returns unknown

DerivativeMarketParamUpdateProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { HourlyFundingRateCap?: string; HourlyInterestRate?: string; description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }): internal.DerivativeMarketParamUpdateProposal
    • Parameters

      • Optional base: { HourlyFundingRateCap?: string; HourlyInterestRate?: string; description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }
        • Optional HourlyFundingRateCap?: string

          hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate

        • Optional HourlyInterestRate?: string

          hourly_interest_rate defines the hourly interest rate

        • Optional description?: string
        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional marketId?: string
        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }
        • Optional relayerFeeShareRate?: string

          relayer_fee_share_rate defines the relayer fee share rate for the derivative market

        • Optional status?: MarketStatus
        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional title?: string

      Returns internal.DerivativeMarketParamUpdateProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { HourlyFundingRateCap?: string; HourlyInterestRate?: string; description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }): internal.DerivativeMarketParamUpdateProposal
    • Parameters

      • object: { HourlyFundingRateCap?: string; HourlyInterestRate?: string; description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }
        • Optional HourlyFundingRateCap?: string

          hourly_funding_rate_cap defines the maximum absolute value of the hourly funding rate

        • Optional HourlyInterestRate?: string

          hourly_interest_rate defines the hourly interest rate

        • Optional description?: string
        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional marketId?: string
        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleParams?: { oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleScaleFactor?: number | undefined; oracleType?: OracleType | undefined; }
        • Optional relayerFeeShareRate?: string

          relayer_fee_share_rate defines the relayer fee share rate for the derivative market

        • Optional status?: MarketStatus
        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional title?: string

      Returns internal.DerivativeMarketParamUpdateProposal

  • toJSON:function
DerivativeMarketSettlementInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

DerivativeOrderBook: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[] }): internal.DerivativeOrderBook
    • Parameters

      • Optional base: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[] }
        • Optional isBuySide?: boolean
        • Optional marketId?: string
        • Optional orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]

      Returns internal.DerivativeOrderBook

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DerivativeOrderBook

  • fromPartial:function
    • fromPartial(object: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[] }): internal.DerivativeOrderBook
    • Parameters

      • object: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[] }
        • Optional isBuySide?: boolean
        • Optional marketId?: string
        • Optional orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; margin?: string | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | un...)[]

      Returns internal.DerivativeOrderBook

  • toJSON:function
    • Parameters

      Returns unknown

DerivativePosition: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }; subaccountId?: string }): internal.DerivativePosition
    • Parameters

      • Optional base: { marketId?: string; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }; subaccountId?: string }
        • Optional marketId?: string
        • Optional position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }
        • Optional subaccountId?: string

      Returns internal.DerivativePosition

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.DerivativePosition

  • fromPartial:function
    • fromPartial(object: { marketId?: string; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }; subaccountId?: string }): internal.DerivativePosition
    • Parameters

      • object: { marketId?: string; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }; subaccountId?: string }
        • Optional marketId?: string
        • Optional position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; }
        • Optional subaccountId?: string

      Returns internal.DerivativePosition

  • toJSON:function
    • Parameters

      Returns unknown

Description: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { details?: string; identity?: string; moniker?: string; securityContact?: string; website?: string }): internal.Description
    • Parameters

      • Optional base: { details?: string; identity?: string; moniker?: string; securityContact?: string; website?: string }
        • Optional details?: string

          details define other optional details.

        • Optional identity?: string

          identity defines an optional identity signature (ex. UPort or Keybase).

        • Optional moniker?: string

          moniker defines a human-readable name for the validator.

        • Optional securityContact?: string

          security_contact defines an optional email for security contact.

        • Optional website?: string

          website defines an optional website link.

      Returns internal.Description

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Description

  • fromPartial:function
    • fromPartial(object: { details?: string; identity?: string; moniker?: string; securityContact?: string; website?: string }): internal.Description
    • Parameters

      • object: { details?: string; identity?: string; moniker?: string; securityContact?: string; website?: string }
        • Optional details?: string

          details define other optional details.

        • Optional identity?: string

          identity defines an optional identity signature (ex. UPort or Keybase).

        • Optional moniker?: string

          moniker defines a human-readable name for the validator.

        • Optional securityContact?: string

          security_contact defines an optional email for security contact.

        • Optional website?: string

          website defines an optional website link.

      Returns internal.Description

  • toJSON:function
    • Parameters

      Returns unknown

Duration: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { nanos?: number; seconds?: string }
        • Optional nanos?: number

          Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 seconds field and a positive or negative nanos field. For durations of one second or more, a non-zero value for the nanos field must be of the same sign as the seconds field. Must be from -999,999,999 to +999,999,999 inclusive.

        • Optional seconds?: string

          Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

      Returns internal.Duration

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Duration

  • fromPartial:function
    • Parameters

      • object: { nanos?: number; seconds?: string }
        • Optional nanos?: number

          Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 seconds field and a positive or negative nanos field. For durations of one second or more, a non-zero value for the nanos field must be of the same sign as the seconds field. Must be from -999,999,999 to +999,999,999 inclusive.

        • Optional seconds?: string

          Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

      Returns internal.Duration

  • toJSON:function
    • Parameters

      Returns unknown

EnableBandIBCProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }; description?: string; title?: string }): internal.EnableBandIBCProposal
    • Parameters

      • Optional base: { bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }; description?: string; title?: string }
        • Optional bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }
        • Optional description?: string
        • Optional title?: string

      Returns internal.EnableBandIBCProposal

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.EnableBandIBCProposal

  • fromPartial:function
    • fromPartial(object: { bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }; description?: string; title?: string }): internal.EnableBandIBCProposal
    • Parameters

      • object: { bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }; description?: string; title?: string }
        • Optional bandIbcParams?: { bandIbcEnabled?: boolean | undefined; ibcRequestInterval?: string | undefined; ibcSourceChannel?: string | undefined; ibcVersion?: string | undefined; ibcPortId?: string | undefined; legacyOracleIds?: string[] | undefined; }
        • Optional description?: string
        • Optional title?: string

      Returns internal.EnableBandIBCProposal

  • toJSON:function
    • Parameters

      Returns unknown

Event: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { attributes?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; })[]; type?: string }): internal.Event
    • Parameters

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

      Returns internal.Event

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Event

  • fromPartial:function
    • fromPartial(object: { attributes?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; })[]; type?: string }): internal.Event
    • Parameters

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

      Returns internal.Event

  • toJSON:function
    • Parameters

      Returns unknown

EventAttribute: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

EventAuctionResult: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { amount?: string; round?: string; winner?: string }
        • Optional amount?: string

          amount describes the amount the winner get from the auction

        • Optional round?: string

          round defines the round number of auction

        • Optional winner?: string

          winner describes the address of the winner

      Returns internal.EventAuctionResult

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.EventAuctionResult

  • fromPartial:function
    • Parameters

      • object: { amount?: string; round?: string; winner?: string }
        • Optional amount?: string

          amount describes the amount the winner get from the auction

        • Optional round?: string

          round defines the round number of auction

        • Optional winner?: string

          winner describes the address of the winner

      Returns internal.EventAuctionResult

  • toJSON:function
    • Parameters

      Returns unknown

EventBid: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { amount?: string; bidder?: string; round?: string }): internal.EventBid
    • Parameters

      • Optional base: { amount?: string; bidder?: string; round?: string }
        • Optional amount?: string

          amount describes the amount the bidder put on the auction

        • Optional bidder?: string

          bidder describes the address of bidder

        • Optional round?: string

          round defines the round number of auction

      Returns internal.EventBid

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.EventBid

  • fromPartial:function
    • fromPartial(object: { amount?: string; bidder?: string; round?: string }): internal.EventBid
    • Parameters

      • object: { amount?: string; bidder?: string; round?: string }
        • Optional amount?: string

          amount describes the amount the bidder put on the auction

        • Optional bidder?: string

          bidder describes the address of bidder

        • Optional round?: string

          round defines the round number of auction

      Returns internal.EventBid

  • toJSON:function
    • Parameters

      Returns unknown

EventTarget: { prototype: internal.EventTarget }

Type declaration

ExchangeEnableProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

ExpiryFuturesMarketInfoState: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } }): internal.ExpiryFuturesMarketInfoState
    • Parameters

      • Optional base: { marketId?: string; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } }
        • Optional marketId?: string
        • Optional marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; }

      Returns internal.ExpiryFuturesMarketInfoState

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { marketId?: string; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } }): internal.ExpiryFuturesMarketInfoState
    • Parameters

      • object: { marketId?: string; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } }
        • Optional marketId?: string
        • Optional marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; }

      Returns internal.ExpiryFuturesMarketInfoState

  • toJSON:function
ExpiryFuturesMarketLaunchProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; expiry?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.ExpiryFuturesMarketLaunchProposal
    • Parameters

      • Optional base: { description?: string; expiry?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional description?: string
        • Optional expiry?: string

          Expiration time of the market

        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

        • Optional quoteDenom?: string

          type of coin to use as the quote currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional ticker?: string

          Ticker for the derivative market.

        • Optional title?: string

      Returns internal.ExpiryFuturesMarketLaunchProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { description?: string; expiry?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.ExpiryFuturesMarketLaunchProposal
    • Parameters

      • object: { description?: string; expiry?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional description?: string
        • Optional expiry?: string

          Expiration time of the market

        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

        • Optional quoteDenom?: string

          type of coin to use as the quote currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional ticker?: string

          Ticker for the derivative market.

        • Optional title?: string

      Returns internal.ExpiryFuturesMarketLaunchProposal

  • toJSON:function
ExtensionOptionsWeb3Tx: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

FeeDiscountAccountTierTTL: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

FeeDiscountBucketVolumeAccounts: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

FeeDiscountProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; title?: string }): internal.FeeDiscountProposal
    • Parameters

      • Optional base: { description?: string; schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; title?: string }
        • Optional description?: string
        • Optional schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...
        • Optional title?: string

      Returns internal.FeeDiscountProposal

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.FeeDiscountProposal

  • fromPartial:function
    • fromPartial(object: { description?: string; schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; title?: string }): internal.FeeDiscountProposal
    • Parameters

      • object: { description?: string; schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; title?: string }
        • Optional description?: string
        • Optional schedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...
        • Optional title?: string

      Returns internal.FeeDiscountProposal

  • toJSON:function
    • Parameters

      Returns unknown

File: { prototype: internal.File }

Type declaration

FormData: { prototype: internal.FormData }

Type declaration

FundingPaymentsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }): internal.FundingPaymentsResponse
    • Parameters

      • Optional base: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[]

          List of funding payments

      Returns internal.FundingPaymentsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.FundingPaymentsResponse

  • fromPartial:function
    • fromPartial(object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }): internal.FundingPaymentsResponse
    • Parameters

      • object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional payments?: ({ marketId?: string | undefined; subaccountId?: string | undefined; amount?: string | undefined; timestamp?: string | undefined; })[]

          List of funding payments

      Returns internal.FundingPaymentsResponse

  • toJSON:function
    • Parameters

      Returns unknown

FundingRatesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.FundingRatesResponse
    • Parameters

      • Optional base: { fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]

          List of funding rates

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.FundingRatesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.FundingRatesResponse

  • fromPartial:function
    • fromPartial(object: { fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.FundingRatesResponse
    • Parameters

      • object: { fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional fundingRates?: ({ marketId?: string | undefined; rate?: string | undefined; timestamp?: string | undefined; })[]

          List of funding rates

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.FundingRatesResponse

  • toJSON:function
    • Parameters

      Returns unknown

FundsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[] }): internal.FundsResponse
    • Parameters

      • Optional base: { funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[] }
        • Optional funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[]

      Returns internal.FundsResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.FundsResponse

  • fromPartial:function
    • fromPartial(object: { funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[] }): internal.FundsResponse
    • Parameters

      • object: { funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[] }
        • Optional funds?: ({ marketTicker?: string | undefined; marketId?: string | undefined; depositDenom?: string | undefined; poolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: string | undefined; ... 6 more ...; depositTokenMeta?: { ...; } | undefined; })[]

      Returns internal.FundsResponse

  • toJSON:function
    • Parameters

      Returns unknown

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

Type declaration

  • create:function
    • Parameters

      • Optional base: { gasUsed?: string; gasWanted?: string }
        • Optional gasUsed?: string

          GasUsed is the amount of gas actually consumed.

        • Optional gasWanted?: string

          GasWanted is the maximum units of work we allow this tx to perform.

      Returns internal.GasInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GasInfo

  • fromPartial:function
    • fromPartial(object: { gasUsed?: string; gasWanted?: string }): internal.GasInfo
    • Parameters

      • object: { gasUsed?: string; gasWanted?: string }
        • Optional gasUsed?: string

          GasUsed is the amount of gas actually consumed.

        • Optional gasWanted?: string

          GasWanted is the maximum units of work we allow this tx to perform.

      Returns internal.GasInfo

  • toJSON:function
    • Parameters

      Returns unknown

GenesisState: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]; binaryOptionsMarketIdsScheduledForSettlement?: string[]; binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]; conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]; denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]; derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]; derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]; derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]; expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]; feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]; feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]; feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]; isDerivativesExchangeEnabled?: boolean; isFirstFeeCycleFinished?: boolean; isSpotExchangeEnabled?: boolean; marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]; marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]; orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]; params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }; pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]; perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]; positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]; rewardsOptOutAddresses?: string[]; spotMarketIdsScheduledToForceClose?: string[]; spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]; spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]; subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]; subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]; tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }): internal.GenesisState
    • Parameters

      • Optional base: { balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]; binaryOptionsMarketIdsScheduledForSettlement?: string[]; binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]; conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]; denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]; derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]; derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]; derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]; expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]; feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]; feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]; feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]; isDerivativesExchangeEnabled?: boolean; isFirstFeeCycleFinished?: boolean; isSpotExchangeEnabled?: boolean; marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]; marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]; orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]; params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }; pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]; perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]; positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]; rewardsOptOutAddresses?: string[]; spotMarketIdsScheduledToForceClose?: string[]; spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]; spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]; subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]; subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]; tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }
        • Optional balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]

          balances defines the exchange users balances active at genesis.

        • Optional binaryOptionsMarketIdsScheduledForSettlement?: string[]

          binary_options_markets_scheduled_for_settlement contains the marketIDs of binary options markets scheduled for next-block settlement

        • Optional binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]

          binary_options_markets is an array containing the genesis binary options markets

        • Optional conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]

          conditional_derivative_orderbook contains conditional orderbooks for all markets (both lmit and market conditional orders)

        • Optional denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]

          denom_decimals defines the denom decimals for the exchange.

        • Optional derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]

          derivative_market_settlement_scheduled defines the scheduled markets for settlement at genesis

        • Optional derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]

          derivative_markets is an array containing the genesis derivative markets

        • Optional derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]

          derivative_orderbook defines the derivative exchange limit orderbook active at genesis.

        • Optional expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]

          expiry_futures_market_info defines the market info for the expiry futures markets at genesis

        • Optional feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]

          the cached fee discount account tiers with TTL

        • Optional feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]

          the fee discount paid by accounts in all buckets

        • Optional feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...

          the fee discount schedule

        • Optional historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]
        • Optional isDerivativesExchangeEnabled?: boolean

          sets derivative markets as enabled

        • Optional isFirstFeeCycleFinished?: boolean

          sets the first fee cycle as finished

        • Optional isSpotExchangeEnabled?: boolean

          sets spot markets as enabled

        • Optional marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]

          market_fee_multipliers contains any non-default atomic order fee multipliers

        • Optional marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]
        • Optional orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]
        • Optional params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }

          params defines all the parameters of related to exchange.

        • Optional pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]

          the pending trading reward account points

        • Optional pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          the current and upcoming trading reward campaign pending pools

        • Optional perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]

          perpetual_market_funding_state defines the funding state for the perpetual derivative markets at genesis

        • Optional perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]

          perpetual_market_info defines the market info for the perpetual derivative markets at genesis

        • Optional positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]

          positions defines the exchange derivative positions at genesis

        • Optional rewardsOptOutAddresses?: string[]

          the addresses opting out of trading rewards

        • Optional spotMarketIdsScheduledToForceClose?: string[]

          spot_market_ids_scheduled_to_force_close defines the scheduled markets for forced closings at genesis

        • Optional spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]

          spot_markets is an array containing the genesis trade pairs

        • Optional spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]

          spot_orderbook defines the spot exchange limit orderbook active at genesis.

        • Optional subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]

          subaccount_trade_nonces defines the subaccount trade nonces for the subaccounts at genesis

        • Optional subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]
        • Optional tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]

          the current trading reward account points

        • Optional tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...

          the current trading reward campaign info

        • Optional tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          the current and upcoming trading reward campaign pools

      Returns internal.GenesisState

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GenesisState

  • fromPartial:function
    • fromPartial(object: { balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]; binaryOptionsMarketIdsScheduledForSettlement?: string[]; binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]; conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]; denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]; derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]; derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]; derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]; expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]; feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]; feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]; feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]; isDerivativesExchangeEnabled?: boolean; isFirstFeeCycleFinished?: boolean; isSpotExchangeEnabled?: boolean; marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]; marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]; orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]; params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }; pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]; perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]; positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]; rewardsOptOutAddresses?: string[]; spotMarketIdsScheduledToForceClose?: string[]; spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]; spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]; subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]; subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]; tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }): internal.GenesisState
    • Parameters

      • object: { balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]; binaryOptionsMarketIdsScheduledForSettlement?: string[]; binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]; conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]; denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]; derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]; derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]; derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]; expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]; feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]; feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]; feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...; historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]; isDerivativesExchangeEnabled?: boolean; isFirstFeeCycleFinished?: boolean; isSpotExchangeEnabled?: boolean; marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]; marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]; orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]; params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }; pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]; perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]; positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]; rewardsOptOutAddresses?: string[]; spotMarketIdsScheduledToForceClose?: string[]; spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]; spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]; subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]; subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]; tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }
        • Optional balances?: ({ subaccountId?: string | undefined; denom?: string | undefined; deposits?: { availableBalance?: string | undefined; totalBalance?: string | undefined; } | undefined; })[]

          balances defines the exchange users balances active at genesis.

        • Optional binaryOptionsMarketIdsScheduledForSettlement?: string[]

          binary_options_markets_scheduled_for_settlement contains the marketIDs of binary options markets scheduled for next-block settlement

        • Optional binaryOptionsMarkets?: ({ ticker?: string | undefined; oracleSymbol?: string | undefined; oracleProvider?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 11 more ...; settlementPrice?: string | undefined; })[]

          binary_options_markets is an array containing the genesis binary options markets

        • Optional conditionalDerivativeOrderbooks?: ({ marketId?: string | undefined; limitBuyOrders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; marketBuyOrders?: { ...; }[] | undefin...)[]

          conditional_derivative_orderbook contains conditional orderbooks for all markets (both lmit and market conditional orders)

        • Optional denomDecimals?: ({ denom?: string | undefined; decimals?: string | undefined; })[]

          denom_decimals defines the denom decimals for the exchange.

        • Optional derivativeMarketSettlementScheduled?: ({ marketId?: string | undefined; settlementPrice?: string | undefined; })[]

          derivative_market_settlement_scheduled defines the scheduled markets for settlement at genesis

        • Optional derivativeMarkets?: ({ ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: OracleType | undefined; oracleScaleFactor?: number | undefined; ... 10 more ...; minQuantityTickSize?: string | undefined; })[]

          derivative_markets is an array containing the genesis derivative markets

        • Optional derivativeOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; ... 4 more ...; orderHash?: Uint8Array | undefined; }[] | undefined; })[]

          derivative_orderbook defines the derivative exchange limit orderbook active at genesis.

        • Optional expiryFuturesMarketInfoState?: ({ marketId?: string | undefined; marketInfo?: { marketId?: string | undefined; expirationTimestamp?: string | undefined; twapStartTimestamp?: string | undefined; expirationTwapStartPriceCumulative?: string | undefined; settlementPrice?: string | undefined; } | undefined; })[]

          expiry_futures_market_info defines the market info for the expiry futures markets at genesis

        • Optional feeDiscountAccountTierTtl?: ({ account?: string | undefined; tierTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; } | undefined; })[]

          the cached fee discount account tiers with TTL

        • Optional feeDiscountBucketVolumeAccounts?: ({ bucketStartTimestamp?: string | undefined; accountVolume?: { account?: string | undefined; volume?: string | undefined; }[] | undefined; })[]

          the fee discount paid by accounts in all buckets

        • Optional feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...

          the fee discount schedule

        • Optional historicalTradeRecords?: ({ marketId?: string | undefined; latestTradeRecords?: { timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; }[] | undefined; })[]
        • Optional isDerivativesExchangeEnabled?: boolean

          sets derivative markets as enabled

        • Optional isFirstFeeCycleFinished?: boolean

          sets the first fee cycle as finished

        • Optional isSpotExchangeEnabled?: boolean

          sets spot markets as enabled

        • Optional marketFeeMultipliers?: ({ marketId?: string | undefined; feeMultiplier?: string | undefined; })[]

          market_fee_multipliers contains any non-default atomic order fee multipliers

        • Optional marketVolumes?: ({ marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; })[]
        • Optional orderbookSequences?: ({ sequence?: string | undefined; marketId?: string | undefined; })[]
        • Optional params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }

          params defines all the parameters of related to exchange.

        • Optional pendingTradingRewardCampaignAccountPoints?: ({ rewardPoolStartTimestamp?: string | undefined; accountPoints?: { account?: string | undefined; points?: string | undefined; }[] | undefined; })[]

          the pending trading reward account points

        • Optional pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          the current and upcoming trading reward campaign pending pools

        • Optional perpetualMarketFundingState?: ({ marketId?: string | undefined; funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; } | undefined; })[]

          perpetual_market_funding_state defines the funding state for the perpetual derivative markets at genesis

        • Optional perpetualMarketInfo?: ({ marketId?: string | undefined; hourlyFundingRateCap?: string | undefined; hourlyInterestRate?: string | undefined; nextFundingTimestamp?: string | undefined; fundingInterval?: string | undefined; })[]

          perpetual_market_info defines the market info for the perpetual derivative markets at genesis

        • Optional positions?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]

          positions defines the exchange derivative positions at genesis

        • Optional rewardsOptOutAddresses?: string[]

          the addresses opting out of trading rewards

        • Optional spotMarketIdsScheduledToForceClose?: string[]

          spot_market_ids_scheduled_to_force_close defines the scheduled markets for forced closings at genesis

        • Optional spotMarkets?: ({ ticker?: string | undefined; baseDenom?: string | undefined; quoteDenom?: string | undefined; makerFeeRate?: string | undefined; takerFeeRate?: string | undefined; relayerFeeShareRate?: string | undefined; marketId?: string | undefined; status?: MarketStatus | undefined; minPriceTickSize?: string | undefined; minQ...)[]

          spot_markets is an array containing the genesis trade pairs

        • Optional spotOrderbook?: ({ marketId?: string | undefined; isBuySide?: boolean | undefined; orders?: { orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: s...)[]

          spot_orderbook defines the spot exchange limit orderbook active at genesis.

        • Optional subaccountTradeNonces?: ({ subaccountId?: string | undefined; subaccountTradeNonce?: { nonce?: number | undefined; } | undefined; })[]

          subaccount_trade_nonces defines the subaccount trade nonces for the subaccounts at genesis

        • Optional subaccountVolumes?: ({ subaccountId?: string | undefined; marketVolumes?: { marketId?: string | undefined; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } | undefined; }[] | undefined; })[]
        • Optional tradingRewardCampaignAccountPoints?: ({ account?: string | undefined; points?: string | undefined; })[]

          the current trading reward account points

        • Optional tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...

          the current trading reward campaign info

        • Optional tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          the current and upcoming trading reward campaign pools

      Returns internal.GenesisState

  • toJSON:function
    • Parameters

      Returns unknown

GetAccountTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetAccountTxsResponse
    • Parameters

      • Optional base: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetAccountTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetAccountTxsResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetAccountTxsResponse
    • Parameters

      • object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetAccountTxsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetBlockResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }; errmsg?: string; s?: string }): internal.GetBlockResponse
    • Parameters

      • Optional base: { data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetBlockResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetBlockResponse

  • fromPartial:function
    • fromPartial(object: { data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }; errmsg?: string; s?: string }): internal.GetBlockResponse
    • Parameters

      • object: { data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; totalTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetBlockResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetBlockWithTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...; blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }): internal.GetBlockWithTxsResponse
    • Parameters

      • Optional base: { block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...; blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }
        • Optional block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...
        • Optional blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines a pagination for the response.

        • Optional txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[]

          txs are the transactions in the block.

      Returns internal.GetBlockWithTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...; blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }): internal.GetBlockWithTxsResponse
    • Parameters

      • object: { block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...; blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }
        • Optional block?: { header?: { version?: { block?: string | undefined; app?: string | undefined; } | undefined; chainId?: string | undefined; height?: string | undefined; time?: Date | undefined; ... 9 more ...; proposerAddress?: Uint8Array | undefined; } | undefined; data?: { ...; } | undefined; evidence?: { ...; } | undefined; last...
        • Optional blockId?: { hash?: Uint8Array | undefined; partSetHeader?: { total?: number | undefined; hash?: Uint8Array | undefined; } | undefined; }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines a pagination for the response.

        • Optional txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[]

          txs are the transactions in the block.

      Returns internal.GetBlockWithTxsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetBlocksResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetBlocksResponse
    • Parameters

      • Optional base: { data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetBlocksResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetBlocksResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetBlocksResponse
    • Parameters

      • object: { data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ height?: string | undefined; proposer?: string | undefined; moniker?: string | undefined; blockHash?: string | undefined; parentHash?: string | undefined; numPreCommits?: string | undefined; numTxs?: string | undefined; txs?: { ...; }[] | undefined; timestamp?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetBlocksResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetContractTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetContractTxsResponse
    • Parameters

      • Optional base: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetContractTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetContractTxsResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetContractTxsResponse
    • Parameters

      • object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetContractTxsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetCw20BalanceResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[] }): internal.GetCw20BalanceResponse
    • Parameters

      • Optional base: { field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[] }
        • Optional field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[]

      Returns internal.GetCw20BalanceResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetCw20BalanceResponse

  • fromPartial:function
    • fromPartial(object: { field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[] }): internal.GetCw20BalanceResponse
    • Parameters

      • object: { field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[] }
        • Optional field?: ({ contractAddress?: string | undefined; account?: string | undefined; balance?: string | undefined; updatedAt?: string | undefined; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { ...)[]

      Returns internal.GetCw20BalanceResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetFeePayerResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; } }): internal.GetFeePayerResponse
    • Parameters

      • Optional base: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; } }
        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }

          ethsecp256k1 feePayer pubkey

      Returns internal.GetFeePayerResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetFeePayerResponse

  • fromPartial:function
    • fromPartial(object: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; } }): internal.GetFeePayerResponse
    • Parameters

      • object: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; } }
        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }

          ethsecp256k1 feePayer pubkey

      Returns internal.GetFeePayerResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetIBCTransferTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }): internal.GetIBCTransferTxsResponse
    • Parameters

      • Optional base: { field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetIBCTransferTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }): internal.GetIBCTransferTxsResponse
    • Parameters

      • object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; sourcePort?: string | undefined; sourceChannel?: string | undefined; destinationPort?: string | undefined; destinationChannel?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetIBCTransferTxsResponse

  • toJSON:function
GetPeggyDepositTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[] }): internal.GetPeggyDepositTxsResponse
    • Parameters

      • Optional base: { field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetPeggyDepositTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[] }): internal.GetPeggyDepositTxsResponse
    • Parameters

      • object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; eventNonce?: string | undefined; eventHeight?: string | undefined; amount?: string | undefined; denom?: string | undefined; ... 5 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetPeggyDepositTxsResponse

  • toJSON:function
GetPeggyWithdrawalTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }): internal.GetPeggyWithdrawalTxsResponse
    • Parameters

      • Optional base: { field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetPeggyWithdrawalTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }): internal.GetPeggyWithdrawalTxsResponse
    • Parameters

      • object: { field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[] }
        • Optional field?: ({ sender?: string | undefined; receiver?: string | undefined; amount?: string | undefined; denom?: string | undefined; bridgeFee?: string | undefined; outgoingTxId?: string | undefined; ... 9 more ...; updatedAt?: string | undefined; })[]

      Returns internal.GetPeggyWithdrawalTxsResponse

  • toJSON:function
GetTxByTxHashResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }; errmsg?: string; s?: string }): internal.GetTxByTxHashResponse
    • Parameters

      • Optional base: { data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetTxByTxHashResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetTxByTxHashResponse

  • fromPartial:function
    • fromPartial(object: { data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }; errmsg?: string; s?: string }): internal.GetTxByTxHashResponse
    • Parameters

      • object: { data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; code?: number | undefined; data?: Uint8Array | undefined; ... 13 more ...; logs?: Uint8Array | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetTxByTxHashResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetTxResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; } }): internal.GetTxResponse
    • Parameters

      • Optional base: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; } }
        • 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...

          tx is the queried transaction.

        • Optional txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; }

          tx_response is the queried TxResponses.

      Returns internal.GetTxResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetTxResponse

  • fromPartial:function
    • fromPartial(object: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; } }): internal.GetTxResponse
    • Parameters

      • object: { tx?: { body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...; txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; } }
        • 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...

          tx is the queried transaction.

        • Optional txResponse?: { height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; }

          tx_response is the queried TxResponses.

      Returns internal.GetTxResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetTxsEventResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }): internal.GetTxsEventResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines a pagination for the response.

        • Optional txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]

          tx_responses is the list of queried TxResponses.

        • Optional txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[]

          txs is the list of queried transactions.

      Returns internal.GetTxsEventResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetTxsEventResponse

  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }): internal.GetTxsEventResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]; txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines a pagination for the response.

        • Optional txResponses?: ({ height?: string | undefined; txhash?: string | undefined; codespace?: string | undefined; code?: number | undefined; data?: string | undefined; rawLog?: string | undefined; logs?: { ...; }[] | undefined; ... 5 more ...; events?: { ...; }[] | undefined; })[]

          tx_responses is the list of queried TxResponses.

        • Optional txs?: ({ body?: { messages?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }[] | undefined; memo?: string | undefined; timeoutHeight?: string | undefined; extensionOptions?: { ...; }[] | undefined; nonCriticalExtensionOptions?: { ...; }[] | undefined; } | undefined; authInfo?: { ...; } | undefined; signat...)[]

          txs is the list of queried transactions.

      Returns internal.GetTxsEventResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetTxsResponse
    • Parameters

      • Optional base: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetTxsResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetTxsResponse
    • Parameters

      • object: { data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: Uint8Array | undefined; ... 4 more ...; logs?: Uint8Array | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetTxsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetValidatorResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }; errmsg?: string; s?: string }): internal.GetValidatorResponse
    • Parameters

      • Optional base: { data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetValidatorResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetValidatorResponse

  • fromPartial:function
    • fromPartial(object: { data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }; errmsg?: string; s?: string }): internal.GetValidatorResponse
    • Parameters

      • object: { data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }; errmsg?: string; s?: string }
        • Optional data?: { id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; }
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetValidatorResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetValidatorUptimeResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

GetValidatorsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]; errmsg?: string; s?: string }): internal.GetValidatorsResponse
    • Parameters

      • Optional base: { data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]; errmsg?: string; s?: string }
        • Optional data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetValidatorsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetValidatorsResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]; errmsg?: string; s?: string }): internal.GetValidatorsResponse
    • Parameters

      • object: { data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]; errmsg?: string; s?: string }
        • Optional data?: ({ id?: string | undefined; moniker?: string | undefined; operatorAddress?: string | undefined; consensusAddress?: string | undefined; jailed?: boolean | undefined; status?: number | undefined; ... 15 more ...; uptimePercentage?: number | undefined; })[]
        • Optional errmsg?: string

          Error message.

        • Optional s?: string

          Status of the response.

      Returns internal.GetValidatorsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetVaultResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }): internal.GetVaultResponse
    • Parameters

      • Optional base: { vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }
        • Optional vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[]

          Vault data response, if query by slug, there can be multiple vaults matching the condition

      Returns internal.GetVaultResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetVaultResponse

  • fromPartial:function
    • fromPartial(object: { vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }): internal.GetVaultResponse
    • Parameters

      • object: { vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }
        • Optional vault?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[]

          Vault data response, if query by slug, there can be multiple vaults matching the condition

      Returns internal.GetVaultResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetVaultsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { total?: number | undefined; }; vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }): internal.GetVaultsResponse
    • Parameters

      • Optional base: { pagination?: { total?: number | undefined; }; vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }
        • Optional pagination?: { total?: number | undefined; }
        • Optional vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[]

          Vaults data response

      Returns internal.GetVaultsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetVaultsResponse

  • fromPartial:function
    • fromPartial(object: { pagination?: { total?: number | undefined; }; vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }): internal.GetVaultsResponse
    • Parameters

      • object: { pagination?: { total?: number | undefined; }; vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[] }
        • Optional pagination?: { total?: number | undefined; }
        • Optional vaults?: ({ contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...)[]

          Vaults data response

      Returns internal.GetVaultsResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetWasmCodeByIDResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { checksum?: { algorithm?: string | undefined; hash?: string | undefined; }; codeId?: string; codeNumber?: string; codeSchema?: string; codeView?: string; contractType?: string; createdAt?: string; creator?: string; instantiates?: string; permission?: { accessType?: number | undefined; address?: string | undefined; }; proposalId?: string; txHash?: string; version?: string }): internal.GetWasmCodeByIDResponse
    • Parameters

      • Optional base: { checksum?: { algorithm?: string | undefined; hash?: string | undefined; }; codeId?: string; codeNumber?: string; codeSchema?: string; codeView?: string; contractType?: string; createdAt?: string; creator?: string; instantiates?: string; permission?: { accessType?: number | undefined; address?: string | undefined; }; proposalId?: string; txHash?: string; version?: string }
        • Optional checksum?: { algorithm?: string | undefined; hash?: string | undefined; }

          Checksum of the cosmwasm code

        • Optional codeId?: string

          ID of stored wasmcode, sorted in descending order

        • Optional codeNumber?: string

          monotonic order of the code stored

        • Optional codeSchema?: string

          code schema preview

        • Optional codeView?: string

          code repo preview, may contain schema folder

        • Optional contractType?: string

          Contract type of the wasm code

        • Optional createdAt?: string

          Block time when the code is stored, in millisecond

        • Optional creator?: string

          creator of this code

        • Optional instantiates?: string

          count number of contract instantiation from this code

        • Optional permission?: { accessType?: number | undefined; address?: string | undefined; }

          describe instantiate permission

        • Optional proposalId?: string

          id of the proposal that store this code

        • Optional txHash?: string

          Tx hash of store code transaction

        • Optional version?: string

          version string of the wasm code

      Returns internal.GetWasmCodeByIDResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { checksum?: { algorithm?: string | undefined; hash?: string | undefined; }; codeId?: string; codeNumber?: string; codeSchema?: string; codeView?: string; contractType?: string; createdAt?: string; creator?: string; instantiates?: string; permission?: { accessType?: number | undefined; address?: string | undefined; }; proposalId?: string; txHash?: string; version?: string }): internal.GetWasmCodeByIDResponse
    • Parameters

      • object: { checksum?: { algorithm?: string | undefined; hash?: string | undefined; }; codeId?: string; codeNumber?: string; codeSchema?: string; codeView?: string; contractType?: string; createdAt?: string; creator?: string; instantiates?: string; permission?: { accessType?: number | undefined; address?: string | undefined; }; proposalId?: string; txHash?: string; version?: string }
        • Optional checksum?: { algorithm?: string | undefined; hash?: string | undefined; }

          Checksum of the cosmwasm code

        • Optional codeId?: string

          ID of stored wasmcode, sorted in descending order

        • Optional codeNumber?: string

          monotonic order of the code stored

        • Optional codeSchema?: string

          code schema preview

        • Optional codeView?: string

          code repo preview, may contain schema folder

        • Optional contractType?: string

          Contract type of the wasm code

        • Optional createdAt?: string

          Block time when the code is stored, in millisecond

        • Optional creator?: string

          creator of this code

        • Optional instantiates?: string

          count number of contract instantiation from this code

        • Optional permission?: { accessType?: number | undefined; address?: string | undefined; }

          describe instantiate permission

        • Optional proposalId?: string

          id of the proposal that store this code

        • Optional txHash?: string

          Tx hash of store code transaction

        • Optional version?: string

          version string of the wasm code

      Returns internal.GetWasmCodeByIDResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetWasmCodesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetWasmCodesResponse
    • Parameters

      • Optional base: { data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetWasmCodesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.GetWasmCodesResponse

  • fromPartial:function
    • fromPartial(object: { data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetWasmCodesResponse
    • Parameters

      • object: { data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ codeId?: string | undefined; txHash?: string | undefined; checksum?: { algorithm?: string | undefined; hash?: string | undefined; } | undefined; createdAt?: string | undefined; contractType?: string | undefined; ... 7 more ...; proposalId?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetWasmCodesResponse

  • toJSON:function
    • Parameters

      Returns unknown

GetWasmContractByAddressResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }): internal.GetWasmContractByAddressResponse
    • Parameters

      • Optional base: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }
        • Optional address?: string

          Address of the contract

        • Optional admin?: string

          Admin of the contract

        • Optional codeId?: string

          Code id of the contract

        • Optional contractNumber?: string

          Monotonic contract number in database

        • Optional creator?: string

          Address of the contract creator

        • Optional currentMigrateMessage?: string

          Latest migrate message of the contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional executes?: string

          Number of times call to execute contract

        • Optional funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Contract funds

        • Optional initMessage?: string

          init message when this contract was instantiated

        • Optional instantiatedAt?: string

          Block timestamp that contract was instantiated, in millisecond

        • Optional label?: string

          General name of the contract

        • Optional lastExecutedAt?: string

          Block timestamp that contract was called, in millisecond

        • Optional proposalId?: string

          id of the proposal that instantiate this contract

        • Optional txHash?: string

          hash of the instantiate transaction

        • Optional type?: string

          Contract type

        • Optional version?: string

          Contract version string

      Returns internal.GetWasmContractByAddressResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }): internal.GetWasmContractByAddressResponse
    • Parameters

      • object: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }
        • Optional address?: string

          Address of the contract

        • Optional admin?: string

          Admin of the contract

        • Optional codeId?: string

          Code id of the contract

        • Optional contractNumber?: string

          Monotonic contract number in database

        • Optional creator?: string

          Address of the contract creator

        • Optional currentMigrateMessage?: string

          Latest migrate message of the contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional executes?: string

          Number of times call to execute contract

        • Optional funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Contract funds

        • Optional initMessage?: string

          init message when this contract was instantiated

        • Optional instantiatedAt?: string

          Block timestamp that contract was instantiated, in millisecond

        • Optional label?: string

          General name of the contract

        • Optional lastExecutedAt?: string

          Block timestamp that contract was called, in millisecond

        • Optional proposalId?: string

          id of the proposal that instantiate this contract

        • Optional txHash?: string

          hash of the instantiate transaction

        • Optional type?: string

          Contract type

        • Optional version?: string

          Contract version string

      Returns internal.GetWasmContractByAddressResponse

  • toJSON:function
GetWasmContractsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetWasmContractsResponse
    • Parameters

      • Optional base: { data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetWasmContractsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.GetWasmContractsResponse
    • Parameters

      • object: { data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional data?: ({ label?: string | undefined; address?: string | undefined; txHash?: string | undefined; creator?: string | undefined; executes?: string | undefined; instantiatedAt?: string | undefined; ... 10 more ...; proposalId?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.GetWasmContractsResponse

  • toJSON:function
Grant: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; expiration?: internal.Date }): internal.Grant
    • Parameters

      • Optional base: { authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; expiration?: internal.Date }
        • Optional authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
        • Optional expiration?: internal.Date

      Returns internal.Grant

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Grant

  • fromPartial:function
    • fromPartial(object: { authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; expiration?: internal.Date }): internal.Grant
    • Parameters

      • object: { authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; expiration?: internal.Date }
        • Optional authorization?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }
        • Optional expiration?: internal.Date

      Returns internal.Grant

  • toJSON:function
    • Parameters

      Returns unknown

GrantBandOraclePrivilegeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

GrantPriceFeederPrivilegeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Headers: { prototype: internal.Headers }

Type declaration

Height: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { revisionHeight?: string; revisionNumber?: string }): internal.Height
    • Parameters

      • Optional base: { revisionHeight?: string; revisionNumber?: string }
        • Optional revisionHeight?: string

          the height within the given revision

        • Optional revisionNumber?: string

          the revision that the client is currently on

      Returns internal.Height

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Height

  • fromPartial:function
    • fromPartial(object: { revisionHeight?: string; revisionNumber?: string }): internal.Height
    • Parameters

      • object: { revisionHeight?: string; revisionNumber?: string }
        • Optional revisionHeight?: string

          the height within the given revision

        • Optional revisionNumber?: string

          the revision that the client is currently on

      Returns internal.Height

  • toJSON:function
    • Parameters

      Returns unknown

Holders: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { amount?: string; holderAddress?: string; lpAmountPercentage?: number; redemptionLockTime?: string; updatedAt?: string; vaultAddress?: string }): internal.Holders
    • Parameters

      • Optional base: { amount?: string; holderAddress?: string; lpAmountPercentage?: number; redemptionLockTime?: string; updatedAt?: string; vaultAddress?: string }
        • Optional amount?: string
        • Optional holderAddress?: string
        • Optional lpAmountPercentage?: number
        • Optional redemptionLockTime?: string
        • Optional updatedAt?: string
        • Optional vaultAddress?: string

      Returns internal.Holders

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Holders

  • fromPartial:function
    • fromPartial(object: { amount?: string; holderAddress?: string; lpAmountPercentage?: number; redemptionLockTime?: string; updatedAt?: string; vaultAddress?: string }): internal.Holders
    • Parameters

      • object: { amount?: string; holderAddress?: string; lpAmountPercentage?: number; redemptionLockTime?: string; updatedAt?: string; vaultAddress?: string }
        • Optional amount?: string
        • Optional holderAddress?: string
        • Optional lpAmountPercentage?: number
        • Optional redemptionLockTime?: string
        • Optional updatedAt?: string
        • Optional vaultAddress?: string

      Returns internal.Holders

  • toJSON:function
    • Parameters

      Returns unknown

InfoResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { build?: { [x: string]: string | undefined; }; region?: string; serverTime?: string; timestamp?: string; version?: string }): internal.InfoResponse
    • Parameters

      • Optional base: { build?: { [x: string]: string | undefined; }; region?: string; serverTime?: string; timestamp?: string; version?: string }
        • Optional build?: { [x: string]: string | undefined; }

          Additional build meta info.

        • Optional region?: string

          Server's location region

        • Optional serverTime?: string

          UNIX time on the server in millis.

        • Optional timestamp?: string

          The original timestamp value in millis.

        • Optional version?: string

          injective-exchange code version.

      Returns internal.InfoResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.InfoResponse

  • fromPartial:function
    • fromPartial(object: { build?: { [x: string]: string | undefined; }; region?: string; serverTime?: string; timestamp?: string; version?: string }): internal.InfoResponse
    • Parameters

      • object: { build?: { [x: string]: string | undefined; }; region?: string; serverTime?: string; timestamp?: string; version?: string }
        • Optional build?: { [x: string]: string | undefined; }

          Additional build meta info.

        • Optional region?: string

          Server's location region

        • Optional serverTime?: string

          UNIX time on the server in millis.

        • Optional timestamp?: string

          The original timestamp value in millis.

        • Optional version?: string

          injective-exchange code version.

      Returns internal.InfoResponse

  • toJSON:function
    • Parameters

      Returns unknown

Input: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Input
    • Parameters

      • Optional base: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional address?: string
        • Optional coins?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Input

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Input

  • fromPartial:function
    • fromPartial(object: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Input
    • Parameters

      • object: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional address?: string
        • Optional coins?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Input

  • toJSON:function
    • Parameters

      Returns unknown

LPHoldersResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[] }): internal.LPHoldersResponse
    • Parameters

      • Optional base: { holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[] }
        • Optional holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[]

      Returns internal.LPHoldersResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.LPHoldersResponse

  • fromPartial:function
    • fromPartial(object: { holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[] }): internal.LPHoldersResponse
    • Parameters

      • object: { holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[] }
        • Optional holders?: ({ holderAddress?: string | undefined; vaultAddress?: string | undefined; amount?: string | undefined; updatedAt?: string | undefined; lpAmountPercentage?: number | undefined; redemptionLockTime?: string | undefined; })[]

      Returns internal.LPHoldersResponse

  • toJSON:function
    • Parameters

      Returns unknown

LPTokenPriceChartResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

LeaderboardEntry: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

LeaderboardResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]; snapshotBlock?: string; updatedAt?: string }): internal.LeaderboardResponse
    • Parameters

      • Optional base: { entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]; snapshotBlock?: string; updatedAt?: string }
        • Optional entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]
        • Optional snapshotBlock?: string
        • Optional updatedAt?: string

      Returns internal.LeaderboardResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.LeaderboardResponse

  • fromPartial:function
    • fromPartial(object: { entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]; snapshotBlock?: string; updatedAt?: string }): internal.LeaderboardResponse
    • Parameters

      • object: { entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]; snapshotBlock?: string; updatedAt?: string }
        • Optional entries?: ({ address?: string | undefined; pnl?: number | undefined; })[]
        • Optional snapshotBlock?: string
        • Optional updatedAt?: string

      Returns internal.LeaderboardResponse

  • toJSON:function
    • Parameters

      Returns unknown

LiquidablePositionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }): internal.LiquidablePositionsResponse
    • Parameters

      • Optional base: { positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }
        • Optional positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[]

          List of derivative positions

      Returns internal.LiquidablePositionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }): internal.LiquidablePositionsResponse
    • Parameters

      • object: { positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }
        • Optional positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[]

          List of derivative positions

      Returns internal.LiquidablePositionsResponse

  • toJSON:function
Locale: (new (tag: string | internal.Locale, options?: LocaleOptions) => internal.Locale)

Type declaration

MarketFeeMultiplier: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MarketResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; } }): internal.MarketResponse
    • Parameters

      • Optional base: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; } }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }

          Info about particular derivative market

      Returns internal.MarketResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.MarketResponse

  • fromPartial:function
    • fromPartial(object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; } }): internal.MarketResponse
    • Parameters

      • object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; } }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }

          Info about particular derivative market

      Returns internal.MarketResponse

  • toJSON:function
    • Parameters

      Returns unknown

MarketVolume: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } }): internal.MarketVolume
    • Parameters

      • Optional base: { marketId?: string; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } }
        • Optional marketId?: string
        • Optional volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; }

      Returns internal.MarketVolume

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.MarketVolume

  • fromPartial:function
    • fromPartial(object: { marketId?: string; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } }): internal.MarketVolume
    • Parameters

      • object: { marketId?: string; volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; } }
        • Optional marketId?: string
        • Optional volume?: { makerVolume?: string | undefined; takerVolume?: string | undefined; }

      Returns internal.MarketVolume

  • toJSON:function
    • Parameters

      Returns unknown

MarketsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[] }): internal.MarketsResponse
    • Parameters

      • Optional base: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[] }
        • Optional markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[]

          Derivative Markets list

      Returns internal.MarketsResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.MarketsResponse

  • fromPartial:function
    • fromPartial(object: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[] }): internal.MarketsResponse
    • Parameters

      • object: { markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[] }
        • Optional markets?: ({ marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; })[]

          Derivative Markets list

      Returns internal.MarketsResponse

  • toJSON:function
    • Parameters

      Returns unknown

MediaSource: { prototype: internal.MediaSource; isTypeSupported: any }

Type declaration

  • prototype: internal.MediaSource
  • isTypeSupported:function
    • isTypeSupported(type: string): boolean
    • Parameters

      • type: string

      Returns boolean

ModeInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }; single?: { mode?: SignMode | undefined; } }): internal.ModeInfo
    • Parameters

      • Optional base: { multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }; single?: { mode?: SignMode | undefined; } }
        • Optional multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }

          multi represents a nested multisig signer

        • Optional single?: { mode?: SignMode | undefined; }

          single represents a single signer

      Returns internal.ModeInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.ModeInfo

  • fromPartial:function
    • fromPartial(object: { multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }; single?: { mode?: SignMode | undefined; } }): internal.ModeInfo
    • Parameters

      • object: { multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }; single?: { mode?: SignMode | undefined; } }
        • Optional multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: ... | undefined; }[] | undefined; }

          multi represents a nested multisig signer

        • Optional single?: { mode?: SignMode | undefined; }

          single represents a single signer

      Returns internal.ModeInfo

  • toJSON:function
    • Parameters

      Returns unknown

ModeInfo_Multi: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }; modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[] }): internal.ModeInfo_Multi
    • Parameters

      • Optional base: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }; modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[] }
        • Optional bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }

          bitarray specifies which keys within the multisig are signing

        • Optional modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[]

          mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

      Returns internal.ModeInfo_Multi

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.ModeInfo_Multi

  • fromPartial:function
    • fromPartial(object: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }; modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[] }): internal.ModeInfo_Multi
    • Parameters

      • object: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }; modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[] }
        • Optional bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; }

          bitarray specifies which keys within the multisig are signing

        • Optional modeInfos?: ({ single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; })[]

          mode_infos is the corresponding modes of the signers of the multisig which could include nested multisig public keys

      Returns internal.ModeInfo_Multi

  • toJSON:function
    • Parameters

      Returns unknown

ModeInfo_Single: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Model: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

MsgExec: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { grantee?: string; msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[] }): internal.MsgExec
    • Parameters

      • Optional base: { grantee?: string; msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[] }
        • Optional grantee?: string
        • Optional msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          Authorization Msg requests to execute. Each msg must implement Authorization interface The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it.

      Returns internal.MsgExec

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.MsgExec

  • fromPartial:function
    • fromPartial(object: { grantee?: string; msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[] }): internal.MsgExec
    • Parameters

      • object: { grantee?: string; msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[] }
        • Optional grantee?: string
        • Optional msgs?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          Authorization Msg requests to execute. Each msg must implement Authorization interface The x/authz will try to find a grant matching (msg.signers[0], grantee, MsgTypeURL(msg)) triple and validate it.

      Returns internal.MsgExec

  • toJSON:function
    • Parameters

      Returns unknown

An object that represents a number of any kind. All JavaScript numbers are 64-bit floating-point numbers.

OracleListResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[] }): internal.OracleListResponse
    • Parameters

      • Optional base: { oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[] }
        • Optional oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[]

      Returns internal.OracleListResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OracleListResponse

  • fromPartial:function
    • fromPartial(object: { oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[] }): internal.OracleListResponse
    • Parameters

      • object: { oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[] }
        • Optional oracles?: ({ symbol?: string | undefined; baseSymbol?: string | undefined; quoteSymbol?: string | undefined; oracleType?: string | undefined; price?: string | undefined; })[]

      Returns internal.OracleListResponse

  • toJSON:function
    • Parameters

      Returns unknown

OracleParams: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType }
        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

      Returns internal.OracleParams

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OracleParams

  • fromPartial:function
    • Parameters

      • object: { oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType }
        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

      Returns internal.OracleParams

  • toJSON:function
    • Parameters

      Returns unknown

OrderData: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; orderHash?: string; orderMask?: number; subaccountId?: string }): internal.OrderData
    • Parameters

      • Optional base: { marketId?: string; orderHash?: string; orderMask?: number; subaccountId?: string }
        • Optional marketId?: string
        • Optional orderHash?: string
        • Optional orderMask?: number

          bitwise combination of OrderMask enum values

        • Optional subaccountId?: string

      Returns internal.OrderData

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderData

  • fromPartial:function
    • fromPartial(object: { marketId?: string; orderHash?: string; orderMask?: number; subaccountId?: string }): internal.OrderData
    • Parameters

      • object: { marketId?: string; orderHash?: string; orderMask?: number; subaccountId?: string }
        • Optional marketId?: string
        • Optional orderHash?: string
        • Optional orderMask?: number

          bitwise combination of OrderMask enum values

        • Optional subaccountId?: string

      Returns internal.OrderData

  • toJSON:function
    • Parameters

      Returns unknown

OrderInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { feeRecipient?: string; price?: string; quantity?: string; subaccountId?: string }): internal.OrderInfo
    • Parameters

      • Optional base: { feeRecipient?: string; price?: string; quantity?: string; subaccountId?: string }
        • Optional feeRecipient?: string

          address fee_recipient address that will receive fees for the order

        • Optional price?: string

          price of the order

        • Optional quantity?: string

          quantity of the order

        • Optional subaccountId?: string

          bytes32 subaccount ID that created the order

      Returns internal.OrderInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderInfo

  • fromPartial:function
    • fromPartial(object: { feeRecipient?: string; price?: string; quantity?: string; subaccountId?: string }): internal.OrderInfo
    • Parameters

      • object: { feeRecipient?: string; price?: string; quantity?: string; subaccountId?: string }
        • Optional feeRecipient?: string

          address fee_recipient address that will receive fees for the order

        • Optional price?: string

          price of the order

        • Optional quantity?: string

          quantity of the order

        • Optional subaccountId?: string

          bytes32 subaccount ID that created the order

      Returns internal.OrderInfo

  • toJSON:function
    • Parameters

      Returns unknown

OrderStateRecord: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { createdAt?: string; marketId?: string; orderHash?: string; orderSide?: string; orderType?: string; quantityFilled?: string; quantityRemaining?: string; state?: string; subaccountId?: string; updatedAt?: string }): internal.OrderStateRecord
    • Parameters

      • Optional base: { createdAt?: string; marketId?: string; orderHash?: string; orderSide?: string; orderType?: string; quantityFilled?: string; quantityRemaining?: string; state?: string; subaccountId?: string; updatedAt?: string }
        • Optional createdAt?: string

          Order committed timestamp in UNIX millis.

        • Optional marketId?: string

          The Market ID of the order

        • Optional orderHash?: string

          Hash of the order

        • Optional orderSide?: string

          The side of the order

        • Optional orderType?: string

          The type of the order

        • Optional quantityFilled?: string

          The filled quantity of the order

        • Optional quantityRemaining?: string

          The filled quantity of the order

        • Optional state?: string

          The state (status) of the order

        • Optional subaccountId?: string

          The subaccountId that this order belongs to

        • Optional updatedAt?: string

          Order updated timestamp in UNIX millis.

      Returns internal.OrderStateRecord

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderStateRecord

  • fromPartial:function
    • fromPartial(object: { createdAt?: string; marketId?: string; orderHash?: string; orderSide?: string; orderType?: string; quantityFilled?: string; quantityRemaining?: string; state?: string; subaccountId?: string; updatedAt?: string }): internal.OrderStateRecord
    • Parameters

      • object: { createdAt?: string; marketId?: string; orderHash?: string; orderSide?: string; orderType?: string; quantityFilled?: string; quantityRemaining?: string; state?: string; subaccountId?: string; updatedAt?: string }
        • Optional createdAt?: string

          Order committed timestamp in UNIX millis.

        • Optional marketId?: string

          The Market ID of the order

        • Optional orderHash?: string

          Hash of the order

        • Optional orderSide?: string

          The side of the order

        • Optional orderType?: string

          The type of the order

        • Optional quantityFilled?: string

          The filled quantity of the order

        • Optional quantityRemaining?: string

          The filled quantity of the order

        • Optional state?: string

          The state (status) of the order

        • Optional subaccountId?: string

          The subaccountId that this order belongs to

        • Optional updatedAt?: string

          Order updated timestamp in UNIX millis.

      Returns internal.OrderStateRecord

  • toJSON:function
    • Parameters

      Returns unknown

OrderStatesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]; spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[] }): internal.OrderStatesResponse
    • Parameters

      • Optional base: { derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]; spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[] }
        • Optional derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]

          List of the derivative order state records

        • Optional spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]

          List of the spot order state records

      Returns internal.OrderStatesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderStatesResponse

  • fromPartial:function
    • fromPartial(object: { derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]; spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[] }): internal.OrderStatesResponse
    • Parameters

      • object: { derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]; spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[] }
        • Optional derivativeOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]

          List of the derivative order state records

        • Optional spotOrderStates?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; orderType?: string | undefined; orderSide?: string | undefined; state?: string | undefined; quantityFilled?: string | undefined; quantityRemaining?: string | undefined; createdAt?: string | undefined; updatedAt?: stri...)[]

          List of the spot order state records

      Returns internal.OrderStatesResponse

  • toJSON:function
    • Parameters

      Returns unknown

OrderbookLevelUpdates: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; marketId?: string; sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; sequence?: string; updatedAt?: string }): internal.OrderbookLevelUpdates
    • Parameters

      • Optional base: { buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; marketId?: string; sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; sequence?: string; updatedAt?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]

          buy levels

        • Optional marketId?: string

          market's ID

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]

          sell levels

        • Optional sequence?: string

          orderbook update sequence

        • Optional updatedAt?: string

          updates timestamp

      Returns internal.OrderbookLevelUpdates

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderbookLevelUpdates

  • fromPartial:function
    • fromPartial(object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; marketId?: string; sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; sequence?: string; updatedAt?: string }): internal.OrderbookLevelUpdates
    • Parameters

      • object: { buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; marketId?: string; sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]; sequence?: string; updatedAt?: string }
        • Optional buys?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]

          buy levels

        • Optional marketId?: string

          market's ID

        • Optional sells?: ({ price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; })[]

          sell levels

        • Optional sequence?: string

          orderbook update sequence

        • Optional updatedAt?: string

          updates timestamp

      Returns internal.OrderbookLevelUpdates

  • toJSON:function
    • Parameters

      Returns unknown

OrderbookResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }): internal.OrderbookResponse
    • Parameters

      • Optional base: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }
        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of a particular derivative market

      Returns internal.OrderbookResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderbookResponse

  • fromPartial:function
    • fromPartial(object: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }): internal.OrderbookResponse
    • Parameters

      • object: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }
        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of a particular derivative market

      Returns internal.OrderbookResponse

  • toJSON:function
    • Parameters

      Returns unknown

OrderbookSequence: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

OrderbookV2Response: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }): internal.OrderbookV2Response
    • Parameters

      • Optional base: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }
        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of a particular derivative market

      Returns internal.OrderbookV2Response

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderbookV2Response

  • fromPartial:function
    • fromPartial(object: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }): internal.OrderbookV2Response
    • Parameters

      • object: { orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }
        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of a particular derivative market

      Returns internal.OrderbookV2Response

  • toJSON:function
    • Parameters

      Returns unknown

OrderbooksResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[] }): internal.OrderbooksResponse
    • Parameters

      • Optional base: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[] }
        • Optional orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[]

      Returns internal.OrderbooksResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderbooksResponse

  • fromPartial:function
    • fromPartial(object: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[] }): internal.OrderbooksResponse
    • Parameters

      • object: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[] }
        • Optional orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } |...)[]

      Returns internal.OrderbooksResponse

  • toJSON:function
    • Parameters

      Returns unknown

OrderbooksV2Response: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[] }): internal.OrderbooksV2Response
    • Parameters

      • Optional base: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[] }
        • Optional orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[]

      Returns internal.OrderbooksV2Response

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrderbooksV2Response

  • fromPartial:function
    • fromPartial(object: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[] }): internal.OrderbooksV2Response
    • Parameters

      • object: { orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[] }
        • Optional orderbooks?: ({ marketId?: string | undefined; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; time...)[]

      Returns internal.OrderbooksV2Response

  • toJSON:function
    • Parameters

      Returns unknown

OrdersHistoryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.OrdersHistoryResponse
    • Parameters

      • Optional base: { orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]

          List of historical derivative orders

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.OrdersHistoryResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrdersHistoryResponse

  • fromPartial:function
    • fromPartial(object: { orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.OrdersHistoryResponse
    • Parameters

      • object: { orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; })[]

          List of historical derivative orders

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.OrdersHistoryResponse

  • toJSON:function
    • Parameters

      Returns unknown

OrdersResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.OrdersResponse
    • Parameters

      • Optional base: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.OrdersResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.OrdersResponse

  • fromPartial:function
    • fromPartial(object: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.OrdersResponse
    • Parameters

      • object: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.OrdersResponse

  • toJSON:function
    • Parameters

      Returns unknown

Output: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Output
    • Parameters

      • Optional base: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional address?: string
        • Optional coins?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Output

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Output

  • fromPartial:function
    • fromPartial(object: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Output
    • Parameters

      • object: { address?: string; coins?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional address?: string
        • Optional coins?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Output

  • toJSON:function
    • Parameters

      Returns unknown

PageRequest: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { countTotal?: boolean; key?: internal.Uint8Array; limit?: string; offset?: string; reverse?: boolean }
        • Optional countTotal?: boolean

          count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

        • Optional key?: internal.Uint8Array

          key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

        • Optional limit?: string

          limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

        • Optional offset?: string

          offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

        • Optional reverse?: boolean

          reverse is set to true if results are to be returned in the descending order.

          Since: cosmos-sdk 0.43

      Returns internal.PageRequest

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PageRequest

  • fromPartial:function
    • Parameters

      • object: { countTotal?: boolean; key?: internal.Uint8Array; limit?: string; offset?: string; reverse?: boolean }
        • Optional countTotal?: boolean

          count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

        • Optional key?: internal.Uint8Array

          key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

        • Optional limit?: string

          limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

        • Optional offset?: string

          offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

        • Optional reverse?: boolean

          reverse is set to true if results are to be returned in the descending order.

          Since: cosmos-sdk 0.43

      Returns internal.PageRequest

  • toJSON:function
    • Parameters

      Returns unknown

PageResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { nextKey?: internal.Uint8Array; total?: string }
        • Optional nextKey?: internal.Uint8Array

          next_key is the key to be passed to PageRequest.key to query the next page most efficiently

        • Optional total?: string

          total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

      Returns internal.PageResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PageResponse

  • fromPartial:function
    • Parameters

      • object: { nextKey?: internal.Uint8Array; total?: string }
        • Optional nextKey?: internal.Uint8Array

          next_key is the key to be passed to PageRequest.key to query the next page most efficiently

        • Optional total?: string

          total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

      Returns internal.PageResponse

  • toJSON:function
    • Parameters

      Returns unknown

ParamChange: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { key?: string; subspace?: string; value?: string }
        • Optional key?: string
        • Optional subspace?: string
        • Optional value?: string

      Returns internal.ParamChange

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.ParamChange

  • fromPartial:function
    • Parameters

      • object: { key?: string; subspace?: string; value?: string }
        • Optional key?: string
        • Optional subspace?: string
        • Optional value?: string

      Returns internal.ParamChange

  • toJSON:function
    • Parameters

      Returns unknown

ParameterChangeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]; description?: string; title?: string }): internal.ParameterChangeProposal
    • Parameters

      • Optional base: { changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]; description?: string; title?: string }
        • Optional changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.ParameterChangeProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]; description?: string; title?: string }): internal.ParameterChangeProposal
    • Parameters

      • object: { changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]; description?: string; title?: string }
        • Optional changes?: ({ subspace?: string | undefined; key?: string | undefined; value?: string | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.ParameterChangeProposal

  • toJSON:function
    • Parameters

      Returns unknown

PartSetHeader: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

PerpetualMarketFundingState: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; marketId?: string }): internal.PerpetualMarketFundingState
    • Parameters

      • Optional base: { funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; marketId?: string }
        • Optional funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }
        • Optional marketId?: string

      Returns internal.PerpetualMarketFundingState

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; marketId?: string }): internal.PerpetualMarketFundingState
    • Parameters

      • object: { funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }; marketId?: string }
        • Optional funding?: { cumulativeFunding?: string | undefined; cumulativePrice?: string | undefined; lastTimestamp?: string | undefined; }
        • Optional marketId?: string

      Returns internal.PerpetualMarketFundingState

  • toJSON:function
PerpetualMarketLaunchProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.PerpetualMarketLaunchProposal
    • Parameters

      • Optional base: { description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional description?: string
        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

        • Optional quoteDenom?: string

          type of coin to use as the base currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional ticker?: string

          Ticker for the derivative market.

        • Optional title?: string

      Returns internal.PerpetualMarketLaunchProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.PerpetualMarketLaunchProposal
    • Parameters

      • object: { description?: string; initialMarginRatio?: string; maintenanceMarginRatio?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; oracleBase?: string; oracleQuote?: string; oracleScaleFactor?: number; oracleType?: OracleType; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional description?: string
        • Optional initialMarginRatio?: string

          initial_margin_ratio defines the initial margin ratio for the derivative market

        • Optional maintenanceMarginRatio?: string

          maintenance_margin_ratio defines the maintenance margin ratio for the derivative market

        • Optional makerFeeRate?: string

          maker_fee_rate defines the exchange trade fee for makers for the derivative market

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional oracleBase?: string

          Oracle base currency

        • Optional oracleQuote?: string

          Oracle quote currency

        • Optional oracleScaleFactor?: number

          Scale factor for oracle prices.

        • Optional oracleType?: OracleType

          Oracle type

        • Optional quoteDenom?: string

          type of coin to use as the base currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the exchange trade fee for takers for the derivative market

        • Optional ticker?: string

          Ticker for the derivative market.

        • Optional title?: string

      Returns internal.PerpetualMarketLaunchProposal

  • toJSON:function
PingResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Plan: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { height?: string; info?: string; name?: string; time?: internal.Date; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } }): internal.Plan
    • Parameters

      • Optional base: { height?: string; info?: string; name?: string; time?: internal.Date; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } }
        • Optional height?: string

          The height at which the upgrade must be performed. Only used if Time is not set.

        • Optional info?: string

          Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to

        • Optional name?: string

          Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit.

        • Optional time?: internal.Date

          Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown.

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

          Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown.

          deprecated

      Returns internal.Plan

  • decode:function
    • Parameters

      Returns internal.Plan

  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Plan

  • fromPartial:function
    • fromPartial(object: { height?: string; info?: string; name?: string; time?: internal.Date; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } }): internal.Plan
    • Parameters

      • object: { height?: string; info?: string; name?: string; time?: internal.Date; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } }
        • Optional height?: string

          The height at which the upgrade must be performed. Only used if Time is not set.

        • Optional info?: string

          Any application specific upgrade info to be included on-chain such as a git commit that validators could automatically upgrade to

        • Optional name?: string

          Sets the name for the upgrade. This name will be used by the upgraded version of the software to apply any special "on-upgrade" commands during the first BeginBlock method after the upgrade is applied. It is also used to detect whether a software version can handle a given upgrade. If no upgrade handler with this name has been set in the software, it will be assumed that the software is out-of-date when the upgrade Time or Height is reached and the software will exit.

        • Optional time?: internal.Date

          Deprecated: Time based upgrades have been deprecated. Time based upgrade logic has been removed from the SDK. If this field is not empty, an error will be thrown.

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

          Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been moved to the IBC module in the sub module 02-client. If this field is not empty, an error will be thrown.

          deprecated

      Returns internal.Plan

  • toJSON:function
    • Parameters

      Returns unknown

PortfolioResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |... }): internal.PortfolioResponse
    • Parameters

      • Optional base: { portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |... }
        • Optional portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |...

          The portfolio of this account

      Returns internal.PortfolioResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PortfolioResponse

  • fromPartial:function
    • fromPartial(object: { portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |... }): internal.PortfolioResponse
    • Parameters

      • object: { portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |... }
        • Optional portfolio?: { portfolioValue?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; subaccounts?: { subaccountId?: string | undefined; availableBalance?: string | undefined; lockedBalance?: string | undefined; unrealizedPnl?: string | undefined; }[] |...

          The portfolio of this account

      Returns internal.PortfolioResponse

  • toJSON:function
    • Parameters

      Returns unknown

PositionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }): internal.PositionsResponse
    • Parameters

      • Optional base: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[]

      Returns internal.PositionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PositionsResponse

  • fromPartial:function
    • fromPartial(object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }): internal.PositionsResponse
    • Parameters

      • object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional positions?: ({ ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; })[]

      Returns internal.PositionsResponse

  • toJSON:function
    • Parameters

      Returns unknown

PrepareCosmosTxResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }; feePayerSig?: string; pubKeyType?: string; signMode?: string; tx?: internal.Uint8Array }
        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }

          ethsecp256k1 feePayer pubkey

        • Optional feePayerSig?: string

          Hex-encoded ethsecp256k1 signature bytes from fee payer

        • Optional pubKeyType?: string

          Specify proto-URL of a public key, which defines the signature format

        • Optional signMode?: string

          Sign mode for the resulting tx

        • Optional tx?: internal.Uint8Array

          proto encoded tx

      Returns internal.PrepareCosmosTxResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Parameters

      • object: { feePayer?: string; feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }; feePayerSig?: string; pubKeyType?: string; signMode?: string; tx?: internal.Uint8Array }
        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerPubKey?: { type?: string | undefined; key?: string | undefined; }

          ethsecp256k1 feePayer pubkey

        • Optional feePayerSig?: string

          Hex-encoded ethsecp256k1 signature bytes from fee payer

        • Optional pubKeyType?: string

          Specify proto-URL of a public key, which defines the signature format

        • Optional signMode?: string

          Sign mode for the resulting tx

        • Optional tx?: internal.Uint8Array

          proto encoded tx

      Returns internal.PrepareCosmosTxResponse

  • toJSON:function
    • Parameters

      Returns unknown

PrepareTxResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { data?: string; feePayer?: string; feePayerSig?: string; pubKeyType?: string; sequence?: string; signMode?: string }): internal.PrepareTxResponse
    • Parameters

      • Optional base: { data?: string; feePayer?: string; feePayerSig?: string; pubKeyType?: string; sequence?: string; signMode?: string }
        • Optional data?: string

          EIP712-compatible message suitable for signing with eth_signTypedData_v4

        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerSig?: string

          Hex-encoded ethsecp256k1 signature bytes from fee payer

        • Optional pubKeyType?: string

          Specify proto-URL of a public key, which defines the signature format

        • Optional sequence?: string

          Account tx sequence (nonce)

        • Optional signMode?: string

          Sign mode for the resulting tx

      Returns internal.PrepareTxResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PrepareTxResponse

  • fromPartial:function
    • fromPartial(object: { data?: string; feePayer?: string; feePayerSig?: string; pubKeyType?: string; sequence?: string; signMode?: string }): internal.PrepareTxResponse
    • Parameters

      • object: { data?: string; feePayer?: string; feePayerSig?: string; pubKeyType?: string; sequence?: string; signMode?: string }
        • Optional data?: string

          EIP712-compatible message suitable for signing with eth_signTypedData_v4

        • Optional feePayer?: string

          Fee payer address provided by service

        • Optional feePayerSig?: string

          Hex-encoded ethsecp256k1 signature bytes from fee payer

        • Optional pubKeyType?: string

          Specify proto-URL of a public key, which defines the signature format

        • Optional sequence?: string

          Account tx sequence (nonce)

        • Optional signMode?: string

          Sign mode for the resulting tx

      Returns internal.PrepareTxResponse

  • toJSON:function
    • Parameters

      Returns unknown

PriceLevelUpdate: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { isActive?: boolean; price?: string; quantity?: string; timestamp?: string }
        • Optional isActive?: boolean

          Price level status.

        • Optional price?: string

          Price number of the price level.

        • Optional quantity?: string

          Quantity of the price level.

        • Optional timestamp?: string

          Price level last updated timestamp in UNIX millis.

      Returns internal.PriceLevelUpdate

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.PriceLevelUpdate

  • fromPartial:function
    • fromPartial(object: { isActive?: boolean; price?: string; quantity?: string; timestamp?: string }): internal.PriceLevelUpdate
    • Parameters

      • object: { isActive?: boolean; price?: string; quantity?: string; timestamp?: string }
        • Optional isActive?: boolean

          Price level status.

        • Optional price?: string

          Price number of the price level.

        • Optional quantity?: string

          Quantity of the price level.

        • Optional timestamp?: string

          Price level last updated timestamp in UNIX millis.

      Returns internal.PriceLevelUpdate

  • toJSON:function
    • Parameters

      Returns unknown

PriceResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

PriceSnapshot: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Profits: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { allTimeChange?: number; oneDayChange?: number; oneMonthChange?: number; oneWeekChange?: number; oneYearChange?: number; sixMonthsChange?: number; threeMonthsChange?: number; threeYearsChange?: number }): internal.Profits
    • Parameters

      • Optional base: { allTimeChange?: number; oneDayChange?: number; oneMonthChange?: number; oneWeekChange?: number; oneYearChange?: number; sixMonthsChange?: number; threeMonthsChange?: number; threeYearsChange?: number }
        • Optional allTimeChange?: number
        • Optional oneDayChange?: number
        • Optional oneMonthChange?: number
        • Optional oneWeekChange?: number
        • Optional oneYearChange?: number
        • Optional sixMonthsChange?: number
        • Optional threeMonthsChange?: number
        • Optional threeYearsChange?: number

      Returns internal.Profits

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Profits

  • fromPartial:function
    • fromPartial(object: { allTimeChange?: number; oneDayChange?: number; oneMonthChange?: number; oneWeekChange?: number; oneYearChange?: number; sixMonthsChange?: number; threeMonthsChange?: number; threeYearsChange?: number }): internal.Profits
    • Parameters

      • object: { allTimeChange?: number; oneDayChange?: number; oneMonthChange?: number; oneWeekChange?: number; oneYearChange?: number; sixMonthsChange?: number; threeMonthsChange?: number; threeYearsChange?: number }
        • Optional allTimeChange?: number
        • Optional oneDayChange?: number
        • Optional oneMonthChange?: number
        • Optional oneWeekChange?: number
        • Optional oneYearChange?: number
        • Optional sixMonthsChange?: number
        • Optional threeMonthsChange?: number
        • Optional threeYearsChange?: number

      Returns internal.Profits

  • toJSON:function
    • Parameters

      Returns unknown

PubKey: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryAllBalancesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryAllBalancesResponse
    • Parameters

      • Optional base: { balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          balances is the balances of all the coins.

        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryAllBalancesResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryAllBalancesResponse
    • Parameters

      • object: { balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional balances?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          balances is the balances of all the coins.

        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryAllBalancesResponse

  • toJSON:function
QueryAllContractStateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryAllContractStateResponse
    • Parameters

      • Optional base: { models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryAllContractStateResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryAllContractStateResponse
    • Parameters

      • object: { models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional models?: ({ key?: Uint8Array | undefined; value?: Uint8Array | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryAllContractStateResponse

  • toJSON:function
QueryAuctionParamsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryBalanceResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryCodeResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }; data?: internal.Uint8Array }): internal.QueryCodeResponse
    • Parameters

      • Optional base: { codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }; data?: internal.Uint8Array }
        • Optional codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }
        • Optional data?: internal.Uint8Array

      Returns internal.QueryCodeResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryCodeResponse

  • fromPartial:function
    • fromPartial(object: { codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }; data?: internal.Uint8Array }): internal.QueryCodeResponse
    • Parameters

      • object: { codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }; data?: internal.Uint8Array }
        • Optional codeInfo?: { codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; }
        • Optional data?: internal.Uint8Array

      Returns internal.QueryCodeResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryCodesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryCodesResponse
    • Parameters

      • Optional base: { codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryCodesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryCodesResponse

  • fromPartial:function
    • fromPartial(object: { codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryCodesResponse
    • Parameters

      • object: { codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional codeInfos?: ({ codeId?: string | undefined; creator?: string | undefined; dataHash?: Uint8Array | undefined; instantiatePermission?: { permission?: AccessType | undefined; address?: string | undefined; } | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryCodesResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryContractHistoryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryContractHistoryResponse
    • Parameters

      • Optional base: { entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryContractHistoryResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryContractHistoryResponse
    • Parameters

      • object: { entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional entries?: ({ operation?: ContractCodeHistoryOperationType | undefined; codeId?: string | undefined; updated?: { blockHeight?: string | undefined; txIndex?: string | undefined; } | undefined; msg?: Uint8Array | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryContractHistoryResponse

  • toJSON:function
QueryContractsByCodeResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryCurrentAuctionBasketResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]; auctionClosingTime?: string; auctionRound?: string; highestBidAmount?: string; highestBidder?: string }): internal.QueryCurrentAuctionBasketResponse
    • Parameters

      • Optional base: { amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]; auctionClosingTime?: string; auctionRound?: string; highestBidAmount?: string; highestBidder?: string }
        • Optional amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          amount describes the amount put on auction

        • Optional auctionClosingTime?: string

          auctionClosingTime describes auction close time for the round

        • Optional auctionRound?: string

          auctionRound describes current auction round

        • Optional highestBidAmount?: string

          highestBidAmount describes highest bid amount on current round

        • Optional highestBidder?: string

          highestBidder describes highest bidder on current round

      Returns internal.QueryCurrentAuctionBasketResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]; auctionClosingTime?: string; auctionRound?: string; highestBidAmount?: string; highestBidder?: string }): internal.QueryCurrentAuctionBasketResponse
    • Parameters

      • object: { amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]; auctionClosingTime?: string; auctionRound?: string; highestBidAmount?: string; highestBidder?: string }
        • Optional amount?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          amount describes the amount put on auction

        • Optional auctionClosingTime?: string

          auctionClosingTime describes auction close time for the round

        • Optional auctionRound?: string

          auctionRound describes current auction round

        • Optional highestBidAmount?: string

          highestBidAmount describes highest bid amount on current round

        • Optional highestBidder?: string

          highestBidder describes highest bidder on current round

      Returns internal.QueryCurrentAuctionBasketResponse

  • toJSON:function
QueryDelegationResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; } }): internal.QueryDelegationResponse
    • Parameters

      • Optional base: { delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; } }
        • Optional delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; }

          delegation_responses defines the delegation info of a delegation.

      Returns internal.QueryDelegationResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; } }): internal.QueryDelegationResponse
    • Parameters

      • object: { delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; } }
        • Optional delegationResponse?: { delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; }

          delegation_responses defines the delegation info of a delegation.

      Returns internal.QueryDelegationResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryDelegationRewardsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryDelegationTotalRewardsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.QueryDelegationTotalRewardsResponse
    • Parameters

      • Optional base: { rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          rewards defines all the rewards accrued by a delegator.

        • Optional total?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          total defines the sum of all the rewards.

      Returns internal.QueryDelegationTotalRewardsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.QueryDelegationTotalRewardsResponse
    • Parameters

      • object: { rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional rewards?: ({ validatorAddress?: string | undefined; reward?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

          rewards defines all the rewards accrued by a delegator.

        • Optional total?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          total defines the sum of all the rewards.

      Returns internal.QueryDelegationTotalRewardsResponse

  • toJSON:function
QueryDelegatorDelegationsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryDelegatorDelegationsResponse
    • Parameters

      • Optional base: { delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]

          delegation_responses defines all the delegations' info of a delegator.

        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryDelegatorDelegationsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryDelegatorDelegationsResponse
    • Parameters

      • object: { delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional delegationResponses?: ({ delegation?: { delegatorAddress?: string | undefined; validatorAddress?: string | undefined; shares?: string | undefined; } | undefined; balance?: { denom?: string | undefined; amount?: string | undefined; } | undefined; })[]

          delegation_responses defines all the delegations' info of a delegator.

        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryDelegatorDelegationsResponse

  • toJSON:function
QueryDelegatorUnbondingDelegationsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[] }): internal.QueryDelegatorUnbondingDelegationsResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[]

      Returns internal.QueryDelegatorUnbondingDelegationsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[] }): internal.QueryDelegatorUnbondingDelegationsResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional unbondingResponses?: ({ delegatorAddress?: string | undefined; validatorAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; }[] | undefined; })[]

      Returns internal.QueryDelegatorUnbondingDelegationsResponse

  • toJSON:function
QueryDepositsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryDepositsResponse
    • Parameters

      • Optional base: { deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryDepositsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryDepositsResponse

  • fromPartial:function
    • fromPartial(object: { deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }): internal.QueryDepositsResponse
    • Parameters

      • object: { deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; } }
        • Optional deposits?: ({ proposalId?: string | undefined; depositor?: string | undefined; amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

      Returns internal.QueryDepositsResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryEstimatedRedemptionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryExchangeParamsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; } }): internal.QueryExchangeParamsResponse
    • Parameters

      • Optional base: { params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; } }
        • Optional params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }

      Returns internal.QueryExchangeParamsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; } }): internal.QueryExchangeParamsResponse
    • Parameters

      • object: { params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; } }
        • Optional params?: { spotMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; derivativeMarketInstantListingFee?: { denom?: string | undefined; amount?: string | undefined; } | undefined; ... 21 more ...; isInstantDerivativeMarketLaunchEnabled?: boolean | undefined; }

      Returns internal.QueryExchangeParamsResponse

  • toJSON:function
QueryFeeDiscountAccountInfoResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }; accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }; tierLevel?: string }): internal.QueryFeeDiscountAccountInfoResponse
    • Parameters

      • Optional base: { accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }; accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }; tierLevel?: string }
        • Optional accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }
        • Optional accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }
        • Optional tierLevel?: string

      Returns internal.QueryFeeDiscountAccountInfoResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }; accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }; tierLevel?: string }): internal.QueryFeeDiscountAccountInfoResponse
    • Parameters

      • object: { accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }; accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }; tierLevel?: string }
        • Optional accountInfo?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }
        • Optional accountTtl?: { tier?: string | undefined; ttlTimestamp?: string | undefined; }
        • Optional tierLevel?: string

      Returns internal.QueryFeeDiscountAccountInfoResponse

  • toJSON:function
QueryFeeDiscountScheduleResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ... }): internal.QueryFeeDiscountScheduleResponse
    • Parameters

      • Optional base: { feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ... }
        • Optional feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...

      Returns internal.QueryFeeDiscountScheduleResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ... }): internal.QueryFeeDiscountScheduleResponse
    • Parameters

      • object: { feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ... }
        • Optional feeDiscountSchedule?: { bucketCount?: string | undefined; bucketDuration?: string | undefined; quoteDenoms?: string[] | undefined; tierInfos?: { makerDiscountRate?: string | undefined; takerDiscountRate?: string | undefined; stakedAmount?: string | undefined; volume?: string | undefined; }[] | undefined; disqualifiedMarketIds?: string[] ...

      Returns internal.QueryFeeDiscountScheduleResponse

  • toJSON:function
QueryInsuranceFundResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; } }): internal.QueryInsuranceFundResponse
    • Parameters

      • Optional base: { fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; } }
        • Optional fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; }

      Returns internal.QueryInsuranceFundResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; } }): internal.QueryInsuranceFundResponse
    • Parameters

      • object: { fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; } }
        • Optional fund?: { depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; }

      Returns internal.QueryInsuranceFundResponse

  • toJSON:function
QueryInsuranceFundsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[] }): internal.QueryInsuranceFundsResponse
    • Parameters

      • Optional base: { funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[] }
        • Optional funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[]

      Returns internal.QueryInsuranceFundsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[] }): internal.QueryInsuranceFundsResponse
    • Parameters

      • object: { funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[] }
        • Optional funds?: ({ depositDenom?: string | undefined; insurancePoolTokenDenom?: string | undefined; redemptionNoticePeriodDuration?: { seconds?: string | undefined; nanos?: number | undefined; } | undefined; ... 7 more ...; expiry?: string | undefined; })[]

      Returns internal.QueryInsuranceFundsResponse

  • toJSON:function
QueryInsuranceParamsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryModuleStateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; } }): internal.QueryModuleStateResponse
    • Parameters

      • Optional base: { state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; } }
        • Optional state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; }

      Returns internal.QueryModuleStateResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; } }): internal.QueryModuleStateResponse
    • Parameters

      • object: { state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; } }
        • Optional state?: { params?: { auctionPeriod?: string | undefined; minNextBidIncrementRate?: string | undefined; } | undefined; auctionRound?: string | undefined; highestBid?: { bidder?: string | undefined; amount?: string | undefined; } | undefined; auctionEndingTimestamp?: string | undefined; }

      Returns internal.QueryModuleStateResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryParamsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; } }): internal.QueryParamsResponse
    • Parameters

      • Optional base: { params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; } }
        • Optional params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; }

      Returns internal.QueryParamsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryParamsResponse

  • fromPartial:function
    • fromPartial(object: { params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; } }): internal.QueryParamsResponse
    • Parameters

      • object: { params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; } }
        • Optional params?: { sendEnabled?: { denom?: string | undefined; enabled?: boolean | undefined; }[] | undefined; defaultSendEnabled?: boolean | undefined; }

      Returns internal.QueryParamsResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryPendingRedemptionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryPoolResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; } }): internal.QueryPoolResponse
    • Parameters

      • Optional base: { pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; } }
        • Optional pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; }

          pool defines the pool info.

      Returns internal.QueryPoolResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryPoolResponse

  • fromPartial:function
    • fromPartial(object: { pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; } }): internal.QueryPoolResponse
    • Parameters

      • object: { pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; } }
        • Optional pool?: { notBondedTokens?: string | undefined; bondedTokens?: string | undefined; }

          pool defines the pool info.

      Returns internal.QueryPoolResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryPositionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[] }): internal.QueryPositionsResponse
    • Parameters

      • Optional base: { state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[] }
        • Optional state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]

      Returns internal.QueryPositionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryPositionsResponse

  • fromPartial:function
    • fromPartial(object: { state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[] }): internal.QueryPositionsResponse
    • Parameters

      • object: { state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[] }
        • Optional state?: ({ subaccountId?: string | undefined; marketId?: string | undefined; position?: { isLong?: boolean | undefined; quantity?: string | undefined; entryPrice?: string | undefined; margin?: string | undefined; cumulativeFundingEntry?: string | undefined; } | undefined; })[]

      Returns internal.QueryPositionsResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryProposalResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; } }): internal.QueryProposalResponse
    • Parameters

      • Optional base: { proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; } }
        • Optional proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; }

      Returns internal.QueryProposalResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryProposalResponse

  • fromPartial:function
    • fromPartial(object: { proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; } }): internal.QueryProposalResponse
    • Parameters

      • object: { proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; } }
        • Optional proposal?: { proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; }

      Returns internal.QueryProposalResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryProposalsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[] }): internal.QueryProposalsResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[]

      Returns internal.QueryProposalsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[] }): internal.QueryProposalsResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional proposals?: ({ proposalId?: string | undefined; content?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; status?: ProposalStatus | undefined; ... 5 more ...; votingEndTime?: Date | undefined; })[]

      Returns internal.QueryProposalsResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryRawContractStateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryRedelegationsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[] }): internal.QueryRedelegationsResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[]

      Returns internal.QueryRedelegationsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[] }): internal.QueryRedelegationsResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional redelegationResponses?: ({ redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } | u...)[]

      Returns internal.QueryRedelegationsResponse

  • toJSON:function
QuerySmartContractStateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QuerySubaccountTradeNonceResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

QueryTallyResultResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; } }): internal.QueryTallyResultResponse
    • Parameters

      • Optional base: { tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; } }
        • Optional tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; }

          tally defines the requested tally.

      Returns internal.QueryTallyResultResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; } }): internal.QueryTallyResultResponse
    • Parameters

      • object: { tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; } }
        • Optional tally?: { yes?: string | undefined; abstain?: string | undefined; no?: string | undefined; noWithVeto?: string | undefined; }

          tally defines the requested tally.

      Returns internal.QueryTallyResultResponse

  • toJSON:function
QueryTotalSupplyResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; supply?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.QueryTotalSupplyResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; supply?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

          Since: cosmos-sdk 0.43

        • Optional supply?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          supply is the supply of the coins

      Returns internal.QueryTotalSupplyResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; supply?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.QueryTotalSupplyResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; supply?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

          Since: cosmos-sdk 0.43

        • Optional supply?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          supply is the supply of the coins

      Returns internal.QueryTotalSupplyResponse

  • toJSON:function
QueryTradeRewardCampaignResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pendingTotalTradeRewardPoints?: string[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; totalTradeRewardPoints?: string; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }): internal.QueryTradeRewardCampaignResponse
    • Parameters

      • Optional base: { pendingTotalTradeRewardPoints?: string[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; totalTradeRewardPoints?: string; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }
        • Optional pendingTotalTradeRewardPoints?: string[]
        • Optional pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional totalTradeRewardPoints?: string
        • Optional tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

      Returns internal.QueryTradeRewardCampaignResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pendingTotalTradeRewardPoints?: string[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; totalTradeRewardPoints?: string; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }): internal.QueryTradeRewardCampaignResponse
    • Parameters

      • object: { pendingTotalTradeRewardPoints?: string[]; pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; totalTradeRewardPoints?: string; tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[] }
        • Optional pendingTotalTradeRewardPoints?: string[]
        • Optional pendingTradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional totalTradeRewardPoints?: string
        • Optional tradingRewardCampaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional tradingRewardPoolCampaignSchedule?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]

      Returns internal.QueryTradeRewardCampaignResponse

  • toJSON:function
QueryValidatorResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; } }): internal.QueryValidatorResponse
    • Parameters

      • Optional base: { validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; } }
        • Optional validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; }

          validator defines the the validator info.

      Returns internal.QueryValidatorResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryValidatorResponse

  • fromPartial:function
    • fromPartial(object: { validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; } }): internal.QueryValidatorResponse
    • Parameters

      • object: { validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; } }
        • Optional validator?: { operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; }

          validator defines the the validator info.

      Returns internal.QueryValidatorResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryValidatorsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[] }): internal.QueryValidatorsResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[]

          validators contains all the queried validators.

      Returns internal.QueryValidatorsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[] }): internal.QueryValidatorsResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional validators?: ({ operatorAddress?: string | undefined; consensusPubkey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; jailed?: boolean | undefined; ... 7 more ...; minSelfDelegation?: string | undefined; })[]

          validators contains all the queried validators.

      Returns internal.QueryValidatorsResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryVotesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[] }): internal.QueryVotesResponse
    • Parameters

      • Optional base: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[]

          votes defined the queried votes.

      Returns internal.QueryVotesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.QueryVotesResponse

  • fromPartial:function
    • fromPartial(object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[] }): internal.QueryVotesResponse
    • Parameters

      • object: { pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }; votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[] }
        • Optional pagination?: { nextKey?: Uint8Array | undefined; total?: string | undefined; }

          pagination defines the pagination in the response.

        • Optional votes?: ({ proposalId?: string | undefined; voter?: string | undefined; option?: VoteOption | undefined; options?: { option?: VoteOption | undefined; weight?: string | undefined; }[] | undefined; })[]

          votes defined the queried votes.

      Returns internal.QueryVotesResponse

  • toJSON:function
    • Parameters

      Returns unknown

QueryWasmxParamsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; } }): internal.QueryWasmxParamsResponse
    • Parameters

      • Optional base: { params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; } }
        • Optional params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; }

      Returns internal.QueryWasmxParamsResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; } }): internal.QueryWasmxParamsResponse
    • Parameters

      • object: { params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; } }
        • Optional params?: { isExecutionEnabled?: boolean | undefined; maxBeginBlockTotalGas?: string | undefined; maxContractGasLimit?: string | undefined; minGasPrice?: string | undefined; }

      Returns internal.QueryWasmxParamsResponse

  • toJSON:function
ReadableStream: { prototype: internal.ReadableStream<any> }

Type declaration

ReadableStreamBYOBReader: { prototype: internal.ReadableStreamBYOBReader }

Type declaration

ReadableStreamDefaultReader: { prototype: internal.ReadableStreamDefaultReader<any> }

Type declaration

Redelegation: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]; validatorDstAddress?: string; validatorSrcAddress?: string }): internal.Redelegation
    • Parameters

      • Optional base: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]; validatorDstAddress?: string; validatorSrcAddress?: string }
        • Optional delegatorAddress?: string

          delegator_address is the bech32-encoded address of the delegator.

        • Optional entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]

          entries are the redelegation entries.

        • Optional validatorDstAddress?: string

          validator_dst_address is the validator redelegation destination operator address.

        • Optional validatorSrcAddress?: string

          validator_src_address is the validator redelegation source operator address.

      Returns internal.Redelegation

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Redelegation

  • fromPartial:function
    • fromPartial(object: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]; validatorDstAddress?: string; validatorSrcAddress?: string }): internal.Redelegation
    • Parameters

      • object: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]; validatorDstAddress?: string; validatorSrcAddress?: string }
        • Optional delegatorAddress?: string

          delegator_address is the bech32-encoded address of the delegator.

        • Optional entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; })[]

          entries are the redelegation entries.

        • Optional validatorDstAddress?: string

          validator_dst_address is the validator redelegation destination operator address.

        • Optional validatorSrcAddress?: string

          validator_src_address is the validator redelegation source operator address.

      Returns internal.Redelegation

  • toJSON:function
    • Parameters

      Returns unknown

RedelegationEntry: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { completionTime?: internal.Date; creationHeight?: string; initialBalance?: string; sharesDst?: string }
        • Optional completionTime?: internal.Date

          completion_time defines the unix time for redelegation completion.

        • Optional creationHeight?: string

          creation_height defines the height which the redelegation took place.

        • Optional initialBalance?: string

          initial_balance defines the initial balance when redelegation started.

        • Optional sharesDst?: string

          shares_dst is the amount of destination-validator shares created by redelegation.

      Returns internal.RedelegationEntry

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RedelegationEntry

  • fromPartial:function
    • Parameters

      • object: { completionTime?: internal.Date; creationHeight?: string; initialBalance?: string; sharesDst?: string }
        • Optional completionTime?: internal.Date

          completion_time defines the unix time for redelegation completion.

        • Optional creationHeight?: string

          creation_height defines the height which the redelegation took place.

        • Optional initialBalance?: string

          initial_balance defines the initial balance when redelegation started.

        • Optional sharesDst?: string

          shares_dst is the amount of destination-validator shares created by redelegation.

      Returns internal.RedelegationEntry

  • toJSON:function
    • Parameters

      Returns unknown

RedelegationEntryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balance?: string; redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } }): internal.RedelegationEntryResponse
    • Parameters

      • Optional base: { balance?: string; redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } }
        • Optional balance?: string
        • Optional redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }

      Returns internal.RedelegationEntryResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { balance?: string; redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } }): internal.RedelegationEntryResponse
    • Parameters

      • object: { balance?: string; redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } }
        • Optional balance?: string
        • Optional redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }

      Returns internal.RedelegationEntryResponse

  • toJSON:function
RedelegationResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]; redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } }): internal.RedelegationResponse
    • Parameters

      • Optional base: { entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]; redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } }
        • Optional entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]
        • Optional redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; }

      Returns internal.RedelegationResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RedelegationResponse

  • fromPartial:function
    • fromPartial(object: { entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]; redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } }): internal.RedelegationResponse
    • Parameters

      • object: { entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]; redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; } }
        • Optional entries?: ({ redelegationEntry?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; } | undefined; balance?: string | undefined; })[]
        • Optional redelegation?: { delegatorAddress?: string | undefined; validatorSrcAddress?: string | undefined; validatorDstAddress?: string | undefined; entries?: { creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; sharesDst?: string | undefined; }[] | undefined; }

      Returns internal.RedelegationResponse

  • toJSON:function
    • Parameters

      Returns unknown

RedemptionSchedule: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { claimableRedemptionTime?: internal.Date; id?: string; marketId?: string; redeemer?: string; redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; } }): internal.RedemptionSchedule
    • Parameters

      • Optional base: { claimableRedemptionTime?: internal.Date; id?: string; marketId?: string; redeemer?: string; redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; } }
        • Optional claimableRedemptionTime?: internal.Date

          the time after which the redemption can be claimed

        • Optional id?: string

          id of redemption schedule

        • Optional marketId?: string

          marketId of insurance fund for the redemption

        • Optional redeemer?: string

          address of the redeemer

        • Optional redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; }

          the insurance_pool_token amount to redeem

      Returns internal.RedemptionSchedule

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RedemptionSchedule

  • fromPartial:function
    • fromPartial(object: { claimableRedemptionTime?: internal.Date; id?: string; marketId?: string; redeemer?: string; redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; } }): internal.RedemptionSchedule
    • Parameters

      • object: { claimableRedemptionTime?: internal.Date; id?: string; marketId?: string; redeemer?: string; redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; } }
        • Optional claimableRedemptionTime?: internal.Date

          the time after which the redemption can be claimed

        • Optional id?: string

          id of redemption schedule

        • Optional marketId?: string

          marketId of insurance fund for the redemption

        • Optional redeemer?: string

          address of the redeemer

        • Optional redemptionAmount?: { denom?: string | undefined; amount?: string | undefined; }

          the insurance_pool_token amount to redeem

      Returns internal.RedemptionSchedule

  • toJSON:function
    • Parameters

      Returns unknown

RedemptionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[] }): internal.RedemptionsResponse
    • Parameters

      • Optional base: { redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[] }
        • Optional redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[]

      Returns internal.RedemptionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RedemptionsResponse

  • fromPartial:function
    • fromPartial(object: { redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[] }): internal.RedemptionsResponse
    • Parameters

      • object: { redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[] }
        • Optional redemptionSchedules?: ({ redemptionId?: string | undefined; status?: string | undefined; redeemer?: string | undefined; claimableRedemptionTime?: string | undefined; redemptionAmount?: string | undefined; ... 4 more ...; disbursedAt?: string | undefined; })[]

      Returns internal.RedemptionsResponse

  • toJSON:function
    • Parameters

      Returns unknown

Relayer: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { cta?: string; name?: string }
        • Optional cta?: string

          Call to action. A link to the relayer

        • Optional name?: string

          Relayer identifier

      Returns internal.Relayer

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Relayer

  • fromPartial:function
    • Parameters

      • object: { cta?: string; name?: string }
        • Optional cta?: string

          Call to action. A link to the relayer

        • Optional name?: string

          Relayer identifier

      Returns internal.Relayer

  • toJSON:function
    • Parameters

      Returns unknown

RelayerMarkets: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; relayers?: ({ name?: string | undefined; cta?: string | undefined; })[] }): internal.RelayerMarkets
    • Parameters

      • Optional base: { marketId?: string; relayers?: ({ name?: string | undefined; cta?: string | undefined; })[] }
        • Optional marketId?: string

          Market ID of the market

        • Optional relayers?: ({ name?: string | undefined; cta?: string | undefined; })[]

          Relayers list for specified market

      Returns internal.RelayerMarkets

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RelayerMarkets

  • fromPartial:function
    • fromPartial(object: { marketId?: string; relayers?: ({ name?: string | undefined; cta?: string | undefined; })[] }): internal.RelayerMarkets
    • Parameters

      • object: { marketId?: string; relayers?: ({ name?: string | undefined; cta?: string | undefined; })[] }
        • Optional marketId?: string

          Market ID of the market

        • Optional relayers?: ({ name?: string | undefined; cta?: string | undefined; })[]

          Relayers list for specified market

      Returns internal.RelayerMarkets

  • toJSON:function
    • Parameters

      Returns unknown

RelayersResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[] }): internal.RelayersResponse
    • Parameters

      • Optional base: { field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[] }
        • Optional field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[]

      Returns internal.RelayersResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RelayersResponse

  • fromPartial:function
    • fromPartial(object: { field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[] }): internal.RelayersResponse
    • Parameters

      • object: { field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[] }
        • Optional field?: ({ marketId?: string | undefined; relayers?: { name?: string | undefined; cta?: string | undefined; }[] | undefined; })[]

      Returns internal.RelayersResponse

  • toJSON:function
    • Parameters

      Returns unknown

Response: { prototype: internal.Response; error: any; redirect: any }

Type declaration

RevokeBandOraclePrivilegeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

RevokePriceFeederPrivilegeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Reward: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { accountAddress?: string; distributedAt?: string; rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Reward
    • Parameters

      • Optional base: { accountAddress?: string; distributedAt?: string; rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional accountAddress?: string

          Account address

        • Optional distributedAt?: string

          Rewards distribution timestamp in UNIX millis.

        • Optional rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Reward coins distributed

      Returns internal.Reward

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Reward

  • fromPartial:function
    • fromPartial(object: { accountAddress?: string; distributedAt?: string; rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Reward
    • Parameters

      • object: { accountAddress?: string; distributedAt?: string; rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional accountAddress?: string

          Account address

        • Optional distributedAt?: string

          Rewards distribution timestamp in UNIX millis.

        • Optional rewards?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Reward coins distributed

      Returns internal.Reward

  • toJSON:function
    • Parameters

      Returns unknown

RewardsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[] }): internal.RewardsResponse
    • Parameters

      • Optional base: { rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[] }
        • Optional rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[]

          The trading rewards distributed

      Returns internal.RewardsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.RewardsResponse

  • fromPartial:function
    • fromPartial(object: { rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[] }): internal.RewardsResponse
    • Parameters

      • object: { rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[] }
        • Optional rewards?: ({ accountAddress?: string | undefined; rewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; distributedAt?: string | undefined; })[]

          The trading rewards distributed

      Returns internal.RewardsResponse

  • toJSON:function
    • Parameters

      Returns unknown

SignDoc: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { accountNumber?: string; authInfoBytes?: internal.Uint8Array; bodyBytes?: internal.Uint8Array; chainId?: string }
        • Optional accountNumber?: string

          account_number is the account number of the account in state

        • Optional authInfoBytes?: internal.Uint8Array

          auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

        • Optional bodyBytes?: internal.Uint8Array

          body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

        • Optional chainId?: string

          chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

      Returns internal.SignDoc

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SignDoc

  • fromPartial:function
    • Parameters

      • object: { accountNumber?: string; authInfoBytes?: internal.Uint8Array; bodyBytes?: internal.Uint8Array; chainId?: string }
        • Optional accountNumber?: string

          account_number is the account number of the account in state

        • Optional authInfoBytes?: internal.Uint8Array

          auth_info_bytes is a protobuf serialization of an AuthInfo that matches the representation in TxRaw.

        • Optional bodyBytes?: internal.Uint8Array

          body_bytes is protobuf serialization of a TxBody that matches the representation in TxRaw.

        • Optional chainId?: string

          chain_id is the unique identifier of the chain this transaction targets. It prevents signed transactions from being used on another chain by an attacker

      Returns internal.SignDoc

  • toJSON:function
    • Parameters

      Returns unknown

Signature: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; pubkey?: string; sequence?: string; signature?: string }): internal.Signature
    • Parameters

      • Optional base: { address?: string; pubkey?: string; sequence?: string; signature?: string }
        • Optional address?: string
        • Optional pubkey?: string
        • Optional sequence?: string
        • Optional signature?: string

      Returns internal.Signature

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Signature

  • fromPartial:function
    • fromPartial(object: { address?: string; pubkey?: string; sequence?: string; signature?: string }): internal.Signature
    • Parameters

      • object: { address?: string; pubkey?: string; sequence?: string; signature?: string }
        • Optional address?: string
        • Optional pubkey?: string
        • Optional sequence?: string
        • Optional signature?: string

      Returns internal.Signature

  • toJSON:function
    • Parameters

      Returns unknown

SignerInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: string }): internal.SignerInfo
    • Parameters

      • Optional base: { modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: string }
        • Optional modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }

          mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's

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

          public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required
          signer address for this position and lookup the public key.

        • Optional sequence?: string

          sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.

      Returns internal.SignerInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SignerInfo

  • fromPartial:function
    • fromPartial(object: { modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: string }): internal.SignerInfo
    • Parameters

      • object: { modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }; publicKey?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; }; sequence?: string }
        • Optional modeInfo?: { single?: { mode?: SignMode | undefined; } | undefined; multi?: { bitarray?: { extraBitsStored?: number | undefined; elems?: Uint8Array | undefined; } | undefined; modeInfos?: ...[] | undefined; } | undefined; }

          mode_info describes the signing mode of the signer and is a nested structure to support nested multisig pubkey's

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

          public_key is the public key of the signer. It is optional for accounts that already exist in state. If unset, the verifier can use the required
          signer address for this position and lookup the public key.

        • Optional sequence?: string

          sequence is the sequence of the account, which describes the number of committed transactions signed by a given address. It is used to prevent replay attacks.

      Returns internal.SignerInfo

  • toJSON:function
    • Parameters

      Returns unknown

SimulateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { gasInfo?: { gasWanted?: string | undefined; gasUsed?: string | undefined; }; result?: { data?: Uint8Array | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[] | undefined; } }): internal.SimulateResponse
    • Parameters

      • Optional base: { gasInfo?: { gasWanted?: string | undefined; gasUsed?: string | undefined; }; result?: { data?: Uint8Array | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[] | undefined; } }
        • Optional gasInfo?: { gasWanted?: string | undefined; gasUsed?: string | undefined; }

          gas_info is the information about gas used in the simulation.

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

          result is the result of the simulation.

      Returns internal.SimulateResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SimulateResponse

  • fromPartial:function
    • fromPartial(object: { gasInfo?: { gasWanted?: string | undefined; gasUsed?: string | undefined; }; result?: { data?: Uint8Array | undefined; log?: string | undefined; events?: { type?: string | undefined; attributes?: { key?: Uint8Array | undefined; value?: Uint8Array | undefined; index?: boolean | undefined; }[] | undefined; }[] | undefined; } }): internal.SimulateResponse
    • Parameters

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

          gas_info is the information about gas used in the simulation.

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

          result is the result of the simulation.

      Returns internal.SimulateResponse

  • toJSON:function
    • Parameters

      Returns unknown

SingleDerivativeLimitOrderbook: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }): internal.SingleDerivativeLimitOrderbook
    • Parameters

      • Optional base: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }
        • Optional marketId?: string

          market's ID

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of the market

      Returns internal.SingleDerivativeLimitOrderbook

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }): internal.SingleDerivativeLimitOrderbook
    • Parameters

      • object: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; } }
        • Optional marketId?: string

          market's ID

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of the market

      Returns internal.SingleDerivativeLimitOrderbook

  • toJSON:function
SingleDerivativeLimitOrderbookV2: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }): internal.SingleDerivativeLimitOrderbookV2
    • Parameters

      • Optional base: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }
        • Optional marketId?: string

          market's ID

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of the market

      Returns internal.SingleDerivativeLimitOrderbookV2

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }): internal.SingleDerivativeLimitOrderbookV2
    • Parameters

      • object: { marketId?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; } }
        • Optional marketId?: string

          market's ID

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of the market

      Returns internal.SingleDerivativeLimitOrderbookV2

  • toJSON:function
SlashingEvent: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; blockNumber?: string; blockTimestamp?: string; jailed?: string; missedBlocks?: string; power?: string; reason?: string }): internal.SlashingEvent
    • Parameters

      • Optional base: { address?: string; blockNumber?: string; blockTimestamp?: string; jailed?: string; missedBlocks?: string; power?: string; reason?: string }
        • Optional address?: string
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional jailed?: string
        • Optional missedBlocks?: string
        • Optional power?: string
        • Optional reason?: string

      Returns internal.SlashingEvent

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SlashingEvent

  • fromPartial:function
    • fromPartial(object: { address?: string; blockNumber?: string; blockTimestamp?: string; jailed?: string; missedBlocks?: string; power?: string; reason?: string }): internal.SlashingEvent
    • Parameters

      • object: { address?: string; blockNumber?: string; blockTimestamp?: string; jailed?: string; missedBlocks?: string; power?: string; reason?: string }
        • Optional address?: string
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional jailed?: string
        • Optional missedBlocks?: string
        • Optional power?: string
        • Optional reason?: string

      Returns internal.SlashingEvent

  • toJSON:function
    • Parameters

      Returns unknown

SoftwareUpgradeProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }; title?: string }): internal.SoftwareUpgradeProposal
    • Parameters

      • Optional base: { description?: string; plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }; title?: string }
        • Optional description?: string
        • Optional plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }
        • Optional title?: string

      Returns internal.SoftwareUpgradeProposal

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SoftwareUpgradeProposal

  • fromPartial:function
    • fromPartial(object: { description?: string; plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }; title?: string }): internal.SoftwareUpgradeProposal
    • Parameters

      • object: { description?: string; plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }; title?: string }
        • Optional description?: string
        • Optional plan?: { name?: string | undefined; time?: Date | undefined; height?: string | undefined; info?: string | undefined; upgradedClientState?: { typeUrl?: string | undefined; value?: Uint8Array | undefined; } | undefined; }
        • Optional title?: string

      Returns internal.SoftwareUpgradeProposal

  • toJSON:function
    • Parameters

      Returns unknown

SourceBuffer: { prototype: internal.SourceBuffer }

Type declaration

SourceBufferList: { prototype: internal.SourceBufferList }

Type declaration

SpotMarketInfo: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { baseDenom?: string; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }): internal.SpotMarketInfo
    • Parameters

      • Optional base: { baseDenom?: string; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }
        • Optional baseDenom?: string

          Coin denom used for the base asset.

        • Optional baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for base asset, only for Ethereum-based assets

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          SpotMarket ID is keccak265(baseDenom || quoteDenom)

        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.

      Returns internal.SpotMarketInfo

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SpotMarketInfo

  • fromPartial:function
    • fromPartial(object: { baseDenom?: string; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }): internal.SpotMarketInfo
    • Parameters

      • object: { baseDenom?: string; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; makerFeeRate?: string; marketId?: string; marketStatus?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }; serviceProviderFee?: string; takerFeeRate?: string; ticker?: string }
        • Optional baseDenom?: string

          Coin denom used for the base asset.

        • Optional baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for base asset, only for Ethereum-based assets

        • Optional makerFeeRate?: string

          Defines the fee percentage makers pay when trading (in quote asset)

        • Optional marketId?: string

          SpotMarket ID is keccak265(baseDenom || quoteDenom)

        • Optional marketStatus?: string

          The status of the market

        • Optional minPriceTickSize?: string

          Defines the minimum required tick size for the order's price

        • Optional minQuantityTickSize?: string

          Defines the minimum required tick size for the order's quantity

        • Optional quoteDenom?: string

          Coin denom used for the quote asset.

        • Optional quoteTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undefined; }

          Token metadata for quote asset, only for Ethereum-based assets

        • Optional serviceProviderFee?: string

          Percentage of the transaction fee shared with the service provider

        • Optional takerFeeRate?: string

          Defines the fee percentage takers pay when trading (in quote asset)

        • Optional ticker?: string

          A name of the pair in format AAA/BBB, where AAA is base asset, BBB is quote asset.

      Returns internal.SpotMarketInfo

  • toJSON:function
    • Parameters

      Returns unknown

SpotMarketLaunchProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { baseDenom?: string; description?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.SpotMarketLaunchProposal
    • Parameters

      • Optional base: { baseDenom?: string; description?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional baseDenom?: string

          type of coin to use as the base currency

        • Optional description?: string
        • Optional makerFeeRate?: string

          maker_fee_rate defines the fee percentage makers pay when trading

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional quoteDenom?: string

          type of coin to use as the quote currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the fee percentage takers pay when trading

        • Optional ticker?: string

          Ticker for the spot market.

        • Optional title?: string

      Returns internal.SpotMarketLaunchProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { baseDenom?: string; description?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }): internal.SpotMarketLaunchProposal
    • Parameters

      • object: { baseDenom?: string; description?: string; makerFeeRate?: string; minPriceTickSize?: string; minQuantityTickSize?: string; quoteDenom?: string; takerFeeRate?: string; ticker?: string; title?: string }
        • Optional baseDenom?: string

          type of coin to use as the base currency

        • Optional description?: string
        • Optional makerFeeRate?: string

          maker_fee_rate defines the fee percentage makers pay when trading

        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional quoteDenom?: string

          type of coin to use as the quote currency

        • Optional takerFeeRate?: string

          taker_fee_rate defines the fee percentage takers pay when trading

        • Optional ticker?: string

          Ticker for the spot market.

        • Optional title?: string

      Returns internal.SpotMarketLaunchProposal

  • toJSON:function
    • Parameters

      Returns unknown

SpotMarketOrder: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balanceHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.SpotMarketOrder
    • Parameters

      • Optional base: { balanceHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional balanceHold?: string
        • Optional orderHash?: internal.Uint8Array
        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.SpotMarketOrder

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SpotMarketOrder

  • fromPartial:function
    • fromPartial(object: { balanceHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.SpotMarketOrder
    • Parameters

      • object: { balanceHold?: string; orderHash?: internal.Uint8Array; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional balanceHold?: string
        • Optional orderHash?: internal.Uint8Array
        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.SpotMarketOrder

  • toJSON:function
    • Parameters

      Returns unknown

SpotMarketParamUpdateProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { description?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }): internal.SpotMarketParamUpdateProposal
    • Parameters

      • Optional base: { description?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }
        • Optional description?: string
        • Optional makerFeeRate?: string

          maker_fee_rate defines the trade fee rate for makers on the spot market

        • Optional marketId?: string
        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional relayerFeeShareRate?: string

          relayer_fee_share_rate defines the relayer fee share rate for the spot market

        • Optional status?: MarketStatus
        • Optional takerFeeRate?: string

          taker_fee_rate defines the trade fee rate for takers on the spot market

        • Optional title?: string

      Returns internal.SpotMarketParamUpdateProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { description?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }): internal.SpotMarketParamUpdateProposal
    • Parameters

      • object: { description?: string; makerFeeRate?: string; marketId?: string; minPriceTickSize?: string; minQuantityTickSize?: string; relayerFeeShareRate?: string; status?: MarketStatus; takerFeeRate?: string; title?: string }
        • Optional description?: string
        • Optional makerFeeRate?: string

          maker_fee_rate defines the trade fee rate for makers on the spot market

        • Optional marketId?: string
        • Optional minPriceTickSize?: string

          min_price_tick_size defines the minimum tick size of the order's price and margin

        • Optional minQuantityTickSize?: string

          min_quantity_tick_size defines the minimum tick size of the order's quantity

        • Optional relayerFeeShareRate?: string

          relayer_fee_share_rate defines the relayer fee share rate for the spot market

        • Optional status?: MarketStatus
        • Optional takerFeeRate?: string

          taker_fee_rate defines the trade fee rate for takers on the spot market

        • Optional title?: string

      Returns internal.SpotMarketParamUpdateProposal

  • toJSON:function
SpotOrder: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.SpotOrder
    • Parameters

      • Optional base: { marketId?: string; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional marketId?: string

          market_id represents the unique ID of the market

        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.SpotOrder

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SpotOrder

  • fromPartial:function
    • fromPartial(object: { marketId?: string; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }): internal.SpotOrder
    • Parameters

      • object: { marketId?: string; orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }; orderType?: OrderType; triggerPrice?: string }
        • Optional marketId?: string

          market_id represents the unique ID of the market

        • Optional orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; }

          order_info contains the information of the order

        • Optional orderType?: OrderType

          order types

        • Optional triggerPrice?: string

          trigger_price is the trigger price used by stop/take orders

      Returns internal.SpotOrder

  • toJSON:function
    • Parameters

      Returns unknown

SpotOrderBook: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[] }): internal.SpotOrderBook
    • Parameters

      • Optional base: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[] }
        • Optional isBuySide?: boolean
        • Optional marketId?: string
        • Optional orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[]

      Returns internal.SpotOrderBook

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SpotOrderBook

  • fromPartial:function
    • fromPartial(object: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[] }): internal.SpotOrderBook
    • Parameters

      • object: { isBuySide?: boolean; marketId?: string; orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[] }
        • Optional isBuySide?: boolean
        • Optional marketId?: string
        • Optional orders?: ({ orderInfo?: { subaccountId?: string | undefined; feeRecipient?: string | undefined; price?: string | undefined; quantity?: string | undefined; } | undefined; orderType?: OrderType | undefined; fillable?: string | undefined; triggerPrice?: string | undefined; orderHash?: Uint8Array | undefined; })[]

      Returns internal.SpotOrderBook

  • toJSON:function
    • Parameters

      Returns unknown

StreamAccountPortfolioResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

StreamBlocksResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }): internal.StreamBlocksResponse
    • Parameters

      • Optional base: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[]

      Returns internal.StreamBlocksResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamBlocksResponse

  • fromPartial:function
    • fromPartial(object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }): internal.StreamBlocksResponse
    • Parameters

      • object: { blockHash?: string; height?: string; moniker?: string; numPreCommits?: string; numTxs?: string; parentHash?: string; proposer?: string; timestamp?: string; txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[] }
        • Optional blockHash?: string
        • Optional height?: string
        • Optional moniker?: string
        • Optional numPreCommits?: string
        • Optional numTxs?: string
        • Optional parentHash?: string
        • Optional proposer?: string
        • Optional timestamp?: string
        • Optional txs?: ({ id?: string | undefined; blockNumber?: string | undefined; blockTimestamp?: string | undefined; hash?: string | undefined; codespace?: string | undefined; messages?: string | undefined; txNumber?: string | undefined; errorLog?: string | undefined; code?: number | undefined; })[]

      Returns internal.StreamBlocksResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamKeepaliveResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

StreamMarketResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }; operationType?: string; timestamp?: string }): internal.StreamMarketResponse
    • Parameters

      • Optional base: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }; operationType?: string; timestamp?: string }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }

          Info about particular derivative market

        • Optional operationType?: string

          Update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamMarketResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamMarketResponse

  • fromPartial:function
    • fromPartial(object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }; operationType?: string; timestamp?: string }): internal.StreamMarketResponse
    • Parameters

      • object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }; operationType?: string; timestamp?: string }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; oracleBase?: string | undefined; oracleQuote?: string | undefined; oracleType?: string | undefined; ... 13 more ...; expiryFuturesMarketInfo?: { ...; } | undefined; }

          Info about particular derivative market

        • Optional operationType?: string

          Update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamMarketResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamMarketsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...; operationType?: string; timestamp?: string }): internal.StreamMarketsResponse
    • Parameters

      • Optional base: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...; operationType?: string; timestamp?: string }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...

          Info about particular spot market

        • Optional operationType?: string

          Update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamMarketsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamMarketsResponse

  • fromPartial:function
    • fromPartial(object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...; operationType?: string; timestamp?: string }): internal.StreamMarketsResponse
    • Parameters

      • object: { market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...; operationType?: string; timestamp?: string }
        • Optional market?: { marketId?: string | undefined; marketStatus?: string | undefined; ticker?: string | undefined; baseDenom?: string | undefined; baseTokenMeta?: { name?: string | undefined; address?: string | undefined; symbol?: string | undefined; logo?: string | undefined; decimals?: number | undefined; updatedAt?: string | undef...

          Info about particular spot market

        • Optional operationType?: string

          Update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamMarketsResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamOrderbookResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookResponse
    • Parameters

      • Optional base: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamOrderbookResponse

  • fromPartial:function
    • fromPartial(object: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookResponse
    • Parameters

      • object: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; timestamp?: string | undefined; }

          Orderbook of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamOrderbookUpdateResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; operationType?: string; orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookUpdateResponse
    • Parameters

      • Optional base: { marketId?: string; operationType?: string; orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }

          Orderbook level updates of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookUpdateResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { marketId?: string; operationType?: string; orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookUpdateResponse
    • Parameters

      • object: { marketId?: string; operationType?: string; orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbookLevelUpdates?: { marketId?: string | undefined; sequence?: string | undefined; buys?: { price?: string | undefined; quantity?: string | undefined; isActive?: boolean | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { ...; }[] | undefined; updatedAt?: string | undefined; }

          Orderbook level updates of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookUpdateResponse

  • toJSON:function
StreamOrderbookV2Response: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookV2Response
    • Parameters

      • Optional base: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookV2Response

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }; timestamp?: string }): internal.StreamOrderbookV2Response
    • Parameters

      • object: { marketId?: string; operationType?: string; orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }; timestamp?: string }
        • Optional marketId?: string

          MarketId of the market's orderbook

        • Optional operationType?: string

          Order update type

        • Optional orderbook?: { buys?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sells?: { price?: string | undefined; quantity?: string | undefined; timestamp?: string | undefined; }[] | undefined; sequence?: string | undefined; timestamp?: string | undefined; }

          Orderbook of a Derivative Market

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrderbookV2Response

  • toJSON:function
    • Parameters

      Returns unknown

StreamOrdersHistoryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { operationType?: string; order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }; timestamp?: string }): internal.StreamOrdersHistoryResponse
    • Parameters

      • Optional base: { operationType?: string; order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }; timestamp?: string }
        • Optional operationType?: string

          Order update type

        • Optional order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }

          Updated order

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrdersHistoryResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { operationType?: string; order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }; timestamp?: string }): internal.StreamOrdersHistoryResponse
    • Parameters

      • object: { operationType?: string; order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }; timestamp?: string }
        • Optional operationType?: string

          Order update type

        • Optional order?: { orderHash?: string | undefined; marketId?: string | undefined; isActive?: boolean | undefined; subaccountId?: string | undefined; executionType?: string | undefined; orderType?: string | undefined; ... 12 more ...; margin?: string | undefined; }

          Updated order

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrdersHistoryResponse

  • toJSON:function
StreamOrdersResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { operationType?: string; order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }; timestamp?: string }): internal.StreamOrdersResponse
    • Parameters

      • Optional base: { operationType?: string; order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }; timestamp?: string }
        • Optional operationType?: string

          Order update type

        • Optional order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }

          Updated market order

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrdersResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamOrdersResponse

  • fromPartial:function
    • fromPartial(object: { operationType?: string; order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }; timestamp?: string }): internal.StreamOrdersResponse
    • Parameters

      • object: { operationType?: string; order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }; timestamp?: string }
        • Optional operationType?: string

          Order update type

        • Optional order?: { orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; }

          Updated market order

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamOrdersResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamPositionsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }; timestamp?: string }): internal.StreamPositionsResponse
    • Parameters

      • Optional base: { position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }; timestamp?: string }
        • Optional position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }

          Updated Derivative Position

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamPositionsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamPositionsResponse

  • fromPartial:function
    • fromPartial(object: { position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }; timestamp?: string }): internal.StreamPositionsResponse
    • Parameters

      • object: { position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }; timestamp?: string }
        • Optional position?: { ticker?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; direction?: string | undefined; quantity?: string | undefined; entryPrice?: string | undefined; ... 5 more ...; createdAt?: string | undefined; }

          Updated Derivative Position

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamPositionsResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamPricesByMarketsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

StreamPricesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

StreamSubaccountBalanceResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }; timestamp?: string }): internal.StreamSubaccountBalanceResponse
    • Parameters

      • Optional base: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }; timestamp?: string }
        • Optional balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }

          Subaccount balance

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamSubaccountBalanceResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }; timestamp?: string }): internal.StreamSubaccountBalanceResponse
    • Parameters

      • object: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }; timestamp?: string }
        • Optional balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }

          Subaccount balance

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

      Returns internal.StreamSubaccountBalanceResponse

  • toJSON:function
StreamTradesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { operationType?: string; timestamp?: string; trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; } }): internal.StreamTradesResponse
    • Parameters

      • Optional base: { operationType?: string; timestamp?: string; trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; } }
        • Optional operationType?: string

          Executed trades update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

        • Optional trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; }

          New derivative market trade

      Returns internal.StreamTradesResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamTradesResponse

  • fromPartial:function
    • fromPartial(object: { operationType?: string; timestamp?: string; trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; } }): internal.StreamTradesResponse
    • Parameters

      • object: { operationType?: string; timestamp?: string; trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; } }
        • Optional operationType?: string

          Executed trades update type

        • Optional timestamp?: string

          Operation timestamp in UNIX millis.

        • Optional trade?: { orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; }

          New derivative market trade

      Returns internal.StreamTradesResponse

  • toJSON:function
    • Parameters

      Returns unknown

StreamTxsResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }): internal.StreamTxsResponse
    • Parameters

      • Optional base: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional messages?: string
        • Optional txNumber?: string

      Returns internal.StreamTxsResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.StreamTxsResponse

  • fromPartial:function
    • fromPartial(object: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }): internal.StreamTxsResponse
    • Parameters

      • object: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional messages?: string
        • Optional txNumber?: string

      Returns internal.StreamTxsResponse

  • toJSON:function
    • Parameters

      Returns unknown

SubaccountBalanceEndpointResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; } }): internal.SubaccountBalanceEndpointResponse
    • Parameters

      • Optional base: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; } }
        • Optional balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }

          Subaccount balance

      Returns internal.SubaccountBalanceEndpointResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; } }): internal.SubaccountBalanceEndpointResponse
    • Parameters

      • object: { balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; } }
        • Optional balance?: { subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; }

          Subaccount balance

      Returns internal.SubaccountBalanceEndpointResponse

  • toJSON:function
SubaccountBalanceTransfer: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { amount?: { denom?: string | undefined; amount?: string | undefined; }; dstAccountAddress?: string; dstSubaccountId?: string; executedAt?: string; srcAccountAddress?: string; srcSubaccountId?: string; transferType?: string }): internal.SubaccountBalanceTransfer
    • Parameters

      • Optional base: { amount?: { denom?: string | undefined; amount?: string | undefined; }; dstAccountAddress?: string; dstSubaccountId?: string; executedAt?: string; srcAccountAddress?: string; srcSubaccountId?: string; transferType?: string }
        • Optional amount?: { denom?: string | undefined; amount?: string | undefined; }

          Coin amount of the transfer

        • Optional dstAccountAddress?: string

          Account address of the receiving side

        • Optional dstSubaccountId?: string

          Subaccount ID of the receiving side

        • Optional executedAt?: string

          Timestamp of the transfer in UNIX millis

        • Optional srcAccountAddress?: string

          Account address of the sending side

        • Optional srcSubaccountId?: string

          Subaccount ID of the sending side

        • Optional transferType?: string

          Type of the subaccount balance transfer

      Returns internal.SubaccountBalanceTransfer

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { amount?: { denom?: string | undefined; amount?: string | undefined; }; dstAccountAddress?: string; dstSubaccountId?: string; executedAt?: string; srcAccountAddress?: string; srcSubaccountId?: string; transferType?: string }): internal.SubaccountBalanceTransfer
    • Parameters

      • object: { amount?: { denom?: string | undefined; amount?: string | undefined; }; dstAccountAddress?: string; dstSubaccountId?: string; executedAt?: string; srcAccountAddress?: string; srcSubaccountId?: string; transferType?: string }
        • Optional amount?: { denom?: string | undefined; amount?: string | undefined; }

          Coin amount of the transfer

        • Optional dstAccountAddress?: string

          Account address of the receiving side

        • Optional dstSubaccountId?: string

          Subaccount ID of the receiving side

        • Optional executedAt?: string

          Timestamp of the transfer in UNIX millis

        • Optional srcAccountAddress?: string

          Account address of the sending side

        • Optional srcSubaccountId?: string

          Subaccount ID of the sending side

        • Optional transferType?: string

          Type of the subaccount balance transfer

      Returns internal.SubaccountBalanceTransfer

  • toJSON:function
SubaccountBalanceV2: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { denom?: string; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }; subaccountId?: string }): internal.SubaccountBalanceV2
    • Parameters

      • Optional base: { denom?: string; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }; subaccountId?: string }
        • Optional denom?: string

          Coin denom on the chain.

        • Optional deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }
        • Optional subaccountId?: string

          Related subaccount ID

      Returns internal.SubaccountBalanceV2

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SubaccountBalanceV2

  • fromPartial:function
    • fromPartial(object: { denom?: string; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }; subaccountId?: string }): internal.SubaccountBalanceV2
    • Parameters

      • object: { denom?: string; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }; subaccountId?: string }
        • Optional denom?: string

          Coin denom on the chain.

        • Optional deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; }
        • Optional subaccountId?: string

          Related subaccount ID

      Returns internal.SubaccountBalanceV2

  • toJSON:function
    • Parameters

      Returns unknown

SubaccountBalancesListResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[] }): internal.SubaccountBalancesListResponse
    • Parameters

      • Optional base: { balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[] }
        • Optional balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[]

          List of subaccount balances

      Returns internal.SubaccountBalancesListResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[] }): internal.SubaccountBalancesListResponse
    • Parameters

      • object: { balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[] }
        • Optional balances?: ({ subaccountId?: string | undefined; accountAddress?: string | undefined; denom?: string | undefined; deposit?: { totalBalance?: string | undefined; availableBalance?: string | undefined; } | undefined; })[]

          List of subaccount balances

      Returns internal.SubaccountBalancesListResponse

  • toJSON:function
SubaccountHistoryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[] }): internal.SubaccountHistoryResponse
    • Parameters

      • Optional base: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[]

          List of subaccount transfers

      Returns internal.SubaccountHistoryResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[] }): internal.SubaccountHistoryResponse
    • Parameters

      • object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional transfers?: ({ transferType?: string | undefined; srcSubaccountId?: string | undefined; srcAccountAddress?: string | undefined; dstSubaccountId?: string | undefined; dstAccountAddress?: string | undefined; amount?: { ...; } | undefined; executedAt?: string | undefined; })[]

          List of subaccount transfers

      Returns internal.SubaccountHistoryResponse

  • toJSON:function
SubaccountNonce: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { subaccountId?: string; subaccountTradeNonce?: { nonce?: number | undefined; } }): internal.SubaccountNonce
    • Parameters

      • Optional base: { subaccountId?: string; subaccountTradeNonce?: { nonce?: number | undefined; } }
        • Optional subaccountId?: string
        • Optional subaccountTradeNonce?: { nonce?: number | undefined; }

      Returns internal.SubaccountNonce

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.SubaccountNonce

  • fromPartial:function
    • fromPartial(object: { subaccountId?: string; subaccountTradeNonce?: { nonce?: number | undefined; } }): internal.SubaccountNonce
    • Parameters

      • object: { subaccountId?: string; subaccountTradeNonce?: { nonce?: number | undefined; } }
        • Optional subaccountId?: string
        • Optional subaccountTradeNonce?: { nonce?: number | undefined; }

      Returns internal.SubaccountNonce

  • toJSON:function
    • Parameters

      Returns unknown

SubaccountOrderSummaryResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

SubaccountOrdersListResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.SubaccountOrdersListResponse
    • Parameters

      • Optional base: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]

          List of derivative orders

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.SubaccountOrdersListResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }): internal.SubaccountOrdersListResponse
    • Parameters

      • object: { orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]; paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; } }
        • Optional orders?: ({ orderHash?: string | undefined; orderSide?: string | undefined; marketId?: string | undefined; subaccountId?: string | undefined; isReduceOnly?: boolean | undefined; margin?: string | undefined; ... 13 more ...; executionType?: string | undefined; })[]

          List of derivative orders

        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }

      Returns internal.SubaccountOrdersListResponse

  • toJSON:function
SubaccountTradeNonce: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

SubaccountTradesListResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }): internal.SubaccountTradesListResponse
    • Parameters

      • Optional base: { trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }
        • Optional trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[]

          List of derivative market trades

      Returns internal.SubaccountTradesListResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }): internal.SubaccountTradesListResponse
    • Parameters

      • object: { trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }
        • Optional trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[]

          List of derivative market trades

      Returns internal.SubaccountTradesListResponse

  • toJSON:function
SubaccountsListResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

Subscription: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { holderAddress?: string; lpAmount?: string; lpAmountPercentage?: number; vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ... }): internal.Subscription
    • Parameters

      • Optional base: { holderAddress?: string; lpAmount?: string; lpAmountPercentage?: number; vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ... }
        • Optional holderAddress?: string
        • Optional lpAmount?: string
        • Optional lpAmountPercentage?: number
        • Optional vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...

      Returns internal.Subscription

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Subscription

  • fromPartial:function
    • fromPartial(object: { holderAddress?: string; lpAmount?: string; lpAmountPercentage?: number; vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ... }): internal.Subscription
    • Parameters

      • object: { holderAddress?: string; lpAmount?: string; lpAmountPercentage?: number; vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ... }
        • Optional holderAddress?: string
        • Optional lpAmount?: string
        • Optional lpAmountPercentage?: number
        • Optional vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { allTimeChange?: number | undefined; ... 6 more ...; sixMonthsChange?: number | undefined; } | undefined; ... 7 more ...; createdAt?: string ...

      Returns internal.Subscription

  • toJSON:function
    • Parameters

      Returns unknown

Supply: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Supply
    • Parameters

      • Optional base: { total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional total?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Supply

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Supply

  • fromPartial:function
    • fromPartial(object: { total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }): internal.Supply
    • Parameters

      • object: { total?: ({ denom?: string | undefined; amount?: string | undefined; })[] }
        • Optional total?: ({ denom?: string | undefined; amount?: string | undefined; })[]

      Returns internal.Supply

  • toJSON:function
    • Parameters

      Returns unknown

TVLChartResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[] }): internal.TVLChartResponse
    • Parameters

      • Optional base: { prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[] }
        • Optional prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[]

      Returns internal.TVLChartResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TVLChartResponse

  • fromPartial:function
    • fromPartial(object: { prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[] }): internal.TVLChartResponse
    • Parameters

      • object: { prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[] }
        • Optional prices?: ({ price?: number | undefined; updatedAt?: string | undefined; })[]

      Returns internal.TVLChartResponse

  • toJSON:function
    • Parameters

      Returns unknown

TallyParams: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

TextProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { description?: string; title?: string }
        • Optional description?: string
        • Optional title?: string

      Returns internal.TextProposal

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TextProposal

  • fromPartial:function
    • Parameters

      • object: { description?: string; title?: string }
        • Optional description?: string
        • Optional title?: string

      Returns internal.TextProposal

  • toJSON:function
    • Parameters

      Returns unknown

TimeRanges: { prototype: internal.TimeRanges }

Type declaration

Timestamp: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { nanos?: number; seconds?: string }
        • Optional nanos?: number

          Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.

        • Optional seconds?: string

          Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

      Returns internal.Timestamp

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Timestamp

  • fromPartial:function
    • Parameters

      • object: { nanos?: number; seconds?: string }
        • Optional nanos?: number

          Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.

        • Optional seconds?: string

          Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.

      Returns internal.Timestamp

  • toJSON:function
    • Parameters

      Returns unknown

TokenMeta: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; decimals?: number; logo?: string; name?: string; symbol?: string; updatedAt?: string }): internal.TokenMeta
    • Parameters

      • Optional base: { address?: string; decimals?: number; logo?: string; name?: string; symbol?: string; updatedAt?: string }
        • Optional address?: string

          Token Ethereum contract address

        • Optional decimals?: number

          Token decimals

        • Optional logo?: string

          URL to the logo image

        • Optional name?: string

          Token full name

        • Optional symbol?: string

          Token symbol short name

        • Optional updatedAt?: string

          Token metadata fetched timestamp in UNIX millis.

      Returns internal.TokenMeta

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TokenMeta

  • fromPartial:function
    • fromPartial(object: { address?: string; decimals?: number; logo?: string; name?: string; symbol?: string; updatedAt?: string }): internal.TokenMeta
    • Parameters

      • object: { address?: string; decimals?: number; logo?: string; name?: string; symbol?: string; updatedAt?: string }
        • Optional address?: string

          Token Ethereum contract address

        • Optional decimals?: number

          Token decimals

        • Optional logo?: string

          URL to the logo image

        • Optional name?: string

          Token full name

        • Optional symbol?: string

          Token symbol short name

        • Optional updatedAt?: string

          Token metadata fetched timestamp in UNIX millis.

      Returns internal.TokenMeta

  • toJSON:function
    • Parameters

      Returns unknown

TradeRecord: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { price?: string; quantity?: string; timestamp?: string }
        • Optional price?: string
        • Optional quantity?: string
        • Optional timestamp?: string

      Returns internal.TradeRecord

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TradeRecord

  • fromPartial:function
    • fromPartial(object: { price?: string; quantity?: string; timestamp?: string }): internal.TradeRecord
    • Parameters

      • object: { price?: string; quantity?: string; timestamp?: string }
        • Optional price?: string
        • Optional quantity?: string
        • Optional timestamp?: string

      Returns internal.TradeRecord

  • toJSON:function
    • Parameters

      Returns unknown

TradeRecords: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]; marketId?: string }): internal.TradeRecords
    • Parameters

      • Optional base: { latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]; marketId?: string }
        • Optional latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]
        • Optional marketId?: string

      Returns internal.TradeRecords

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TradeRecords

  • fromPartial:function
    • fromPartial(object: { latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]; marketId?: string }): internal.TradeRecords
    • Parameters

      • object: { latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]; marketId?: string }
        • Optional latestTradeRecords?: ({ timestamp?: string | undefined; price?: string | undefined; quantity?: string | undefined; })[]
        • Optional marketId?: string

      Returns internal.TradeRecords

  • toJSON:function
    • Parameters

      Returns unknown

TradesResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }): internal.TradesResponse
    • Parameters

      • Optional base: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[]

          Trades of a Derivative Market

      Returns internal.TradesResponse

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TradesResponse

  • fromPartial:function
    • fromPartial(object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }): internal.TradesResponse
    • Parameters

      • object: { paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }; trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[] }
        • Optional paging?: { total?: string | undefined; from?: number | undefined; to?: number | undefined; countBySubaccount?: string | undefined; }
        • Optional trades?: ({ orderHash?: string | undefined; subaccountId?: string | undefined; marketId?: string | undefined; tradeExecutionType?: string | undefined; isLiquidation?: boolean | undefined; ... 6 more ...; executionSide?: string | undefined; })[]

          Trades of a Derivative Market

      Returns internal.TradesResponse

  • toJSON:function
    • Parameters

      Returns unknown

TradingRewardCampaignAccountPendingPoints: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

TradingRewardCampaignAccountPoints: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

TradingRewardCampaignLaunchProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }): internal.TradingRewardCampaignLaunchProposal
    • Parameters

      • Optional base: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }
        • Optional campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.TradingRewardCampaignLaunchProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }): internal.TradingRewardCampaignLaunchProposal
    • Parameters

      • object: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }
        • Optional campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional campaignRewardPools?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.TradingRewardCampaignLaunchProposal

  • toJSON:function
TradingRewardCampaignUpdateProposal: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }): internal.TradingRewardCampaignUpdateProposal
    • Parameters

      • Optional base: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }
        • Optional campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.TradingRewardCampaignUpdateProposal

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }): internal.TradingRewardCampaignUpdateProposal
    • Parameters

      • object: { campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...; campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]; description?: string; title?: string }
        • Optional campaignInfo?: { campaignDurationSeconds?: string | undefined; quoteDenoms?: string[] | undefined; tradingRewardBoostInfo?: { boostedSpotMarketIds?: string[] | undefined; spotMarketMultipliers?: { ...; }[] | undefined; boostedDerivativeMarketIds?: string[] | undefined; derivativeMarketMultipliers?: { ...; }[] | undefined; } | unde...
        • Optional campaignRewardPoolsAdditions?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional campaignRewardPoolsUpdates?: ({ startTimestamp?: string | undefined; maxCampaignRewards?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; })[]
        • Optional description?: string
        • Optional title?: string

      Returns internal.TradingRewardCampaignUpdateProposal

  • toJSON:function
TxBody: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; memo?: string; messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; timeoutHeight?: string }): internal.TxBody
    • Parameters

      • Optional base: { extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; memo?: string; messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; timeoutHeight?: string }
        • Optional extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

        • Optional memo?: string

          memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

        • Optional messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

        • Optional nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

        • Optional timeoutHeight?: string

          timeout is the block height after which this transaction will not be processed by the chain

      Returns internal.TxBody

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TxBody

  • fromPartial:function
    • fromPartial(object: { extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; memo?: string; messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; timeoutHeight?: string }): internal.TxBody
    • Parameters

      • object: { extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; memo?: string; messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]; timeoutHeight?: string }
        • Optional extensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, the transaction will be rejected

        • Optional memo?: string

          memo is any arbitrary note/comment to be added to the transaction. WARNING: in clients, any publicly exposed text should not be called memo, but should be called note instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).

        • Optional messages?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          messages is a list of messages to be executed. The required signers of those messages define the number and order of elements in AuthInfo's signer_infos and Tx's signatures. Each required signer address is added to the list only the first time it occurs. By convention, the first required signer (usually from the first message) is referred to as the primary signer and pays the fee for the whole transaction.

        • Optional nonCriticalExtensionOptions?: ({ typeUrl?: string | undefined; value?: Uint8Array | undefined; })[]

          extension_options are arbitrary options that can be added by chains when the default options are not sufficient. If any of these are present and can't be handled, they will be ignored

        • Optional timeoutHeight?: string

          timeout is the block height after which this transaction will not be processed by the chain

      Returns internal.TxBody

  • toJSON:function
    • Parameters

      Returns unknown

TxData: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; logs?: internal.Uint8Array; messages?: internal.Uint8Array; txMsgTypes?: internal.Uint8Array; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional logs?: internal.Uint8Array

          transaction event logs

        • Optional messages?: internal.Uint8Array
        • Optional txMsgTypes?: internal.Uint8Array
        • Optional txNumber?: string

      Returns internal.TxData

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TxData

  • fromPartial:function
    • Parameters

      • object: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; logs?: internal.Uint8Array; messages?: internal.Uint8Array; txMsgTypes?: internal.Uint8Array; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional logs?: internal.Uint8Array

          transaction event logs

        • Optional messages?: internal.Uint8Array
        • Optional txMsgTypes?: internal.Uint8Array
        • Optional txNumber?: string

      Returns internal.TxData

  • toJSON:function
    • Parameters

      Returns unknown

TxDataRPC: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }): internal.TxDataRPC
    • Parameters

      • Optional base: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional messages?: string
        • Optional txNumber?: string

      Returns internal.TxDataRPC

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TxDataRPC

  • fromPartial:function
    • fromPartial(object: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }): internal.TxDataRPC
    • Parameters

      • object: { blockNumber?: string; blockTimestamp?: string; code?: number; codespace?: string; errorLog?: string; hash?: string; id?: string; messages?: string; txNumber?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional code?: number
        • Optional codespace?: string
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional hash?: string
        • Optional id?: string
        • Optional messages?: string
        • Optional txNumber?: string

      Returns internal.TxDataRPC

  • toJSON:function
    • Parameters

      Returns unknown

TxDetailData: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { blockNumber?: string; blockTimestamp?: string; blockUnixTimestamp?: string; code?: number; codespace?: string; data?: internal.Uint8Array; errorLog?: string; events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]; gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; gasUsed?: string; gasWanted?: string; hash?: string; id?: string; info?: string; logs?: internal.Uint8Array; memo?: string; messages?: internal.Uint8Array; signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]; txNumber?: string; txType?: string }): internal.TxDetailData
    • Parameters

      • Optional base: { blockNumber?: string; blockTimestamp?: string; blockUnixTimestamp?: string; code?: number; codespace?: string; data?: internal.Uint8Array; errorLog?: string; events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]; gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; gasUsed?: string; gasWanted?: string; hash?: string; id?: string; info?: string; logs?: internal.Uint8Array; memo?: string; messages?: internal.Uint8Array; signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]; txNumber?: string; txType?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional blockUnixTimestamp?: string

          Block timestamp in unix milli

        • Optional code?: number
        • Optional codespace?: string
        • Optional data?: internal.Uint8Array
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]
        • Optional gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }
        • Optional gasUsed?: string
        • Optional gasWanted?: string
        • Optional hash?: string
        • Optional id?: string
        • Optional info?: string
        • Optional logs?: internal.Uint8Array

          transaction event logs

        • Optional memo?: string
        • Optional messages?: internal.Uint8Array
        • Optional signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]
        • Optional txNumber?: string
        • Optional txType?: string

      Returns internal.TxDetailData

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.TxDetailData

  • fromPartial:function
    • fromPartial(object: { blockNumber?: string; blockTimestamp?: string; blockUnixTimestamp?: string; code?: number; codespace?: string; data?: internal.Uint8Array; errorLog?: string; events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]; gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; gasUsed?: string; gasWanted?: string; hash?: string; id?: string; info?: string; logs?: internal.Uint8Array; memo?: string; messages?: internal.Uint8Array; signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]; txNumber?: string; txType?: string }): internal.TxDetailData
    • Parameters

      • object: { blockNumber?: string; blockTimestamp?: string; blockUnixTimestamp?: string; code?: number; codespace?: string; data?: internal.Uint8Array; errorLog?: string; events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]; gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }; gasUsed?: string; gasWanted?: string; hash?: string; id?: string; info?: string; logs?: internal.Uint8Array; memo?: string; messages?: internal.Uint8Array; signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]; txNumber?: string; txType?: string }
        • Optional blockNumber?: string
        • Optional blockTimestamp?: string
        • Optional blockUnixTimestamp?: string

          Block timestamp in unix milli

        • Optional code?: number
        • Optional codespace?: string
        • Optional data?: internal.Uint8Array
        • Optional errorLog?: string

          Transaction log indicating errors

        • Optional events?: ({ type?: string | undefined; attributes?: { [x: string]: string | undefined; } | undefined; })[]
        • Optional gasFee?: { amount?: { denom?: string | undefined; amount?: string | undefined; }[] | undefined; gasLimit?: string | undefined; payer?: string | undefined; granter?: string | undefined; }
        • Optional gasUsed?: string
        • Optional gasWanted?: string
        • Optional hash?: string
        • Optional id?: string
        • Optional info?: string
        • Optional logs?: internal.Uint8Array

          transaction event logs

        • Optional memo?: string
        • Optional messages?: internal.Uint8Array
        • Optional signatures?: ({ pubkey?: string | undefined; address?: string | undefined; sequence?: string | undefined; signature?: string | undefined; })[]
        • Optional txNumber?: string
        • Optional txType?: string

      Returns internal.TxDetailData

  • toJSON:function
    • Parameters

      Returns unknown

URL: { prototype: internal.URL; createObjectURL: any; revokeObjectURL: any }

Type declaration

  • prototype: internal.URL
  • createObjectURL:function
  • revokeObjectURL:function
    • revokeObjectURL(url: string): void
    • Parameters

      • url: string

      Returns void

URLSearchParams: { prototype: internal.URLSearchParams; toString: any }

Type declaration

  • prototype: internal.URLSearchParams
  • toString:function
    • toString(): string
    • Returns string

Uint8ClampedArray: Uint8ClampedArrayConstructor
UnbondingDelegation: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]; validatorAddress?: string }): internal.UnbondingDelegation
    • Parameters

      • Optional base: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]; validatorAddress?: string }
        • Optional delegatorAddress?: string

          delegator_address is the bech32-encoded address of the delegator.

        • Optional entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]

          entries are the unbonding delegation entries.

        • Optional validatorAddress?: string

          validator_address is the bech32-encoded address of the validator.

      Returns internal.UnbondingDelegation

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.UnbondingDelegation

  • fromPartial:function
    • fromPartial(object: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]; validatorAddress?: string }): internal.UnbondingDelegation
    • Parameters

      • object: { delegatorAddress?: string; entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]; validatorAddress?: string }
        • Optional delegatorAddress?: string

          delegator_address is the bech32-encoded address of the delegator.

        • Optional entries?: ({ creationHeight?: string | undefined; completionTime?: Date | undefined; initialBalance?: string | undefined; balance?: string | undefined; })[]

          entries are the unbonding delegation entries.

        • Optional validatorAddress?: string

          validator_address is the bech32-encoded address of the validator.

      Returns internal.UnbondingDelegation

  • toJSON:function
    • Parameters

      Returns unknown

UnbondingDelegationEntry: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { balance?: string; completionTime?: internal.Date; creationHeight?: string; initialBalance?: string }
        • Optional balance?: string

          balance defines the tokens to receive at completion.

        • Optional completionTime?: internal.Date

          completion_time is the unix time for unbonding completion.

        • Optional creationHeight?: string

          creation_height is the height which the unbonding took place.

        • Optional initialBalance?: string

          initial_balance defines the tokens initially scheduled to receive at completion.

      Returns internal.UnbondingDelegationEntry

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Parameters

      • object: { balance?: string; completionTime?: internal.Date; creationHeight?: string; initialBalance?: string }
        • Optional balance?: string

          balance defines the tokens to receive at completion.

        • Optional completionTime?: internal.Date

          completion_time is the unix time for unbonding completion.

        • Optional creationHeight?: string

          creation_height is the height which the unbonding took place.

        • Optional initialBalance?: string

          initial_balance defines the tokens initially scheduled to receive at completion.

      Returns internal.UnbondingDelegationEntry

  • toJSON:function
    • Parameters

      Returns unknown

Vault: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { codeId?: string; contractAddress?: string; createdAt?: string; currentTvl?: number; lpTokenPrice?: number; marketId?: string; masterContractAddress?: string; profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }; slug?: string; subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }; totalLpAmount?: string; updatedAt?: string; vaultName?: string; vaultType?: string }): internal.Vault
    • Parameters

      • Optional base: { codeId?: string; contractAddress?: string; createdAt?: string; currentTvl?: number; lpTokenPrice?: number; marketId?: string; masterContractAddress?: string; profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }; slug?: string; subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }; totalLpAmount?: string; updatedAt?: string; vaultName?: string; vaultType?: string }
        • Optional codeId?: string
        • Optional contractAddress?: string
        • Optional createdAt?: string
        • Optional currentTvl?: number
        • Optional lpTokenPrice?: number
        • Optional marketId?: string
        • Optional masterContractAddress?: string
        • Optional profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }
        • Optional slug?: string
        • Optional subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }
        • Optional totalLpAmount?: string
        • Optional updatedAt?: string
        • Optional vaultName?: string
        • Optional vaultType?: string

      Returns internal.Vault

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.Vault

  • fromPartial:function
    • fromPartial(object: { codeId?: string; contractAddress?: string; createdAt?: string; currentTvl?: number; lpTokenPrice?: number; marketId?: string; masterContractAddress?: string; profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }; slug?: string; subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }; totalLpAmount?: string; updatedAt?: string; vaultName?: string; vaultType?: string }): internal.Vault
    • Parameters

      • object: { codeId?: string; contractAddress?: string; createdAt?: string; currentTvl?: number; lpTokenPrice?: number; marketId?: string; masterContractAddress?: string; profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }; slug?: string; subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }; totalLpAmount?: string; updatedAt?: string; vaultName?: string; vaultType?: string }
        • Optional codeId?: string
        • Optional contractAddress?: string
        • Optional createdAt?: string
        • Optional currentTvl?: number
        • Optional lpTokenPrice?: number
        • Optional marketId?: string
        • Optional masterContractAddress?: string
        • Optional profits?: { allTimeChange?: number | undefined; threeMonthsChange?: number | undefined; oneMonthChange?: number | undefined; oneDayChange?: number | undefined; oneWeekChange?: number | undefined; oneYearChange?: number | undefined; threeYearsChange?: number | undefined; sixMonthsChange?: number | undefined; }
        • Optional slug?: string
        • Optional subaccountInfo?: { subaccountId?: string | undefined; balances?: { denom?: string | undefined; totalBalance?: string | undefined; }[] | undefined; }
        • Optional totalLpAmount?: string
        • Optional updatedAt?: string
        • Optional vaultName?: string
        • Optional vaultType?: string

      Returns internal.Vault

  • toJSON:function
    • Parameters

      Returns unknown

VaultsByHolderAddressResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[] }): internal.VaultsByHolderAddressResponse
    • Parameters

      • Optional base: { subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[] }
        • Optional subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[]

      Returns internal.VaultsByHolderAddressResponse

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • fromPartial(object: { subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[] }): internal.VaultsByHolderAddressResponse
    • Parameters

      • object: { subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[] }
        • Optional subscriptions?: ({ vaultInfo?: { contractAddress?: string | undefined; codeId?: string | undefined; vaultName?: string | undefined; marketId?: string | undefined; currentTvl?: number | undefined; profits?: { ...; } | undefined; ... 7 more ...; createdAt?: string | undefined; } | undefined; lpAmount?: string | undefined; holderAddres...)[]

      Returns internal.VaultsByHolderAddressResponse

  • toJSON:function
VersionResponse: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { build?: { [x: string]: string | undefined; }; version?: string }
        • Optional build?: { [x: string]: string | undefined; }

          Additional build meta info.

        • Optional version?: string

          injective-exchange code version.

      Returns internal.VersionResponse

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.VersionResponse

  • fromPartial:function
    • Parameters

      • object: { build?: { [x: string]: string | undefined; }; version?: string }
        • Optional build?: { [x: string]: string | undefined; }

          Additional build meta info.

        • Optional version?: string

          injective-exchange code version.

      Returns internal.VersionResponse

  • toJSON:function
    • Parameters

      Returns unknown

VolumeRecord: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • Parameters

      • Optional base: { makerVolume?: string; takerVolume?: string }
        • Optional makerVolume?: string
        • Optional takerVolume?: string

      Returns internal.VolumeRecord

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.VolumeRecord

  • fromPartial:function
    • Parameters

      • object: { makerVolume?: string; takerVolume?: string }
        • Optional makerVolume?: string
        • Optional takerVolume?: string

      Returns internal.VolumeRecord

  • toJSON:function
    • Parameters

      Returns unknown

VotingParams: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; } }): internal.VotingParams
    • Parameters

      • Optional base: { votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; } }
        • Optional votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }

          Length of the voting period.

      Returns internal.VotingParams

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.VotingParams

  • fromPartial:function
    • fromPartial(object: { votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; } }): internal.VotingParams
    • Parameters

      • object: { votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; } }
        • Optional votingPeriod?: { seconds?: string | undefined; nanos?: number | undefined; }

          Length of the voting period.

      Returns internal.VotingParams

  • toJSON:function
    • Parameters

      Returns unknown

WasmContract: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }): internal.WasmContract
    • Parameters

      • Optional base: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }
        • Optional address?: string

          Address of the contract

        • Optional admin?: string

          Admin of the contract

        • Optional codeId?: string

          Code id of the contract

        • Optional contractNumber?: string

          Monotonic contract number in database

        • Optional creator?: string

          Address of the contract creator

        • Optional currentMigrateMessage?: string

          Latest migrate message of the contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional executes?: string

          Number of times call to execute contract

        • Optional funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Contract funds

        • Optional initMessage?: string

          init message when this contract was instantiated

        • Optional instantiatedAt?: string

          Block timestamp that contract was instantiated, in millisecond

        • Optional label?: string

          General name of the contract

        • Optional lastExecutedAt?: string

          Block timestamp that contract was called, in millisecond

        • Optional proposalId?: string

          id of the proposal that instantiate this contract

        • Optional txHash?: string

          hash of the instantiate transaction

        • Optional type?: string

          Contract type

        • Optional version?: string

          Contract version string

      Returns internal.WasmContract

  • decode:function
  • encode:function
    • Parameters

      Returns Writer

  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.WasmContract

  • fromPartial:function
    • fromPartial(object: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }): internal.WasmContract
    • Parameters

      • object: { address?: string; admin?: string; codeId?: string; contractNumber?: string; creator?: string; currentMigrateMessage?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; executes?: string; funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]; initMessage?: string; instantiatedAt?: string; label?: string; lastExecutedAt?: string; proposalId?: string; txHash?: string; type?: string; version?: string }
        • Optional address?: string

          Address of the contract

        • Optional admin?: string

          Admin of the contract

        • Optional codeId?: string

          Code id of the contract

        • Optional contractNumber?: string

          Monotonic contract number in database

        • Optional creator?: string

          Address of the contract creator

        • Optional currentMigrateMessage?: string

          Latest migrate message of the contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional executes?: string

          Number of times call to execute contract

        • Optional funds?: ({ denom?: string | undefined; amount?: string | undefined; })[]

          Contract funds

        • Optional initMessage?: string

          init message when this contract was instantiated

        • Optional instantiatedAt?: string

          Block timestamp that contract was instantiated, in millisecond

        • Optional label?: string

          General name of the contract

        • Optional lastExecutedAt?: string

          Block timestamp that contract was called, in millisecond

        • Optional proposalId?: string

          id of the proposal that instantiate this contract

        • Optional txHash?: string

          hash of the instantiate transaction

        • Optional type?: string

          Contract type

        • Optional version?: string

          Contract version string

      Returns internal.WasmContract

  • toJSON:function
    • Parameters

      Returns unknown

WasmCw20Balance: { create: any; decode: any; encode: any; fromJSON: any; fromPartial: any; toJSON: any }

Type declaration

  • create:function
    • create(base?: { account?: string; balance?: string; contractAddress?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; updatedAt?: string }): internal.WasmCw20Balance
    • Parameters

      • Optional base: { account?: string; balance?: string; contractAddress?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; updatedAt?: string }
        • Optional account?: string

          Account address

        • Optional balance?: string

          Account balance

        • Optional contractAddress?: string

          Address of CW20 contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional updatedAt?: string

          update timestamp in milisecond

      Returns internal.WasmCw20Balance

  • decode:function
  • encode:function
  • fromJSON:function
    • Parameters

      • object: any

      Returns internal.WasmCw20Balance

  • fromPartial:function
    • fromPartial(object: { account?: string; balance?: string; contractAddress?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; updatedAt?: string }): internal.WasmCw20Balance
    • Parameters

      • object: { account?: string; balance?: string; contractAddress?: string; cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }; updatedAt?: string }
        • Optional account?: string

          Account address

        • Optional balance?: string

          Account balance

        • Optional contractAddress?: string

          Address of CW20 contract

        • Optional cw20Metadata?: { tokenInfo?: { name?: string | undefined; symbol?: string | undefined; decimals?: string | undefined; totalSupply?: string | undefined; } | undefined; marketingInfo?: { project?: string | undefined; description?: string | undefined; logo?: string | undefined; marketing?: Uint8Array | undefined; } | undefined; }
        • Optional updatedAt?: string

          update timestamp in milisecond

      Returns internal.WasmCw20Balance

  • toJSON:function
    • Parameters

      Returns unknown

WritableStream: { prototype: internal.WritableStream<any> }

Type declaration

WritableStreamDefaultWriter: { prototype: internal.WritableStreamDefaultWriter<any> }

Type declaration

Generated using TypeDoc