Skip to content

readonly

Algorand TypeScript


Algorand TypeScript / arc4 / readonly

readonly<TContract, TArgs, TReturn>(target, ctx): (this, …args) => TReturn

Defined in: arc4/index.ts:169

Declares this abi method does not mutate chain state and can be called using a simulate call to the same effect.

Shorthand for @abimethod({readonly: true})

TContract extends Contract

the type of the contract this method is a part of

TArgs extends any[]

TReturn

(this, …args) => TReturn

ClassMethodDecoratorContext<TContract>

(this, …args): TReturn

TContract

TArgs

TReturn