Socket
Socket
Sign inDemoInstall

@moralisweb3/sol-api

Package Overview
Dependencies
Maintainers
8
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moralisweb3/sol-api - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

70

lib/generated/types.d.ts

@@ -6,25 +6,25 @@ /**

export interface paths {
'/account/{network}/{address}/balance': {
"/account/{network}/{address}/balance": {
/** Gets native balance owned by the given network and address */
get: operations['balance'];
get: operations["balance"];
};
'/account/{network}/{address}/tokens': {
"/account/{network}/{address}/tokens": {
/** Gets token balances owned by the given network and address */
get: operations['getSPL'];
get: operations["getSPL"];
};
'/account/{network}/{address}/nft': {
"/account/{network}/{address}/nft": {
/** Gets NFTs owned by the given network and address */
get: operations['getNFTs'];
get: operations["getNFTs"];
};
'/account/{network}/{address}/portfolio': {
"/account/{network}/{address}/portfolio": {
/** Gets the portfolio of the given network and address */
get: operations['getPortfolio'];
get: operations["getPortfolio"];
};
'/nft/{network}/{address}/metadata': {
"/nft/{network}/{address}/metadata": {
/** Gets the contract level metadata (mint, standard, name, symbol, metaplex) for the given network and contract */
get: operations['getNFTMetadata'];
get: operations["getNFTMetadata"];
};
'/token/{network}/{address}/price': {
"/token/{network}/{address}/price": {
/** Gets the token price (usd and native) for a given contract address and network */
get: operations['getTokenPrice'];
get: operations["getTokenPrice"];
};

@@ -50,5 +50,5 @@ }

Portfolio: {
nativeBalance: components['schemas']['NativeBalance'];
nfts: components['schemas']['SPLNFT'][];
tokens: components['schemas']['SPLTokenBalance'][];
nativeBalance: components["schemas"]["NativeBalance"];
nfts: components["schemas"]["SPLNFT"][];
tokens: components["schemas"]["SPLTokenBalance"][];
};

@@ -68,3 +68,3 @@ MetaplexNFT: {

symbol: string;
metaplex: components['schemas']['MetaplexNFT'];
metaplex: components["schemas"]["MetaplexNFT"];
};

@@ -78,3 +78,3 @@ SPLNativePrice: {

SPLTokenPrice: {
nativePrice: components['schemas']['SPLNativePrice'];
nativePrice: components["schemas"]["SPLNativePrice"];
usdPrice: number;

@@ -91,3 +91,3 @@ exchangeAddress: string;

path: {
network: 'mainnet' | 'devnet';
network: "mainnet" | "devnet";
address: string;

@@ -99,3 +99,3 @@ };

content: {
'application/json': components['schemas']['NativeBalance'];
"application/json": components["schemas"]["NativeBalance"];
};

@@ -105,3 +105,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -115,3 +115,3 @@ };

path: {
network: 'mainnet' | 'devnet';
network: "mainnet" | "devnet";
address: string;

@@ -123,3 +123,3 @@ };

content: {
'application/json': components['schemas']['SPLTokenBalance'][];
"application/json": components["schemas"]["SPLTokenBalance"][];
};

@@ -129,3 +129,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -139,3 +139,3 @@ };

path: {
network: 'mainnet' | 'devnet';
network: "mainnet" | "devnet";
address: string;

@@ -147,3 +147,3 @@ };

content: {
'application/json': components['schemas']['SPLNFT'][];
"application/json": components["schemas"]["SPLNFT"][];
};

@@ -153,3 +153,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -164,3 +164,3 @@ };

address: string;
network: 'mainnet' | 'devnet';
network: "mainnet" | "devnet";
};

@@ -171,3 +171,3 @@ };

content: {
'application/json': components['schemas']['Portfolio'];
"application/json": components["schemas"]["Portfolio"];
};

@@ -177,3 +177,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -188,3 +188,3 @@ };

address: string;
network: 'mainnet' | 'devnet';
network: "mainnet" | "devnet";
};

@@ -195,3 +195,3 @@ };

content: {
'application/json': components['schemas']['NFTMetadata'];
"application/json": components["schemas"]["NFTMetadata"];
};

@@ -201,3 +201,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -212,3 +212,3 @@ };

address: string;
network: 'mainnet';
network: "mainnet";
};

@@ -219,3 +219,3 @@ };

content: {
'application/json': components['schemas']['SPLTokenPrice'];
"application/json": components["schemas"]["SPLTokenPrice"];
};

@@ -225,3 +225,3 @@ };

content: {
'application/json': string;
"application/json": string;
};

@@ -228,0 +228,0 @@ };

{
"name": "@moralisweb3/sol-api",
"author": "Moralis",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",

@@ -18,3 +18,3 @@ "private": false,

"clean": "rm -rf lib && rm -rf lib.esm && rm -rf tsconfig.tsbuildinfo",
"gen:types": "openapi-typescript https://solana-gateway.moralis.io/api-json/ --output src/generated/types.ts",
"gen:api-types": "openapi-typescript https://solana-gateway.moralis.io/api-json/ --output src/generated/types.ts",
"build": "tsc",

@@ -29,6 +29,6 @@ "dev": "tsc --watch"

"dependencies": {
"@moralisweb3/api-utils": "^2.0.2",
"@moralisweb3/core": "^2.0.2",
"@moralisweb3/sol-utils": "^2.0.2"
"@moralisweb3/api-utils": "^2.0.3",
"@moralisweb3/core": "^2.0.3",
"@moralisweb3/sol-utils": "^2.0.3"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc