UNPKG

@solana/rpc-types

Version:

Type definitions for values used in the Solana RPC, and helper functions for working with them

14 lines 533 B
import type { Address } from '@solana/addresses'; import type { TokenAmount } from './token-amount'; export type TokenBalance = Readonly<{ /** Index of the account in which the token balance is provided for. */ accountIndex: number; /** Address of the token's mint. */ mint: Address; /** Address of token balance's owner. */ owner?: Address; /** Address of the Token program that owns the account. */ programId?: Address; uiTokenAmount: TokenAmount; }>; //# sourceMappingURL=token-balance.d.ts.map