Skip to content

decodeStoreCall

decodeStoreCall(args, onCompletion?): null | StoreOp

Defined in: packages/store-kit/src/history/index.ts:128

Decode one call to a store from its application args and on-completion. Returns null for calls that neither write nor matter to the history (get, unknown selectors, bare NoOp). Creation is detected by the caller (createdApplicationIndex), since the create call is bare.

Parameters

args

undefined | Uint8Array<ArrayBufferLike>[]

onCompletion?

string

indexer form (noop, delete, …) or the algosdk enum name.

Returns

null | StoreOp