Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Important: If you're encountering any problem declaring contracts, please read the Blake Hash Support information.

selector

Calculate entrypoint selector from function name.

<NAME>

Required.

The function name (e.g. transfer, balance_of). Do not include parentheses or parameter types.

Example

$ sncast utils selector transfer
Output:
Selector: 0x0[..]