Skip to main content

Function: addDefaultMethodHandler()

function addDefaultMethodHandler(contract_module, handler): void;

Adds a default method handler. This handler will be called for the "DEFAULT" method name.

Parameters​

• contract_module: ContractHandlers

Contract module containing the method.

• handler: MethodCallback

The method callback to add as the default handler.

Returns​

void


Coinweb © 2025