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
Name | Type |
---|---|
core? | Core |
Returns
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
Name | Type |
---|---|
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
Name | Type |
---|---|
getNFTMetadata | (request : GetNFTMetadataRequest ) => Promise <GetNFTMetadataResponseAdapter > |
Inherited from
ClientSolApi.nft
token
• Readonly
token: Object
Type declaration
Name | Type |
---|---|
getTokenMetadata | (request : GetTokenMetadataOperationRequest ) => Promise <ResponseAdapter <SolTokenMetadata , SolTokenMetadataJSON >> |
getTokenPrice | (request : GetTokenPriceOperationRequest ) => Promise <ResponseAdapter <SolSPLTokenPrice , SolSPLTokenPriceJSON >> |
Inherited from
ClientSolApi.token