0.0.14 • Published 9 months ago

@banool/aptos-account-value v0.0.14

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
9 months ago

Aptos Account Value

NPM Package Downloads

This library is experimental.

This library provides a way to calculate the total value of an Aptos account.

Installation

pnpm install @banool/aptos-account-value

Install TS SDK v2:

pnpm install @aptos-labs/ts-sdk@1.27.0

Usage

Create a client:

import { Aptos, AptosConfig, Network } from "@aptos-labs/ts-sdk";

const config = new AptosConfig({ network: Network.MAINNET });
const client = new Aptos(config);

Use the library:

import { getAccountValueMany, OutputCurrency } from "@banool/aptos-account-value";

await getAccountValueMany({
  client: client,
  accountAddresses: ["0x1", "0x2"],
  outputCurrency: OutputCurrency.USD,
});
0.0.14

9 months ago

0.0.12

10 months ago

0.0.13

10 months ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago