Skip to content

@hellomoon/ink-paymaster


@hellomoon/ink-paymaster / encodePublicPaymasterRefundClaim

Function: encodePublicPaymasterRefundClaim()

encodePublicPaymasterRefundClaim(recipient): `0x${string}`

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

Parameters

recipient

`0x${string}`

Address that receives the claimed native Ink USDC.

Returns

`0x${string}`

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

Public prepaid USDC paymaster for Ink Mainnet