Appearance
@hellomoon/ink-paymaster / getPublicPaymasterAccountState
Function: getPublicPaymasterAccountState()
getPublicPaymasterAccountState(
client,account,deployment?,tokenSelection?):Promise<PublicPaymasterAccountState>
Reads the selected token's balance, paymaster allowance, and refund credit in parallel.
Parameters
client
account
`0x${string}`
deployment?
InkPublicPaymasterDeployment = INK_PUBLIC_PAYMASTER
tokenSelection?
string
Returns
Promise<PublicPaymasterAccountState>