JsonFragment
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:40
A fragment for a method, event or error in a JSON ABI format.
Properties
Section titled “Properties”anonymous?
Section titled “anonymous?”readonly optional anonymous: boolean;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:52
If the event is anonymous.
constant?
Section titled “constant?”readonly optional constant: boolean;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:60
If the function is constant.
readonly optional gas: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:76
The gas limit to use when sending a transaction for this function.
inputs?
Section titled “inputs?”readonly optional inputs: readonly JsonFragmentType[];
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:68
The input parameters.
readonly optional name: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:44
The name of the error, event, function, etc.
outputs?
Section titled “outputs?”readonly optional outputs: readonly JsonFragmentType[];
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:72
The output parameters.
payable?
Section titled “payable?”readonly optional payable: boolean;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:56
If the function is payable.
stateMutability?
Section titled “stateMutability?”readonly optional stateMutability: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:64
The mutability state of the function.
readonly optional type: string;
Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/abi/fragments.d.ts:48
The type of the fragment (e.g. event
, "function"
, etc.)