getSelectors

getSelectors(contract: Contract)

This function retrieves function selectors of the provided contract.

Parameters

  • contract: The contract instance

Returns

An array of function selectors

Usage Example

const selectors = sdk.getSelectors(contract);