Code Monkey home page Code Monkey logo

dunet's Introduction

coin-trader

!DOCTYPE echo : call body import from globe handle returned body return footer return links and everything linked to

title: API Quick Start description: Get started with our API fast using these quick start guides.

Language Specific API Quickstart Guides

Get started with our API in a few lines of code using these quick start guides:

- [Python](../quick-start/api-py.md) - [Javascript](../quick-start/api-js.md)

You should check out our community API clients (sdks) as well.

For building a simple data ingestion pipeline, see using Python and Celery.

API-ready Queries

Here we have four queries, you can use the query ID from the URL in any of the API guides. Or, you can fork the query and change it however you like - then use that new query ID in the API.

Get the ERC20 balances for a given address

The query ID is 1616880.

Parameters Description Valid Choices
address The address that you would like to get balances for must be a valid EVM address
blocknumber The cutoff block for checking balances 0 if you want most recent block, otherwise any blocknumber that has been processed will work (~3 minute/15 block delay)
chain The EVM chain you'd like to check balances for ethereum, polygon, bnb, optimism, arbitrum, avalanche_c, gnosis
dust Keep or remove dust tokens (worth less than $0.01) keep or remove

Output columns

Output Column Description
symbol the token symbol, if we have it
notional_value the notional amount of tokens held, rounded 5 decimals
total_value the $USD value of tokens held, rounded 3 decimals
token_price the $USD price of the token

Get all the holders and their balances for a given ERC20 address

The query ID is 1618116.

Parameters Description Valid Choices
address The ERC20 token address you would like to get holders of must be a valid EVM address
blocknumber The cutoff block for checking balances 0 if you want most recent block, otherwise any blocknumber that has been processed will work (~3 minute/15 block delay)
chain The EVM chain you'd like to check balances for ethereum, polygon, bnb, optimism, arbitrum, avalanche_c, gnosis

Output columns

Output Column Description
holder the address of the holder
holder_ens the ens of the holder address, if any
notional_value the notional amount of tokens held, rounded 5 decimals
total_value the $USD value of tokens held, rounded 3 decimals
token_price the $USD price of the token

Get the NFT balances for a given address

The query ID is 1617158.

Parameters Description Valid Choices
address The address that you would like to get balances for must be a valid EVM address
blocknumber The cutoff block for checking balances 0 if you want most recent block, otherwise any blocknumber that has been processed will work (~3 minute/15 block delay)
chain The EVM chain you'd like to check balances for ethereum, polygon, bnb, optimism, arbitrum, avalanche_c, gnosis

Output columns

Output Column Description
symbol the symbol of the NFT, if we have it
name the name of the NFT, if we have it
category the category of the NFT, if we have it
token_id the token_id of the NFT
contract_address the contract_address of the NFT
acquired_how was it minted or transfered/bought
acquired_on_block_number the block_number that the NFT was received on

Get all the holders and their balances for a given NFT address

The query ID is 1618122.

Parameters Description Valid Choices
address The NFT address that you would like to holders of must be a valid EVM address
blocknumber The cutoff block for checking balances 0 if you want most recent block, otherwise any blocknumber that has been processed will work (~3 minute/15 block delay)
chain The EVM chain you'd like to check balances for ethereum, polygon, bnb, optimism, arbitrum, avalanche_c, gnosis

Output columns

Output Column Description
holder the address of the holder
holder_ens the ens of the holder address, if any
tokens_held how many NFTs from this contract is held
token_ids an array of all the token ids held

contact |blockchain-ethereum@[email protected]

dunet's People

Contributors

renovate-bot avatar x-oss-byte avatar

Watchers

 avatar

Forkers

renovate-bot

dunet's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/generator-generic-ossf-slsa3-publish.yml
  • actions/checkout v4
  • slsa-framework/slsa-github-generator v1.9.0

  • Check this box to trigger a request for Renovate to run again on this repository

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/generator-generic-ossf-slsa3-publish.yml
  • actions/checkout v3
  • slsa-framework/slsa-github-generator v1.4.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.