Documentation Index
Fetch the complete documentation index at: https://docs.startale.com/llms.txt
Use this file to discover all available pages before exploring further.
type AppMetadata = {
appName: string
appLogoUrl: string | null
appChainIds: number[]
}
Identifies your app to the wallet popup.
Preference
type Preference = {
walletUrl?: string
telemetry?: boolean
authType?: 'google' | 'line'
eoaRequired?: boolean
attribution?: { auto: boolean }
}
User-facing wallet behavior.
ProviderInterface
interface ProviderInterface extends EventEmitter {
request<T = unknown>(args: RequestArguments): Promise<T>
disconnect(): Promise<void>
}
The EIP-1193 provider returned by sdk.getProvider(). See Connect a wallet and Events.
RequestArguments
type RequestArguments = {
method: string
params?: unknown[] | object
}
Standard EIP-1193 request shape.
ProviderRpcError
interface ProviderRpcError extends Error {
code: number
data?: unknown
}
The error type thrown by all provider methods. See Errors for codes.
CreateProviderOptions
type CreateProviderOptions = Partial<AppMetadata> & {
preference?: Preference
subAccounts?: SubAccountOptions
paymasterOptions?: Record<number, PaymasterOptions>
}
Argument to createStartaleAccountSDK.
PaymasterOptions
type PaymasterOptions = {
url: string
id: string
}
Configuration for a custom paymaster on a specific chain. See Custom paymaster.