Skip to content

@hellomoon/ink-paymaster


@hellomoon/ink-paymaster / encodePublicPaymasterRefundClaim

Function: encodePublicPaymasterRefundClaim() ​

encodePublicPaymasterRefundClaim(recipient, deployment?, tokenSelection?): `0x${string}`

Encodes a claim for all refund credit owned by the calling smart account.

Parameters ​

recipient ​

`0x${string}`

Address that receives the claimed reimbursement token.

deployment? ​

InkPublicPaymasterDeployment = INK_PUBLIC_PAYMASTER

tokenSelection? ​

string

Returns ​

`0x${string}`

The inner paymaster claimRefund calldata for the smart account to execute.

ERC-4337 paymaster clients for Ink Mainnet