Skip to content

@hellomoon/ink-paymaster


@hellomoon/ink-paymaster / getPublicPaymasterAccountState

Function: getPublicPaymasterAccountState()

getPublicPaymasterAccountState(client, account): Promise<PublicPaymasterAccountState>

Reads the smart account's native-USDC balance, paymaster allowance, and refund credit in parallel.

Parameters

client

account

`0x${string}`

Returns

Promise<PublicPaymasterAccountState>

Public prepaid USDC paymaster for Ink Mainnet