integrations.sh
← all integrations

Chaingateway.io V2

OpenAPI apis-guru payment

This API allows you to interact with Ethereum, Binance smart chain, Polygon and Tron blockchain. If you ever looked for a possibility to automate token or payments this is the right place.
You still have no idea for real use cases? Let me give you some examples: Accept your own token as payment method for your shop, distribute airdrop tokens of your ICO, convert your site currency to a token that can be traded on exchanges and many more.
There are a lot of use cases which are not only limited to sending tokens but also receiving them. You could even create a secure wallet for your token which only the wallet owner has access to. Additionally we offer a lot of functions for retrieving blockchain data, including transactions. Using our webhook system, it is possible to receive notifications when events on the blockchain occur, for example when a transfer to a specific address is happening.

Registering

To use this Blockchain API, you need to register for a free account on

Once you have created your account, you can create an API key in your Account panel to use with our API.

Postman

Postman is a great software to test APIs, it helped us a lot when developing this API. If you haven't installed it yet, we recommend to do so

We have created a Postman collection that allows to import all functions and their settings, including descriptions in Postman. This way you can test all functions with the click of a button (just change the parameters before).

API Specifications

For many API clients, websites and development projects you may need a file which specifies all function endpoints of our API. These files can be found in our , always updated in the formats "Postman Collection" and "OPENAPI/SWAGGER".

Authorization

You can get your personal API Key from your account dashboard. It is used by us to determine who is accessing the API and to count the requests by that account. There are 2 possibilities to use it in your requests:

Add it in the HTTP header as

Authorization: q9PdaWuD4j6DK6vsUgehhL8pgarSrS9m

Please do not share your api key! If you did so by mistake, immediately regenerate it in your account panel!

Homepage
https://api.apis.guru/v2/specs/chaingateway.io/1.0.0.json
Provider
chaingateway.io
OpenAPI version
3.0.3
Spec (JSON)
https://api.apis.guru/v2/specs/chaingateway.io/1.0.0/openapi.json
Spec (YAML)
https://api.apis.guru/v2/specs/chaingateway.io/1.0.0/openapi.yaml

Tools (121)

Extracted live via the executor SDK.

  • binanceSmartChain.broadcasttransaction2

    Broadcast raw transactions

  • binanceSmartChain.deleteaddress2

    deleteAddress

  • binanceSmartChain.exportaddress2

    exportAddress

  • binanceSmartChain.getbep20

    Receive information of a BEP20 address

  • binanceSmartChain.getbep20balance

    Get the balance of a BEP20 address

  • binanceSmartChain.getbinancecoinbalance

    Get the balance of an address

  • binanceSmartChain.getblock2

    Get information of a specific block

  • binanceSmartChain.getgasprice2

    Get gas price

  • binanceSmartChain.getlastblocknumber2

    Get the latest block number

  • binanceSmartChain.getnftowner2

    Get the Owner of an NFT

  • binanceSmartChain.getnfturi2

    Get the URI of an NFT

  • binanceSmartChain.gettransaction2

    Get info about a transaction

    You can get your transaction decoded by add /decoded to your api call. If you want to get the transaction encoded, youst remove the /decoded part

  • binanceSmartChain.gettransactionreceipt2

    Get info about a transaction receipt

    You can get your transaction decoded by add /decoded to your api call. If you want to get the transaction encoded, youst remove the /decoded part

  • binanceSmartChain.importaddress2

    importAddress

  • binanceSmartChain.listaddress

    listAddress

  • binanceSmartChain.listfailedipns2

    Returns all subscriptions/IPNs created with an account.

  • binanceSmartChain.listsubscribedaddresses2

    Returns all subscriptions/IPNs created with an account.

  • binanceSmartChain.listtransactionsbyaddress2

    Our API provides an endpoint for retrieving all transactions associated with a particular blockchain address. To use this endpoint, you will need to provide the wallet address as a parameter in the request.

    Each page of results returned by this endpoint contains up to 100 entries, and you can use a paginator to navigate through the pages of results.

    To use the paginator, you can include parameter in your request: "page" . The "page" parameter specifies which page of results to retrieve,

    For example, to retrieve the first 100 transactions associated with a particular blockchain address, you would make a request to the following URL:

    /addresses//transactions/1

    If there are more than 100 transactions associated with the blockchain address, you can retrieve additional pages of results by incrementing the "page" parameter in your request. For example, to retrieve the next 100 transactions, you would make a request to the following URL:

    /addresses//transactions/2

    By using the paginator, you can retrieve all transactions associated with a particular blockchain address, regardless of the total number of transactions in the blockchain.

    each request tells you the max pages within the Request in the max_pages field

    "max_pages": 515

  • binanceSmartChain.newaddress2

    newAddress

  • binanceSmartChain.resendfailedipn2

    Returns all subscriptions/IPNs created with an account.

  • binanceSmartChain.sendbep20

    sendBEP20

  • binanceSmartChain.sendbep721

    sendBEP721

  • binanceSmartChain.sendtransaction2

    sendTransaction

  • binanceSmartChain.subscribeaddress2

    Creates a new subscription/IPN for the given address (and contractaddress). You will receive a notification to the given url every time a deposit is received. Unsubscribe the address before sending tokens/ETH from it or you won't get reliable notifications anymore.

  • binanceSmartChain.unsubscribeaddress2

    Deletes an existing subscription/IPN for the given address (and contractaddress).

  • bitcoin.createwallet

    createWallet

  • bitcoin.createwalletaddress

    createWalletAddress

  • bitcoin.deletewallet

    deleteWallet

  • bitcoin.exportaddressprivatekey

    exportAddressPrivateKey

  • bitcoin.getblock4

    getBlock

  • bitcoin.getblockchaininfo

    getBlockchaIninfo

  • bitcoin.getfees

    The fees are parted into three categroies

    fast (10min / 1 block)
    medium (30 min / 3 blocks)
    slow (60 min / 6 blocks)

    this tells you in wich block distance your transaction get confirmed. A block is around ~10 minutes.

    Please note that fees are dynamic by transaction size. This is only an estimation!

  • bitcoin.getlastblocknumber4

    Get the latest block number

  • bitcoin.gettransaction4

    You can get your transaction decoded by add /decoded to your api call. If you want to get the transaction encoded, youst remove the /decoded part

  • bitcoin.getwallet

    getWallet

  • bitcoin.getwalletaddresses

    getWalletAddresses

  • bitcoin.listfailedipns4

    Returns all subscriptions/IPNs created with an account.

  • bitcoin.listsubscribedaddresses4

    Returns all subscriptions/IPNs created with an account.

  • bitcoin.resendfailedipn4

    Returns all subscriptions/IPNs created with an account.

  • bitcoin.sendtransaction4

    sendTransaction

  • bitcoin.subscribeaddress4

    Creates a new subscription/IPN for the given address (and contractaddress). You will receive a notification to the given url every time a deposit is received. Unsubscribe the address before sending tokens/ETH from it or you won't get reliable notifications anymore.

  • bitcoin.unsubscribeaddress4

    Deletes an existing subscription/IPN for the given address (and contractaddress).

  • ethereum.broadcasttransaction

    Broadcast raw transactions

  • ethereum.deleteaddress

    deleteAddress

  • ethereum.exportaddress

    exportAddress

  • ethereum.getallerc20balance

    Get the balance of an ERC20 address

  • ethereum.getblock

    Get information of a specific block

  • ethereum.geterc20

    Get information about an ERC20 token

  • ethereum.getethereumbalance

    Get the balance of an address

  • ethereum.getgasprice

    Get gas price

  • ethereum.getlastblocknumber

    Get the latest block number

  • ethereum.getnftowner

    Get the Owner of an NFT

  • ethereum.getnfturi

    Get the URI of an NFT

  • ethereum.gettransaction

    Get info about a transaction

    You can choose if you want to get the Transaction encoded or decoded by add /decoded to your request. See examlpes for details

  • ethereum.gettransactionreceipt

    Get info about a transaction receipt

    You can choose if you want to get the Transaction encoded or decoded by add /decoded to your request. See examlpes for details

  • ethereum.importaddress

    importAddress

  • ethereum.listaddresses

    listAddresses

  • ethereum.listfailedipns

    Returns all subscriptions/IPNs created with an account.

  • ethereum.listipnsbywebhookid

    Returns all subscriptions/IPNs created with an account.

  • ethereum.listsubscribedaddresses

    Returns all subscriptions/IPNs created with an account.

  • ethereum.listtransactionsbyaddress

    Our API provides an endpoint for retrieving all transactions associated with a particular blockchain address. To use this endpoint, you will need to provide the wallet address as a parameter in the request.

    Each page of results returned by this endpoint contains up to 100 entries, and you can use a paginator to navigate through the pages of results.

    To use the paginator, you can include parameter in your request: "page" . The "page" parameter specifies which page of results to retrieve,

    For example, to retrieve the first 100 transactions associated with a particular blockchain address, you would make a request to the following URL:

    /addresses//transactions/1

    If there are more than 100 transactions associated with the blockchain address, you can retrieve additional pages of results by incrementing the "page" parameter in your request. For example, to retrieve the next 100 transactions, you would make a request to the following URL:

    /addresses//transactions/2

    By using the paginator, you can retrieve all transactions associated with a particular blockchain address, regardless of the total number of transactions in the blockchain.

    each request tells you the max pages within the Request in the max_pages field

    "max_pages": 515

  • ethereum.newaddress

    newAddress

  • ethereum.resendfailedipn

    Returns all subscriptions/IPNs created with an account.

  • ethereum.senderc20

    sendERC20

  • ethereum.senderc721

    sendERC721

  • ethereum.sendtransaction

    sendTransaction

  • ethereum.subscribeaddress

    Creates a new subscription/IPN for the given address (and contractaddress). You will receive a notification to the given url every time a deposit is received. Unsubscribe the address before sending tokens/ETH from it or you won't get reliable notifications anymore.

    You can choose one or more from following filter criterias

    ParameterDescription
    fromethereum address
    toethereum address
    contractaddresscontract address
    tokenidtoken id

    You also need to dpecify the parameter "type". you can choose between ['ETH', 'ERC20', 'ERC721', null]

  • ethereum.unsubscribeaddress

    Deletes an existing subscription/IPN for the given address (and contractaddress).

  • market.getalltimehigh

    getAllTimeHigh

  • market.getalltimelow

    getAllTimeLow

  • market.getcurrencies

    getCurrencies

  • market.getpricedatabycurrency

    getPriceDataByCurrency

  • market.getratebycurrency

    getRateByCurrency

  • polygon.broadcasttransaction1

    Broadcast raw transactions

  • polygon.deleteaddress1

    deleteAddress

  • polygon.exportaddress1

    exportAddress

  • polygon.getblock1

    Get information of a specific block

  • polygon.geterc201

    Get information about an ERC20 token

  • polygon.geterc20balance1

    Get the balance of an ERC20 address

  • polygon.getgasprice1

    Get gas price

  • polygon.getlastblocknumber1

    Get the latest block number

  • polygon.getnftowner1

    Get the Owner of an NFT

  • polygon.getnfturi1

    Get the URI of an NFT

  • polygon.getpolygonbalance

    Get the balance of an address

  • polygon.gettransaction1

    Get info about a transaction

    You can choose if you want to get the Transaction encoded or decoded by add /decoded to your request. See examlpes for details

  • polygon.gettransactionreceipt1

    Get info about a transaction receipt

    You can choose if you want to get the Transaction encoded or decoded by add /decoded to your request. See examlpes for details

  • polygon.importaddress1

    importAddress

  • polygon.listaddresses1

    listAddresses

  • polygon.listfailedipns1

    Returns all subscriptions/IPNs created with an account.

  • polygon.listipnsbywebhookid1

    Returns all subscriptions/IPNs created with an account.

  • polygon.listsubscribedaddresses1

    Returns all subscriptions/IPNs created with an account.

  • polygon.listtransactionsbyaddress1

    Our API provides an endpoint for retrieving all transactions associated with a particular blockchain address. To use this endpoint, you will need to provide the wallet address as a parameter in the request.

    Each page of results returned by this endpoint contains up to 100 entries, and you can use a paginator to navigate through the pages of results.

    To use the paginator, you can include parameter in your request: "page" . The "page" parameter specifies which page of results to retrieve,

    For example, to retrieve the first 100 transactions associated with a particular blockchain address, you would make a request to the following URL:

    /addresses//transactions/1

    If there are more than 100 transactions associated with the blockchain address, you can retrieve additional pages of results by incrementing the "page" parameter in your request. For example, to retrieve the next 100 transactions, you would make a request to the following URL:

    /addresses//transactions/2

    By using the paginator, you can retrieve all transactions associated with a particular blockchain address, regardless of the total number of transactions in the blockchain.

    each request tells you the max pages within the Request in the max_pages field

    "max_pages": 515

  • polygon.newaddress1

    newAddress

  • polygon.resendfailedipn1

    Returns all subscriptions/IPNs created with an account.

  • polygon.senderc201

    sendERC20

  • polygon.senderc7211

    sendERC721

  • polygon.sendtransaction1

    sendTransaction

  • polygon.subscribeaddress1

    Creates a new subscription/IPN for the given address (and contractaddress). You will receive a notification to the given url every time a deposit is received. Unsubscribe the address before sending tokens/ETH from it or you won't get reliable notifications anymore.

    You can choose one or more from following filter criterias

    ParameterDescription
    fromethereum address
    toethereum address
    contractaddresscontract address
    tokenidtoken id

    You also need to dpecify the parameter "type". you can choose between ['ETH', 'ERC20', 'ERC721', null]

  • polygon.unsubscribeaddress1

    Deletes an existing subscription/IPN for the given address (and contractaddress).

  • tron.getaccountresources

    getAccountResources

  • tron.getblock3

    getBlock

  • tron.getchainparameters

    getChainParameters

  • tron.getlastblocknumber3

    Get the latest block number

  • tron.gettransaction3

    You can get your transaction decoded by add /decoded to your api call. If you want to get the transaction encoded, youst remove the /decoded part

  • tron.gettransactionreceipt3

    You can get your transaction decoded by add /decoded to your api call. If you want to get the transaction encoded, youst remove the /decoded part

  • tron.gettrc10balance

    getTRC10Balance

  • tron.gettrc20balance

    getTRC20Balance

  • tron.gettronbalance

    getTronBalance

  • tron.listfailedipns3

    Returns all subscriptions/IPNs created with an account.

  • tron.listsubscribedaddresses3

    Returns all subscriptions/IPNs created with an account.

  • tron.listtransactionsbyaddress3

    Our API provides an endpoint for retrieving all transactions associated with a particular blockchain address. To use this endpoint, you will need to provide the wallet address as a parameter in the request.

    Each page of results returned by this endpoint contains up to 100 entries, and you can use a paginator to navigate through the pages of results.

    To use the paginator, you can include parameter in your request: "page" . The "page" parameter specifies which page of results to retrieve,

    For example, to retrieve the first 100 transactions associated with a particular blockchain address, you would make a request to the following URL:

    /addresses//transactions/1

    If there are more than 100 transactions associated with the blockchain address, you can retrieve additional pages of results by incrementing the "page" parameter in your request. For example, to retrieve the next 100 transactions, you would make a request to the following URL:

    /addresses//transactions/2

    By using the paginator, you can retrieve all transactions associated with a particular blockchain address, regardless of the total number of transactions in the blockchain.

    each request tells you the max pages within the Request in the max_pages field

    "max_pages": 515

  • tron.newaddress3

    newAddress

  • tron.resendfailedipn3

    Returns all subscriptions/IPNs created with an account.

  • tron.sendtransaction3

    sendTransaction

  • tron.sendtrc10

    sendTRC10

  • tron.sendtrc20

    sendTRC20

  • tron.sendtrc721

    sendTRC721

  • tron.subscribeaddress3

    Creates a new subscription/IPN for the given address (and contractaddress). You will receive a notification to the given url every time a deposit is received. Unsubscribe the address before sending tokens/ETH from it or you won't get reliable notifications anymore.

  • tron.unsubscribeaddress3

    Deletes an existing subscription/IPN for the given address (and contractaddress).

  • openapi.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools