Skip to main content

Function: isSelfCall()

function isSelfCall(contextTx, contextCall): boolean;

Function to check if a call is a self call, i.e. the parent of this call is ourselves.

Parameters

contextTx: L2TxResolved

The transaction context.

contextCall: CallContext

The call context.

Returns

boolean

True if the call is a self call, false otherwise.


Coinweb © 2024