Skip to main content

Function: getAuthenticated()

function getAuthenticated(contextTx): AuthInfo;

Function to get the authentication information from a transaction context.

Parameters

contextTx: L2TxResolved

The transaction context.

Returns

AuthInfo

The authentication information.

Throws

Will throw an error if the provided authentication DataOp for contract execution is not found.


Coinweb © 2024