API
claimIncentive
Claims one incentive from a boost. Must be called by claimant.
To learn how to encode the
claimDataPayload, see the full Claim Example.Parameters
A
bigint representing the incentive ID. The incentive ID is the index of the incentive in the incentives array.Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.Returns
claimIncentiveFor
Claim an incentive for a Boost on behalf of another user.
To learn how to encode the
claimDataPayload, see the full Claim Example.Parameters
A
bigint representing the incentive ID. The incentive ID is the index of the incentive in the incentives array.Optional parameters to pass to the underlying
writeContract method. Checkout wagmi’s documentation for more information. address, args, functionName, abi are handled for you under the hood.