SolanaAccountSurface
Defined in: protocol-lending-kamino-solana/src/base.ts:62
The surface of a @anywalletkit/wallet-solana account this module needs.
Methods
Section titled “Methods”checkSerialized()?
Section titled “checkSerialized()?”
optionalcheckSerialized(base64,guard):Promise<{quote: {fee:bigint; }; }>
Defined in: protocol-lending-kamino-solana/src/base.ts:64
Parameters
Section titled “Parameters”base64
Section titled “base64”string
Returns
Section titled “Returns”Promise<{ quote: { fee: bigint; }; }>
getAccountInfos()?
Section titled “getAccountInfos()?”
optionalgetAccountInfos(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.
Parameters
Section titled “Parameters”addresses
Section titled “addresses”readonly string[]
Returns
Section titled “Returns”Promise<(ChainAccount | null)[]>
getAddress()
Section titled “getAddress()”getAddress():
Promise<string>
Defined in: protocol-lending-kamino-solana/src/base.ts:63
Returns
Section titled “Returns”Promise<string>
getMintInfo()?
Section titled “getMintInfo()?”
optionalgetMintInfo(mint):Promise<{decimals:number; }>
Defined in: protocol-lending-kamino-solana/src/base.ts:66
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<{ decimals: number; }>
sendSerialized()?
Section titled “sendSerialized()?”
optionalsendSerialized(base64,guard):Promise<{fee:bigint;hash:string; }>
Defined in: protocol-lending-kamino-solana/src/base.ts:65
Parameters
Section titled “Parameters”base64
Section titled “base64”string
Returns
Section titled “Returns”Promise<{ fee: bigint; hash: string; }>