import { Abi } from "https://deno.land/x/polkadot@0.2.29/api-contract/Abi/index.ts";
Constructors
new
Abi(abiJson: Record<string, unknown> | string, chainProperties?: ChainProperties)Properties
readonly
constructors: AbiConstructor[]readonly
events: AbiEvent[]readonly
info: ContractProjectInforeadonly
messages: AbiMessage[]readonly
metadata: ContractMetadataLatestreadonly
registry: RegistryMethods
decodeConstructor(data: Uint8Array): DecodedMessage
Warning: Unstable API, bound to change
decodeEvent(data: Bytes | Uint8Array): DecodedEvent
Warning: Unstable API, bound to change
decodeMessage(data: Uint8Array): DecodedMessage
Warning: Unstable API, bound to change
findConstructor(constructorOrId: AbiConstructor | string | number): AbiConstructor
findMessage(messageOrId: AbiMessage | string | number): AbiMessage