Skip to main content

Class: SolApi

moralis-monorepo / @moralisweb3/sol-api / SolApi

Class: SolApi

@moralisweb3/sol-api.SolApi

Hierarchy

  • ClientSolApi

    SolApi

Table of contents

Methods

Properties

Methods

create

Static create(core?): SolApi

Parameters

NameType
core?Core

Returns

SolApi


setup

setup(): void

Returns

void

Overrides

ClientSolApi.setup


start

start(): void

Returns

void

Overrides

ClientSolApi.start

Properties

moduleName

Static Readonly moduleName: "solApi"


account

Readonly account: Object

Type declaration

NameType
getBalance(request: GetBalanceRequest) => Promise<GetBalanceResponseAdapter>
getNFTs(request: GetNFTsRequest) => Promise<GetNFTsResponseAdapter>
getPortfolio(request: GetPortfolioRequest) => Promise<GetPortfolioResponseAdapter>
getSPL(request: GetSPLRequest) => Promise<GetSPLResponseAdapter>

Inherited from

ClientSolApi.account


nft

Readonly nft: Object

Type declaration

NameType
getNFTMetadata(request: GetNFTMetadataRequest) => Promise<GetNFTMetadataResponseAdapter>

Inherited from

ClientSolApi.nft


token

Readonly token: Object

Type declaration

NameType
getTokenMetadata(request: GetTokenMetadataOperationRequest) => Promise<ResponseAdapter<SolTokenMetadata, SolTokenMetadataJSON>>
getTokenPrice(request: GetTokenPriceOperationRequest) => Promise<ResponseAdapter<SolSPLTokenPrice, SolSPLTokenPriceJSON>>

Inherited from

ClientSolApi.token