Skip to content

Repository files navigation

@extrnode/sdk package

Installation

Yarn

$ yarn add @extrnode/sdk

NPM

npm install @extrnode/sdk

Usage

Extrnode API

// Create an instance of Extrnode class for interaction with APIimport{ExtrnodeApi}from"@extrnode/sdk";constPROJECT_URL='https://solana-mainnet.rpc.extrnode.com/YOUR_TOKEN';constextrnodeApi=newExtrnodeApi({url: PROJECT_URL,});constprogramAccounts=awaitextrnodeApi.solana.getProgramAccounts({pubkey: 'Stake11111111111111111111111111111111111111',config: {encoding: 'base64',limit: 5,},});programAccounts.response// first page of program accountsprogramAccounts.next()// get next page of program accounts

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages