Skip to content

ExtractAbiFunction

ExtractAbiFunction<abi, functionName, abiStateMutability>: Extract<ExtractAbiFunctions<abi, abiStateMutability>, object>

Extracts AbiFunction with name from Abi.

Type Parameters

abi extends Abi

Abi to extract AbiFunction from

functionName extends ExtractAbiFunctionNames<abi>

String name of function to extract from Abi

abiStateMutability extends AbiStateMutability = AbiStateMutability

AbiStateMutability to filter by

Defined in

node_modules/.pnpm/abitype@1.0.6_typescript@5.5.4_zod@3.23.8/node_modules/abitype/dist/types/utils.d.ts:123