Skip to main content

Namespace: wasm

@shareledgerjs/client.wasm

Interfaces

Type Aliases

JsonObject

Ƭ JsonObject: any

An object containing a parsed JSON document. The result of JSON.parse(). This doesn't provide any type safety over any but expresses intent in the code.

This type is returned by queryContractSmart.


WasmExtension

Ƭ WasmExtension: WasmQueryExtension & WasmTxExtension


WasmExtensionMethods

Ƭ WasmExtensionMethods: WasmQueryExtensionMethods & WasmTxExtensionMethods

Functions

WasmExtension

WasmExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & WasmQueryExtension & WasmTxExtension

Parameters

NameType
constructorT

Returns

T


WasmQueryExtension

WasmQueryExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & WasmQueryExtension

Parameters

NameType
constructorT

Returns

T


WasmTxExtension

WasmTxExtension<T>(constructor): T

Type parameters

NameType
Textends (...args: any[]) => BaseClient & WasmTxExtension

Parameters

NameType
constructorT

Returns

T


createWasmAminoConverters

createWasmAminoConverters(prefix): Record<string, AminoConverter | "not_supported_by_chain">

Parameters

NameType
prefixstring

Returns

Record<string, AminoConverter | "not_supported_by_chain">


createWasmTypes

createWasmTypes(): ReadonlyArray<[string, GeneratedType]>

Returns

ReadonlyArray<[string, GeneratedType]>


isMsgClearAdminEncodeObject

isMsgClearAdminEncodeObject(object): object is MsgClearAdminEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgClearAdminEncodeObject


isMsgExecuteEncodeObject

isMsgExecuteEncodeObject(object): object is MsgExecuteContractEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgExecuteContractEncodeObject


isMsgInstantiateContractEncodeObject

isMsgInstantiateContractEncodeObject(object): object is MsgInstantiateContractEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgInstantiateContractEncodeObject


isMsgMigrateEncodeObject

isMsgMigrateEncodeObject(object): object is MsgMigrateContractEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgMigrateContractEncodeObject


isMsgStoreCodeEncodeObject

isMsgStoreCodeEncodeObject(object): object is MsgStoreCodeEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgStoreCodeEncodeObject


isMsgUpdateAdminEncodeObject

isMsgUpdateAdminEncodeObject(object): object is MsgUpdateAdminEncodeObject

Parameters

NameType
objectEncodeObject

Returns

object is MsgUpdateAdminEncodeObject