Interface ReadIncentiveCriteriaParams

Helper type that encapsulates common readContract parameters without fields like abi, args, functionName, address that are expected to be provided the SDK. See (readContract)[https://viem.sh/docs/contract/readContract]

interface ReadIncentiveCriteriaParams {
    account?: `0x${string}` | Account;
    factory?: `0x${string}`;
    factoryData?: `0x${string}`;
    stateOverride?: StateOverride;
    blockNumber?: bigint;
    blockTag?: BlockTag;
    chainId?: number;
}

Hierarchy (view full)

Properties

account?: `0x${string}` | Account

Account attached to the call (msg.sender).

factory?: `0x${string}`

Contract deployment factory address (ie. Create2 factory, Smart Account factory, etc).

factoryData?: `0x${string}`

Calldata to execute on the factory to deploy the contract.

stateOverride?: StateOverride

State overrides for the call.

blockNumber?: bigint

The balance of the account at a block number.

blockTag?: BlockTag

The balance of the account at a block tag.

'latest'
chainId?: number