Skip to content

BareMethodConfig

@algorandfoundation/algorand-typescript


@algorandfoundation/algorand-typescript / arc4 / BareMethodConfig

Type Alias: BareMethodConfig

BareMethodConfig: object

Defined in: packages/algo-ts/src/arc4/index.ts:135

Configuration options for a bare method

Type declaration

allowActions?

optional allowActions: OnCompleteActionStr | OnCompleteActionStr[]

Which on complete action(s) are allowed when invoking this method.

Default

'NoOp';

onCreate?

optional onCreate: CreateOptions

Whether this method should be callable when creating the application.

Default

'disallow';