Skip to content

@hellomoon/ink-paymaster


@hellomoon/ink-paymaster / PublicPaymasterAccountState

Type Alias: PublicPaymasterAccountState ​

PublicPaymasterAccountState = object

Onchain prepaid-paymaster state for one smart account and reimbursement token.

Properties ​

paymasterAllowance ​

paymasterAllowance: bigint

Current selected-token allowance granted to the public paymaster.


refundCredit ​

refundCredit: bigint

Settled unused precharge available for the smart account to claim.


token ​

token: Address

Token whose balance, allowance, and refund credit were read.


tokenBalance ​

tokenBalance: bigint

Selected reimbursement-token balance held by the smart account.


usdcBalance ​

usdcBalance: bigint

Deprecated ​

Use tokenBalance; retained for source compatibility with the USDC-only SDK.

ERC-4337 paymaster clients for Ink Mainnet