Skip to content

method

method(signature): bytes

Given an ABI method signature, return the method selector

Parameters

signature: string

The method signature

Returns

bytes

Example

verifyAppCallTxn(
someAppCall,
{ applicationArgs: { 0: method('add(uint64,uint64)uint64') }
})

Source

types/global.d.ts:930