Skip to main content

Type alias: MethodCallback()

type MethodCallback: (context) => NewTx[];

Represents a method function in a smart contract. A method gets the transaction context and returns a list of new transactions to be executed by the Coinweb VM.

Parameters

context: Context

The transaction context.

Returns

NewTx[]


Coinweb © 2024