Skip to content
docs

SolanaAccountSurface

Defined in: protocol-lending-kamino-solana/src/base.ts:62

The surface of a @anywalletkit/wallet-solana account this module needs.

optional checkSerialized(base64, guard): Promise<{ quote: { fee: bigint; }; }>

Defined in: protocol-lending-kamino-solana/src/base.ts:64

string

SerializedGuard

Promise<{ quote: { fee: bigint; }; }>


optional getAccountInfos(addresses): Promise<(ChainAccount | null)[]>

Defined in: protocol-lending-kamino-solana/src/base.ts:68

Raw accounts in the order asked (wallet-solana 0.4+): the chain state the API’s figures are checked against.

readonly string[]

Promise<(ChainAccount | null)[]>


getAddress(): Promise<string>

Defined in: protocol-lending-kamino-solana/src/base.ts:63

Promise<string>


optional getMintInfo(mint): Promise<{ decimals: number; }>

Defined in: protocol-lending-kamino-solana/src/base.ts:66

string

Promise<{ decimals: number; }>


optional sendSerialized(base64, guard): Promise<{ fee: bigint; hash: string; }>

Defined in: protocol-lending-kamino-solana/src/base.ts:65

string

SerializedGuard

Promise<{ fee: bigint; hash: string; }>