Builds the EIP-2612 permit function call data for on-chain submission.
Returns the ABI-encoded parameters needed to call permit(owner, spender, value, deadline, v, r, s) on the token contract.
permit(owner, spender, value, deadline, v, r, s)
The validated gas sponsor payload
Object with the permit call parameters
const permitCall = buildPermitCallData(payload);// Use permitCall with your preferred web3 library to submit the tx Copy
const permitCall = buildPermitCallData(payload);// Use permitCall with your preferred web3 library to submit the tx
Builds the EIP-2612 permit function call data for on-chain submission.
Returns the ABI-encoded parameters needed to call
permit(owner, spender, value, deadline, v, r, s)on the token contract.