Skip to content

TypeScript-ready implementation for SimpleHash.com

Notifications You must be signed in to change notification settings

jfkz/simplehash-api

Repository files navigation

SimpleHash API

NPM

Introduction

SimpleHash is Multi-chain NFT API. Live on Ethereum, Polygon, Solana, Optimism and Arbitrum.

Read more about it here.

Installation

npm i simplehash-api

Example usage

import * as SimpleHash from 'simplehash-api';

(async () => {
  const simpleHash = SimpleHash.createApi(API_KEY);

  const transfers = await simpleHash.transfersByNft('solana', 'FmhJc5zWfifRi9azMBtWnhAqXNwqwvzV7kqX5M5zGyL4');
  console.log(transfers);
})();

TODO

  • Add more APIs
  • Add more examples
  • Add more tests
  • Add more documentation

© 2022, @jfkz