AbiFunction
AbiFunction:
object
ABI “function” type
Type declaration
constant?
optional
constant:boolean
See
https://github.com/ethereum/solidity/issues/992
gas?
optional
gas:number
See
https://github.com/vyperlang/vyper/issues/2151
inputs
inputs: readonly
AbiParameter
[]
name
name:
string
outputs
outputs: readonly
AbiParameter
[]
payable?
optional
payable:boolean
See
https://github.com/ethereum/solidity/issues/992
stateMutability
stateMutability:
AbiStateMutability
type
type:
"function"
Source
node_modules/.pnpm/abitype@1.0.2_typescript@5.4.5_zod@3.23.8/node_modules/abitype/dist/types/abi.d.ts:51