Skip to content

@hellomoon/ink-paymaster


@hellomoon/ink-paymaster / InkSponsoredPaymasterClientOptions

Type Alias: InkSponsoredPaymasterClientOptions ​

InkSponsoredPaymasterClientOptions = object

Configuration for the authenticated ERC-7677 sponsorship client.

Properties ​

apiKey ​

apiKey: string

Sponsorship-enabled API key issued by Hello Moon.

Remarks ​

Keep this key in trusted backend infrastructure. Never ship it in browser or mobile application code, expose it to end users, or write it to logs.


fetch? ​

optional fetch?: typeof globalThis.fetch

Fetch-compatible transport override.


retryCount? ​

optional retryCount?: number

Maximum automatic transport retries. Defaults to 2.


serviceUrl? ​

optional serviceUrl?: string

Override the hosted service origin, primarily for tests or compatible self-hosted services.


timeoutMs? ​

optional timeoutMs?: number

Maximum duration for each paymaster RPC request. Defaults to 10 seconds.

ERC-4337 paymaster clients for Ink Mainnet