From 446d76d62ee0095d223590eebafbfedac9c1bfaa Mon Sep 17 00:00:00 2001
From: Lukas Kotol Interact with the blockchain directly by connecting to the blockchain node and communicating with it through JSON-RPC. Each node-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section. A Tatum Account is the primary building block of Tatum-powered applications. It is an envelope that holds essential information about balances, the state of the account or customer, and to whom the account belongs. An endpoint used to create and list transactions within Tatum Private Ledger. A transaction is performed between 2 accounts with the same currency. To perform an exchange operation between accounts with different currencies, API calls from Order Book sections are available. Transactions in the ledger are instant, with a settlement time of below 200ms. An endpoint used to handle customer operations, like updating customer information, enabling/disabling etc.\nWithin Tatum API, a customer represents a client of the entity that communicates with Tatum. Register and use Tatum Private Ledger's virtual currencies. You can create your own virtual currency and distribute it amongst your customers. The gas pump is Tatum's feature that helps you manage gas fees in a custodial application. When you use the gas pump, gas fees for any transaction made by your customers (users of your custodial application) are automatically deducted from the master address instead of the customer's address. This eliminates the need to send crypto to each customer's address to pay for gas fees. For more information about the gas pump, see our user documentation. Each API related to the gas pump supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section. Endpoints to handle subscriptions to the Tatum Platform. Subscriptions allow users to enable some additional features or reports that are not enabled by default,\nlike outgoing off-chain transaction scanning, accounts with balances above the limit, etc. Endpoint to handle Order book operations like creating BID / ASK trades between Tatum Private Virtual accounts, obtaining trade histories, creating futures etc. It is possible to build an exchange based on the Ledger Accounts. Key Management System (KMS) is a comprehensive solution for building custodial applications. KMS runs locally on your server and provides security for generating wallets, addresses, and private keys, and for signing transactions. KMS builds a list of pending transaction to sign and provides the options to complete a transaction after it has been signed and to obtain transaction details with the result of the blockchain operation via the transaction ID. In KMS, each managed wallet or private key is assigned a unique signature ID ( Depending on the API, you can use the signature ID in an API call request in the following ways: You can run KMS on the following operating systems: For more information about KMS, see the KMS GitHub repository and the user documentation.
\nAccounts in Tatum are stored within Tatum Private Ledger. Tatum Private Ledger contains information about accounts, the customers that own the accounts, transactions that affect the accounts or virtual currencies present in the ledger.
\nBy default, the private ledger is not connected to any blockchain. It is possible to create an application on it without any blockchain at all. Using Tatum Private Ledger and the building blocks included within it, it is possible to quickly swap the whole application from the ledger to any blockchain supported by Tatum. All of the API calls will remain the same, the only thing that changes is the blockchain the application lives on.
\nMost blockchains do not have any compliance layer at all. It is not possible to freeze funds at a blockchain address or deactivate an address. The Tatum Account has built-in compliance, and it is possible to block funds in the account, freeze outgoing transactions from the account or even completely deactivate the account.\n
\nTatum Private Ledger supports microtransactions - a transaction of an amount as little as 1e-30 (30 decimal places). Transactions are atomic.
\nWhen there is an insufficient balance in the sender account, or recipient account cannot receive funds, the transaction is not settled.
\nCustomers cannot be created via any other operation than Create Ledger Account.
\nDue to compliance restrictions, it is recommended to enter the country of residence of the customer and the country of the provider. The Tatum compliance engine operates based on this information.\n
\nVirtual currencies are used to support FIAT currencies. When a virtual currency is created with basePair of the FIAT currency, it is possible to perform transactions in the private ledger in FIAT.\nsignatureId
) that represents that wallet or private key. This signature ID is then used in an API request to identify the wallet.\n
\ntransferBtcKMS
request schema).BtcTransactionFromUTXOKMS
request schema).transferEthKMS
request schema).
In this case, the index of the specific private key generated from the mnemonic must be used in addition to the signature ID.
An endpoint to check if the blockchain address is safe to work with or not.
\n","name":"Malicious address"},{"description":"Manage deposit addresses associated with your virtual account.
\nDepending on how virtual accounts are connected to the blockchain, the virtual accounts can be:
\nAn endpoint to handle operations between a virtual account and the blockchain, e.g. to create blockchain transactions from virtual accounts, create custom fungible tokens and custom assets, and register them as a regular currency into the virtual account.
\n","name":"Blockchain operations"},{"description":"An endpoint used to create, cancel, or complete withdrawals by customers from Tatum to supported blockchains.\nWithdrawals are always multi-step operations that consist of the following steps:\n
Bitcoin Blockchain enables access to the most commonly used Bitcoin methods. These methods bring a small level of abstraction\nand are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\nto connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Ethereum is a decentralized, open-source blockchain. With Tatum, you can access the most commonly used Ethereum methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports the following Ethereum networks:
\nIPFS is a distributed file storage. You can store data to IPFS and read from them.
\n","name":"IPFS"},{"description":"Bitcoin Cash Blockchain enables access to the most commonly used Bitcoin Cash methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Build a peer-to-peer NFT marketplace and allow your customers to sell and buy assets. When an asset is sold, the creator is automatically paid, the asset is instantly transferred to the buyer, and you as the owner of the marketplace automatically receive a percentage of the transaction.
\nEach marketplace-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Marketplace"},{"description":"The utility APIs help you use some native blockchain features such as getting the address of a smart contract or estimating the block number.
\nEach utility API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Blockchain utils"},{"description":"Litecoin Blockchain enables access to the most commonly used Litecoin methods. These methods bring a small level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nExamples of working with the Litecoin blockchain can be found in Tatum LTC SDK.
\nTatum supports 2 chains:\n
Dogecoin Blockchain enables access to the most commonly used Dogecoin methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Flow Blockchain enables access to the most commonly used Flow methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports FLOW and FUSD stable coin.
\nTatum supports 2 chains:\n
XRPL is a decentralized public blockchain. With Tatum, you can access the most commonly used XRPL methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports the following XRPL networks:
\nTo start using the XRPL blockchain, create an XRPL account. On XRPL, the same account is used for the mainnet and the testnet. To activate the account, credit it with 20 XRP.
\nBecause of the activation requirement, it is common to use one account for all customers and differentiate them via Destination
tags. A Destination
tag is a number included in every transaction as an account distinguisher.
When an off-chain deposit address is created for a virtual account, a Destination
tag is generated for that account (for example, 12345
). When you make a transaction to the blockchain, be sure to include the address of the recipient and the Destination
tag as an account distinguisher. Examples of working with the XRP blockchain can be found in Tatum XRP SDK.
XLM Blockchain enables access to the most commonly used XLM methods. These methods bring a small level of abstraction\nand are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\nto connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nExamples of working with the Stellar blockchain can be found in Tatum XLM SDK.
\nTatum supports 2 chains:\n
You can store data records on the blockchain. A record is stored permanently: it cannot be changed,\ndeleted, or modified by anyone and will be stored on the blockchain forever.\n","name":"Blockchain storage"},{"description":"
BNB Beacon Chain is a blockchain developed by Binance. With Tatum, you can access the most commonly used BNB Beacon Chain methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly.
\nBNB Beacon Chain does not provide the smart contract functionality.
\nTatum supports the following BNB Beacon Chain networks:
\nVeChain Blockchain enables access to the most commonly used VeChain methods. Tatum does not support off-chain capabilities for the VET blockchain.\nTatum KMS is not supported for VET transactions. VET supports 2 native assets - VET and VTHO. VTHO is used for paying transaction fees.\n
\nTatum supports 2 chains:\n
Cardano is a decentralized, open-source blockchain. With Tatum, you can access the most commonly used Cardano methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports Cardano mainnet and Cardano preproduction testnet.
\n","name":"Cardano"},{"description":"Custodial API is a set of operations, which allows you to work with managed blockchain addresses without having its private key.\nYou can easily create new managed address and export its details - with private key as well - once required.
\nThis features are currently in Alpha version.
Algorand is a decentralized blockchain technology network. Algorand is enabling the simple creation of next generation financial products, protocols and exchange of value across defi, financial institutions and governments.
\nTatum supports 2 chains:\n
Polygon (Matic) is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Cronos is an EVM-based blockchain which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\n Tatum supports 2 chains:\n
Klaytn is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Solana is a blockchain network focused on fast transactions and high throughput. It uses a unique method of ordering transactions to improve its speed. Users can pay their transaction fees and interact with smart contracts with SOL, the network's native cryptocurrency.
\nFor now, Solana is in BETA and there is a rate limitation applied for all projects for Solana to 40 req/s on the platform.
\nTatum supports 2 chains:\n
Flare is an EVM-based Layer 1 which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\nTatum supports 4 chains:\n
Base is a secure, low-cost, builder-friendly Ethereum L2 built to bring the next billion users onchain..\n
\n Tatum supports 2 chains:\n
Celo is fork of Celo with more than 1000 tps and possibility to pay for\ntransactions in it's own stable coin, cUSD. Celo Blockchain enables access to most commonly used Celo methods.\nThese methods bring small level of abstraction,\n and are used for the type of applications that want to communicate with blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect blockchain and private ledger together, like wallet generation or getting information about transactions.
\n Tatum supports 2 chains:\n
Elrond (EGLD) is a distributed transactional computation protocol which relies on a sharded state architecture and a secure Proof of Stake consensus mechanism.\n
\nTatum supports 2 chains:\n
Tron Blockchain enables access to most commonly used Tron methods. It's possible to generate TRON account, send TRX, TRC10 and TRC20 assets. It's also possible to generate custom TRC10 or TRC20 tokens using API.
\nTatum supports 2 chains:\n
Binance Smart Chain is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Kcs (KCS) is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Harmony.ONE is an Oneeum L2 scaling solution 100% EVM compatible, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
XDC Network (XinFin) is enterprise ready hybrid blockchain for global trade and finance, combining the power of Public & Private blockchains with interoperable Smart Contracts.\n
\nTatum supports 2 chains:\n
A Multi Token combines characteristics of fungible and non-fungible tokens. A single Multi Token smart contract allows you to mint fungible, non-fungible, and semi-fungible tokens and process different types of the tokens in a single transaction. Multi Tokens are described by the ERC-1155 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nMulti Tokens can be used for nearly any digital asset or good to ensure authenticity and scarcity, for example:
\n
Each Multi Token-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Multi Tokens (ERC-1155 or compatible)"},{"description":"Fungible tokens are interchangeable and are used as a blockchain representation of the currency. Fungible tokens are described by the ERC-20 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nEach API related to fungible tokens supports its own set of the blockchains. The list of the supported blockchains is provided in the operation description further in this section.
\n","name":"Fungible Tokens (ERC-20 or compatible)"},{"description":"\"NFT\" stands for \"Non-Fungible Token\", which means that each token is unique and irreplaceable. NFTs are described by the ERC-721 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nNFTs can be used for nearly any digital asset or good to ensure authenticity and scarcity, for example:
\n
Each NFT-related API its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"NFT (ERC-721 or compatible)"},{"description":"Tatum Data API is a comprehensive solution designed for developers to easily access on-chain data such as token balances, NFT owners, and metadata, all through a suite of user-friendly APIs.
\nWith Tatum Data API, developers can seamlessly integrate blockchain functionality into their applications, enabling them to deliver innovative, web3 solutions. This powerful indexing solution supports multiple blockchains, ensuring developers have access to the latest data across different networks.
\nTatum Data API offers a reliable, scalable, and cost-effective way for developers to access on-chain data, making it an essential tool for any blockchain project.
\n","name":"Data API"}],"x-tagGroups":[{"name":"Blockchain Node RPC","tags":["Node RPC"]},{"name":"Blockchain Data Access","tags":["Data API"]},{"name":"Subscriptions","tags":["Notification subscriptions"]},{"name":"Fee estimation","tags":["Blockchain fees","Virtual account blockchain fees"]},{"name":"Smart Contracts","tags":["NFT (ERC-721 or compatible)","Fungible Tokens (ERC-20 or compatible)","Multi Tokens (ERC-1155 or compatible)","Gas pump","Marketplace","Auction"]},{"name":"Security","tags":["Key Management System","Malicious address","Custodial managed wallets"]},{"name":"Storage","tags":["IPFS","Blockchain storage"]},{"name":"Virtual Accounts","tags":["Account","Transaction","Customer","Virtual Currency","Order Book","Withdrawal","Blockchain addresses","Blockchain operations","Deposit"]},{"name":"Blockchain","tags":["Algorand","Base","Bitcoin","Bitcoin Cash","BNB Smart Chain","BNB Beacon Chain","Cardano","Celo","Cronos","Dogecoin","Elrond","Ethereum","Flow","Flare","Harmony","Klaytn","KuCoin","Litecoin","Polygon","Solana","Stellar","Tron","VeChain","XinFin","XRP"]},{"name":"Utils","tags":["Blockchain utils","Exchange rate","Service utils"]}],"paths":{"/v3/ledger/account":{"post":{"description":"2 credits per API call
\nCreate a new virtual account for a customer.
\nYou can create a virtual account for any supported cryptocurrency, fiat currency, Tatum virtual currency, or fungible tokens created within Tatum. Once the currency/asset is set for a virtual account, it cannot be changed.
\nVirtual account balance
\nA virtual account has its own balance. The balance can be logically presented by the account balance and available balance:
\naccountBalance
) represents all assets on the account, both available and blocked.availableBalance
) represents the account balance minus the blocked assets. Use the available balance to determine how much a customer can send or withdraw from their virtual account.Cryptocurrency virtual accounts
\nWhen you create a virtual account based on a cryptocurrency (for example, BTC or ETH), you have to provide the extended public key (xpub
) of the blockchain wallet that will be connected to this account.
NOTE: Adding xpub
to the virtual account does not connect any specific blockchain address to this account. xpub
is a generator of addresses, not an address itself.
Not all blockchains provide xpub
for wallets, or Tatum may not support wallets on some blockchains. In such cases, use the wallet address or the account address instead.
xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet.xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet instead.xpub
from the generated wallet instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated blockchain address instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated account instead.xpub
provided; use address
from the generated account instead.Connect a virtual account to the blockchain
\nxpub
, generate a new blockchain address for this account.xpub
, assign an existing blockchain address to this account.You can connect multiple blockchain addresses to one virtual account.
\nDigital assets:
\n0x2791bca1f2de4661ed88a30c99a7a9449aa84174
on Polygon mainnet.0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
on Polygon mainnet.Lists all accounts. Inactive accounts are also visible.
","operationId":"getAccounts","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Sort by","in":"query","name":"sortBy","schema":{"type":"string","example":"id","enum":["id","account_number","account_balance","available_balance"]}},{"description":"Filter only active or non active accounts","in":"query","name":"active","schema":{"type":"boolean","example":true}},{"description":"Filter only accounts with non zero balances","in":"query","name":"onlyNonZeroBalance","schema":{"type":"boolean","example":true}},{"description":"Filter only frozen or non frozen accounts","in":"query","name":"frozen","schema":{"type":"boolean","example":true}},{"description":"Filter by currency","in":"query","name":"currency","schema":{"type":"string","example":"BTC"}},{"description":"Filter by account number","in":"query","name":"accountNumber","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all accounts","tags":["Account"]}},"/v3/ledger/account/count":{"get":{"description":"Count of accounts that were found from /v3/ledger/account
","operationId":"getAccountsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"]}},{"description":"Sort by","in":"query","name":"sortBy","schema":{"type":"string","example":"_id","enum":["_id","account_number","account_balance","available_balance"]}},{"description":"Filter only active or non active accounts","in":"query","name":"active","schema":{"type":"boolean","example":true}},{"description":"Filter only accounts with non zero balances","in":"query","name":"onlyNonZeroBalance","schema":{"type":"boolean","example":true}},{"description":"Filter only frozen or non frozen accounts","in":"query","name":"frozen","schema":{"type":"boolean","example":true}},{"description":"Filter by currency","in":"query","name":"currency","schema":{"type":"string","example":"BTC"}},{"description":"Filter by account number","in":"query","name":"accountNumber","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get accounts request","tags":["Account"]}},"/v3/ledger/account/batch":{"post":{"description":"Creates new accounts for the customer in a batch call.
\n","operationId":"createAccountBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountBatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403ComplianceBtc"},{"$ref":"#/components/schemas/Error403ComplianceEth"},{"$ref":"#/components/schemas/Error403AccountTestnet"},{"$ref":"#/components/schemas/Error403AccountXpub"},{"$ref":"#/components/schemas/Error403AccountCurrency"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpub"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotActive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create multiple accounts in a batch call","tags":["Account"]}},"/v3/ledger/account/customer/{id}":{"get":{"description":"Lists all accounts associated with a customer. Only active accounts are visible.
","operationId":"getAccountsByCustomerId","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Internal customer ID","in":"path","name":"id","required":true,"schema":{"example":"5e68c66581f2ee32bc354087","type":"string"}},{"description":"For bookkeeping to distinct account purpose.","in":"query","name":"accountCode","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all customer accounts","tags":["Account"]}},"/v3/ledger/account/{id}":{"get":{"description":"Gets active account by ID. Displays all information regarding the given account.
","operationId":"getAccountByAccountId","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get account by ID","tags":["Account"]},"put":{"description":"Update account by ID. Only a small number of fields can be updated.
","operationId":"updateAccountByAccountId","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccount"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update account","tags":["Account"]}},"/v3/ledger/account/{id}/balance":{"get":{"description":"Get balance for the account.
","operationId":"getAccountBalance","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get account balance","tags":["Account"]}},"/v3/ledger/account/block/{id}":{"post":{"description":"Blocks an amount in an account. Any number of distinct amounts can be blocked in one account.\nEvery new blockage has its own distinct ID, which is used as a reference. When the amount is blocked, it is debited from the available balance of the account.\nThe account balance remains the same. The account balance represents the total amount of funds in the account. The available balance represents the total amount of funds that can be used to perform transactions. When an account is frozen, the available balance is set to 0 minus all blockages for the account.
\n","operationId":"blockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockAmount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Id"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Block an amount in an account","tags":["Account"]},"put":{"description":"Unblocks a previously blocked amount in an account and invokes a ledger transaction from that account to a different recipient.\nIf the request fails, the amount is not unblocked.
\n","operationId":"unblockAmountWithTransaction","parameters":[{"description":"Blockage ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnblockAmount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BlockageNotExists"},{"$ref":"#/components/schemas/Error403BlockageAmount"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403ComplianceBtc"},{"$ref":"#/components/schemas/Error403ComplianceEth"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxRecipientNotFound"},{"$ref":"#/components/schemas/Error403TxCurrency"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtc"},{"$ref":"#/components/schemas/Error403TxAmountEth"},{"$ref":"#/components/schemas/Error403TxNotCompliant"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock an amount in an account and perform a transaction","tags":["Account"]},"delete":{"description":"Unblocks a previously blocked amount in an account. Increases the available balance in the account where the amount was blocked.
","operationId":"deleteBlockAmount","parameters":[{"description":"Blockage ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock a blocked amount in an account","tags":["Account"]},"get":{"description":"Gets blocked amounts for an account.
","operationId":"getBlockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Blockage"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get blocked amounts in an account","tags":["Account"]}},"/v3/ledger/account/block/{id}/detail":{"get":{"description":"Gets blocked amount by id.
","operationId":"getBlockAmountById","parameters":[{"description":"Blocked amount ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Blockage"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get blocked amount by ID","tags":["Account"]}},"/v3/ledger/account/block/account/{id}":{"delete":{"description":"Unblocks previously blocked amounts in an account. Increases the available balance in the account where the amount was blocked.
","operationId":"deleteAllBlockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403BlockDelete"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock all blocked amounts in an account","tags":["Account"]}},"/v3/ledger/account/{id}/activate":{"put":{"description":"Activates an account.
","operationId":"activateAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due a to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountActive"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403AccountCustomerInactive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Activate account","tags":["Account"]}},"/v3/ledger/account/{id}/deactivate":{"put":{"description":"Deactivates an account. Only accounts with account and available balances of zero can be deactivated. Deactivated accounts are not visible in the list of accounts, it is not possible to send funds to these accounts or perform transactions. However, they are still present in the ledger and all transaction histories.
","operationId":"deactivateAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountInactive"},{"$ref":"#/components/schemas/Error403AccountBalanceNonZero"},{"$ref":"#/components/schemas/Error403TradeBalanceNonZero"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deactivate account","tags":["Account"]}},"/v3/ledger/account/{id}/freeze":{"put":{"description":"Disables all outgoing transactions. Incoming transactions to the account are available. When an account is frozen, its available balance is set to 0. This operation will create a new blockage of type ACCOUNT_FROZEN, which is automatically deleted when the account is unfrozen.
","operationId":"freezeAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountFrozen"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Freeze account","tags":["Account"]}},"/v3/ledger/account/{id}/unfreeze":{"put":{"description":"Unfreezes a previously frozen account. Unfreezing a non-frozen account not affect the account.
","operationId":"unfreezeAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountNotFrozen"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unfreeze account","tags":["Account"]}},"/v3/ledger/transaction":{"post":{"description":"Sends a payment within Tatum Private Ledger. All assets are settled instantly.
\nWhen a transaction is settled, 2 transaction records are created, 1 for each of the participants. These 2 records are connected via a transaction reference, which is the same for both of them.
\nThis method is only used for transferring assets between accounts within Tatum and will not send any funds to blockchain addresses.
\nIf there is an insufficient balance in the sender account, no transaction is recorded.
\nIt is possible to perform an anonymous transaction where the sender account is not visible for the recipient.
\nThe FIAT currency value of every transaction is calculated automatically. The FIAT value is based on the accountingCurrency of the account connected to the transaction and is available in the marketValue parameter of the transaction.
Sends the N payments within Tatum Private Ledger. All assets are settled instantly.
\nWhen a transaction is settled, 2 transaction records are created, 1 for each of the participants. These 2 records are connected via a transaction reference, which is the same for both of them.
\nThis method is only used for transferring assets between accounts within Tatum and will not send any funds to blockchain addresses.
\nIf there is an insufficient balance in the sender account, no transaction is recorded.
\nIt is possible to perform an anonymous transaction where the sender account is not visible for the recipient.
\nThe FIAT currency value of every transaction is calculated automatically. The FIAT value is based on the accountingCurrency of the account connected to the transaction and is available in the marketValue parameter of the transaction.
Finds transactions for the account identified by the given account ID.
","operationId":"getTransactionsByAccountId","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions for account.","tags":["Transaction"]}},"/v3/ledger/transaction/customer":{"post":{"description":"Finds transactions for all accounts of the customer identified by the given internal customer ID.
","operationId":"getTransactionsByCustomerId","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilterCustomer"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions for a customer across all of the customer's accounts.","tags":["Transaction"]}},"/v3/ledger/transaction/ledger":{"post":{"description":"Find transactions across whole ledger.
","operationId":"getTransactions","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilterLedger"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions within the ledger.","tags":["Transaction"]}},"/v3/ledger/transaction/reference/{reference}":{"get":{"description":"Finds transactions for all accounts with the given reference.
","operationId":"getTransactionsByReference","parameters":[{"in":"path","name":"reference","required":true,"schema":{"maxLength":100,"minLength":20,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions with a given reference across all accounts.","tags":["Transaction"]}},"/v3/ledger/deposits":{"get":{"description":"Lists all deposits for API key.
","operationId":"getDeposits","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Status of the deposit","in":"query","name":"status","schema":{"type":"string","enum":["Done","InProgress"],"example":"Done"}},{"description":"Filter by currency","name":"currency","in":"query","schema":{"type":"string","example":"BTC"}},{"description":"Filter by txId","name":"txId","in":"query","schema":{"type":"string","example":2.0589336591536965e+76,"maxLength":80,"minLength":10}},{"description":"Filter by to address","name":"to","in":"query","schema":{"type":"string","example":9.557027372635822e+47}},{"description":"Filter by account id","name":"accountId","in":"query","schema":{"type":"string","example":"628bae6095e9ad06b52eb229"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Deposit"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all deposits for product","tags":["Deposit"]}},"/v3/ledger/deposits/count":{"get":{"description":"Counts total entities found by get deposits request.
","operationId":"getDepositsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Type of the deposit","in":"query","name":"status","schema":{"type":"string","enum":["Done","InProgress"],"example":"Done"}},{"description":"Filter by currency","name":"currency","in":"query","schema":{"type":"string","example":"BTC"}},{"description":"Filter by txId","name":"txId","in":"query","schema":{"type":"string","example":2.0589336591536965e+76,"maxLength":80,"minLength":10}},{"description":"Filter by to address","name":"to","in":"query","schema":{"type":"string","example":9.557027372635822e+47}},{"description":"Filter by account id","name":"accountId","in":"query","schema":{"type":"string","example":"628bae6095e9ad06b52eb229"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get deposits request","tags":["Deposit"]}},"/v3/record":{"post":{"description":"2 credits per API call + additional credits based on the size of the stored data and the type of the blockchain
\nStore data on the blockchain.
\nThe total cost of a transaction on Ethereum (in credits) depends on the size of the data. The data is stored as a string in the hexadecimal format, and the maximum size of the data is approximately 130 kB on the mainnet and 30 kB on testnet. Every 5 characters cost 1 credit.
\nTherefore, one API call with 1 kB of data (1024 characters) would cost 205 credits.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet a log data record from the Ethereum blockchain (only the mainnet or the Sepolia testnet).
\n","operationId":"GetLog","parameters":[{"description":"The blockchain to get the log record from","in":"query","name":"chain","required":true,"schema":{"type":"string","example":"ETH","enum":["ETH"]}},{"description":"The ID of the log record or transaction to get from the blockchain","in":"query","name":"id","required":true,"schema":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326","minLength":1,"maxLength":100}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"The data stored in the requested record","example":"My example log data"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a log record","tags":["Blockchain storage"]}},"/v3/ipfs/{id}":{"get":{"description":"Gets data from the IPFS.
","operationId":"GetIPFSData","parameters":[{"description":"IPFS CID of the file","in":"path","name":"id","required":true,"schema":{"type":"string","example":"QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj"}}],"responses":{"200":{"content":{"*":{"schema":{"type":"string","format":"binary"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get file from IPFS","tags":["IPFS"]}},"/v3/ipfs":{"post":{"description":"Stores file on the IPFS. We are leveraging web3.storage from Protocol Labs for free storage on the IPFS.
\n","operationId":"StoreIPFS","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","example":127654187631872620,"description":"Your file to store"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"ipfsHash":{"type":"string","description":"IPFS CID identifier of the stored file."}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store data to IPFS","tags":["IPFS"]}},"/v3/bitcoin/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/0'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Bitcoin wallet.
\n","operationId":"BtcGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a Bitcoin wallet","tags":["Bitcoin"]}},"/v3/bitcoin/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate a Bitcoin address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31 - 1.
\n","operationId":"BtcGenerateAddress","parameters":[{"description":"Extended public key of a wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of the desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBtc"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a Bitcoin address from the wallet's extended public key","tags":["Bitcoin"]}},"/v3/bitcoin/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerates a private key for an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic can generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BtcGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate the private key for a Bitcoin address","tags":["Bitcoin"]}},"/v3/bitcoin/info":{"get":{"description":"1 credit per API call
\nGets Bitcoin blockchain information. Obtains basic info like the testnet / mainnet version of the chain, the current block number and its hash.
\n","operationId":"BtcGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin blockchain information","tags":["Bitcoin"]}},"/v3/bitcoin/block/hash/{i}":{"get":{"description":"1 credit per API call
\nGets a Bitcoin block hash. Returns the hash of the block to get the block's details.
\n","operationId":"BtcGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a blockchain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1580117}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcBlockHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the hash of a Bitcoin block","tags":["Bitcoin"]}},"/v3/bitcoin/block/{hash}":{"get":{"description":"1 credit per API call
\nGets Bitcoin block detail by block hash or height.
\n","operationId":"BtcGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a Bitcoin block by its hash or height","tags":["Bitcoin"]}},"/v3/bitcoin/address/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of a Bitcoin address.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
50 credits per API call
\nGet the balance of multiple Bitcoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
1 credit per API call
\nGet all transactions for a Bitcoin address. Returns also transactions that are in mempool and haven't been included in a block. In that case blockNumber has a null value.
\n","operationId":"BtcGetTxByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Only show transactions after this block height.","in":"query","name":"blockFrom","schema":{"type":"number","example":801234}},{"description":"Only show transactions before this block height.","in":"query","name":"blockTo","schema":{"type":"number","example":891002}},{"description":"Type of the transaction to fetch - either incoming, or outgoing. If none is present - all transactions are fetched.","in":"query","name":"txType","schema":{"type":"string","example":"incoming","enum":["incoming","outgoing"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BtcTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get all transactions for a Bitcoin address","tags":["Bitcoin"]}},"/v3/bitcoin/transaction/address/batch":{"post":{"description":"1 credit per address for each API call
\nRetrieve transactions for multiple Bitcoin addresses in a batch.
\n","operationId":"BtcGetTxByAddressBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcGetTxByAddressBatch"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"object","properties":{"address":{"type":"string","description":"Address","example":"bc1qdj8dxppx6gyukpemsqx06a39877rt8kcc08uqs"},"transactions":{"type":"array","description":"Transactions for address.","items":{"$ref":"#/components/schemas/BtcTx"}}}},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions for multiple Bitcoin addresses in a batch","tags":["Bitcoin"]}},"/v3/bitcoin/transaction":{"post":{"description":"2 credits per API call
\nSend BTC to blockchain addresses.
\nBitcoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BTC/satoshis that remains at a Bitcoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about Bitcoin transactions and UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Bitcoin transaction.
\nYou can build a BTC transaction by one of the following methods:
\nBtcTransactionFromAddress
or BtcTransactionFromAddressKMS
schema of the request body.BtcTransactionFromUTXO
or BtcTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 BTC and T2 with 2 BTC. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 BTC to spend:1 BTC (from T1) + 2 BTC (from T2) = 3 BTC (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending BTC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BtcTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BtcTransactionFromAddress"},{"$ref":"#/components/schemas/BtcTransactionFromAddressKMS"},{"$ref":"#/components/schemas/BtcTransactionFromUTXO"},{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BTC to Bitcoin addresses","tags":["Bitcoin"]}},"/v3/bitcoin/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Bitcoin Transaction detail by transaction hash.
\n","operationId":"BtcGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a Bitcoin transaction by its hash","tags":["Bitcoin"]}},"/v3/bitcoin/utxo/{hash}/{index}":{"get":{"description":"1 credit per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BTC/satoshis that remains at a Bitcoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about Bitcoin transactions and UTXO, see the Bitcoin user documentation.
\n404
response code.1 credit per API call
\nGets Bitcoin transaction IDs in the mempool.
\n","operationId":"BtcGetMempool","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","description":"TX ID of the transaction in mempool","example":"4c7846a8ff8415945e96937dea27bdb3144c15d793648d725602784826052586"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions from the Bitcoin mempool","tags":["Bitcoin"]}},"/v3/bitcoin/broadcast":{"post":{"description":"2 credits per API call
\nBroadcasts a signed transaction to the Bitcoin blockchain. This method is used internally from Tatum KMS or Tatum Client Libraries.\nIt is possible to create a custom signing mechanism and only use this method for broadcasting data to the blockchain.
\n","operationId":"BtcBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast a signed Bitcoin transaction","tags":["Bitcoin"]}},"/v3/bitcoin/node":{"post":{"description":"This endpoint is deprecated. Do not use it.
\nInstead, use this API.
2 credits per API call
\nUse this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.\nTo learn more about JSON RPC, visit the Bitcoin developers' guide.
\n","deprecated":true,"operationId":"BtcRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[],"items":{"type":"object"}}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"Connect to a Bitcoin node through an RPC driver","tags":["Bitcoin"]}},"/v3/blockchain/fee/{chain}":{"get":{"description":"1 credit per API call
\nGet the recommended fee/gas price for a blockchain.
\nFee is in satoshis(meaning currency(BTC, DOGE,... / 100 000 000) per byte\n
This API is supported for the following blockchains:
\n10 credits per API call
\nEstimate the current fee for different types of transactions.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a BNB Smart Chain transaction. The gas price is obtained from https://explorer.bitquery.io/bsc/gas.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"BscEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a BNB Smart Chain transaction","tags":["Blockchain fees"]}},"/v3/celo/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Celo transaction. The gas price is obtained from https://explorer.bitquery.io/celo_rc1/gas.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"CeloEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CeloTxBody"},{"$ref":"#/components/schemas/Error403CeloGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Celo transaction","tags":["Blockchain fees"]}},"/v3/egld/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for an Elrond transaction. The gas price is obtained from https://gateway.elrond.com/network/config. The gas limit is obtains from https://gateway.elrond.com/transaction/cost.
\n","operationId":"EgldEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFeeEgldBlockchain"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"number","description":"The estimated price for one gas unit","example":1000000000},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":77000}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EgldGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for an Elrond transaction","tags":["Blockchain fees"]}},"/v3/ethereum/gas":{"post":{"description":"10 credits per API call
\nGet an estimated gas price and the number of gas units needed for an Ethereum transaction. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
\nThe fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"EthEstimateGas","parameters":[{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthEstimateGas"}}},"required":true},"responses":{"200":{"headers":{"x-current-block":{"schema":{"type":"number"},"description":"Current block of the blockchain."},"x-current-block-time":{"schema":{"type":"string","format":"date-time","example":"2021-11-11T11:54:49.000Z"},"description":"Current block time."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthGasEstimation"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for an Ethereum transaction","tags":["Blockchain fees"]}},"/v3/ethereum/gas/batch":{"post":{"description":"10 credits per API call + 10 credits per each gas estimation
\nGet an estimated gas price and the number of gas units needed for multiple Ethereum transactions. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
\nThe estimations are returned in the same order as the transactions were submitted in the request.
\nThe fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making a transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n\n","operationId":"EthEstimateGasBatch","parameters":[{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthEstimateGasArray"}}},"required":true},"responses":{"200":{"headers":{"x-current-block":{"schema":{"type":"number"},"description":"Current block of the blockchain."},"x-current-block-time":{"schema":{"type":"string","format":"date-time","example":"2021-11-11T11:54:49.000Z"},"description":"Current block time."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthGasEstimationBatch"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for multiple Ethereum transactions","tags":["Blockchain fees"]}},"/v3/one/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Harmony transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"OneEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"21000"},"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in wei)","example":"10000000000"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate Harmony transaction fees","tags":["Blockchain fees"]}},"/v3/klaytn/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Klaytn transaction. The gas price is obtained from https://explorer.bitquery.io/klaytn/gas.
\nNOTE: The estimated gas price is returned in peb. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gpeb. Make sure to convert the estimated gas price from peb to Gpeb before submitting your transaction.
\n","operationId":"KlaytnEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in peb)","example":"20"},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"40000"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnTxBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Klaytn transaction","tags":["Blockchain fees"]}},"/v3/kcs/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a KuCoin Community Chain transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"KcsEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsTxBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a KuCoin Community Chain transaction","tags":["Blockchain fees"]}},"/v3/flare/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Flare transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"FlareEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareTxBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Flare transaction","tags":["Blockchain fees"]}},"/v3/cronos/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Cronos transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"CronosEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosTxBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Cronos transaction","tags":["Blockchain fees"]}},"/v3/base/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Base transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"BaseEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseTxBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Cronos transaction","tags":["Blockchain fees"]}},"/v3/polygon/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Polygon transaction. The gas price is obtained from https://gasstation-mainnet.matic.network/.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"PolygonEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonTxBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Polygon transaction","tags":["Blockchain fees"]}},"/v3/xdc/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a XinFin transaction. The gas price is obtained from https://rpc.xinfin.network/gasPrice.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"XdcEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a XinFin transaction","tags":["Blockchain fees"]}},"/v3/vet/transaction/gas":{"post":{"description":"5 credits per API call
\nGet an estimated amount of gas needed for a VeChain transaction.
\n","operationId":"VetEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":21000}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the gas needed for a VeChain transaction","tags":["Blockchain fees"]}},"/v3/blockchain/sc/address/{chain}/{hash}":{"get":{"description":"1 credit per API call
\nGet the blockchain address of a smart contract by the ID of its deployment transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nPrecalculate (generate) gas pump addresses that you can assign to the customers of your custodial application.
\nThis API does not make any changes on the blockchain itself, just generates addresses that follow the blockchain's requirements for the address format; therefore, no gas fee is applied.
\nThis API is supported for the following blockchains:
\nAddress index
\nEach address should be associated with its own index. Use the from
and to
request body parameters to set a range of index values for the addresses to precalculate. You can start with any number, but we recommend that you start from 0.
In one API call, you can precalculate:
\nIf you need more addresses than one API call can precalculate, make several API calls. For example, if you need 10,000 addresses on Ethereum, make an API call with an index range from 0 through 4,999 and then make another API call with an index range from 5,000 through 9,999.
\nThe order in which the precalculated addresses are returned in the API response is the order of the values in the index range, and the index values are assigned to the addresses accordingly.
For example, you precalculated three gas pump addresses with a range of index values from 3 to 5. The first address in the returned arrray is assigned the index value \"3\", the second one - \"4\", and the third one - \"5\".
\n[\n \"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea\", // index is 3\n \"0x5c6079c14e9cd3d2ea8cb76aed9c5e336ef96126\", // index is 4\n \"0xc5e336ef9612614e9cd3d2ea8cb76aed95c6079c\" // index is 5\n]\n\n
The owner of the gas pump addresses
\nThe owner (also referred to as \"master address\") is the blockchain address that will own the precalculated gas pump addresses. The owner will also be paying gas fees for operations made on the gas pump addresses. You have to make sure that the owner always has enough funds to cover these gas fees.
Activated and not activated addresses
\nThe precalculated addresses can be immediately assigned to customers and can receive funds. However, they cannot be used to send funds to other addresses. This is because the addresses are not activated. To make the addresses be able to send funds, activate them.
2 credits per API call
\nActivate the precalulated gas pump addresses. Activating a gas pump address allows this address to send funds to other addresses.
\nYou can activate up to 270 addresses in one call. If you need to activate more than 270 addresses, make several API calls. For example, if you need to activate 500 addresses, make an API call with 270 addresses (set up the range of their index values accordingly in the from
and to
request body parameters) and then make another API call with the remaining 230 addresses.
When to activate a gas pump address
\nBecause activating a gas pump address costs some amount of gas on a blockchain, you want to activate only those addresses that will be used for sending funds to other addresses. If you know that a gas pump address will not be used for sending funds, you can leave this address not activated. The customer who uses this address will still be able to receive funds.
Depending on your business needs and requirements, you can choose when to activate the gas pump addresses. If you know for sure that all the precalculated addresses will be sending funds, you can activate all the addresses right after they have been precalculated.
\nAlternatively, you can set up the activation in such a way so that a gas pump address gets activated only when a specific event is triggered. For example, you can activate a gas pump address:
\nAfter you make an API call to activate gas pump addresses, use the API for getting the results of the address activation transaction.
\nPaying the gas fee for activating gas pump addresses
\nYou can pay the gas fees for each activation transaction yourself, or Tatum can cover it for you.
ActivateGasPumpTatum
. For example, if you are activating gas pump addresses on Ethereum and you use KMS, use the ActivateGasPumpKMS
schema.\nActivateGasPumpTatum
schema of the request body.\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the results of the activation transaction after activating gas pump addresses.
\nIf the activation transaction got recorded into a block, the API returns two arrays:
\nvalid
, with the activated gas pump addressesinvalid
, with the gas pump addresses that for some reason did not get activated together with the reason whyIf the transaction is still being processed, the API returns an error message. In this case, repeat the call later.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nCheck whether the gas pump address with a specified index is activated and can send funds to other addresses.
\nYou can use this API when a customer initiates a fund transfer and you need to check whether their gas pump address is allowed to send funds.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nTransfer (send) an asset from a gas pump address to the other address.
\nThis operation is usually performed by users in your custodial application: a user who has a gas pump address assigned wants to transfer an asset to some address on the blockchain.
\nThe gas fee for sending the asset will be covered by crypto funds on the master address. Make sure that the master address always has enough funds to cover gas fees.
\nTo be able to send the asset:
\nWith this API, you can send only one asset per API call. If you want to send multiple assets, use the API for transferring multiple assets from a gas pump account.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferCustodialWallet","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCustodialWallet"},{"$ref":"#/components/schemas/TransferCustodialWalletKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletCelo"},{"$ref":"#/components/schemas/TransferCustodialWalletCeloKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletTron"},{"$ref":"#/components/schemas/TransferCustodialWalletTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer an asset from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/transfer/batch":{"post":{"description":"2 credits per API call
\nTransfer (send) multiple assets from a gas pump address to one or more addresses.
\nThis operation is usually performed by users in your custodial application: a user who has a gas pump address assigned wants to transfer multiple assets to one or more addresses on the blockchain.
\nThe gas fee for sending the assets will be covered by crypto funds on the master address. Make sure that the master address always has enough funds to cover gas fees.
\nTo be able to send the assets:
\nIf you want to send only one asset, you can also use the API for transferring an asset from a gas pump account.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring assets, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferCustodialWalletBatch","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCustodialWalletBatch"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchCelo"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchCeloKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchTron"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer multiple assets from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/approve":{"post":{"description":"2 credits per API call
\nAllow another blockchain address (the spender
parameter in the request body) to transfer the asset from a gas pump address on behalf of the master address.
Use this API when the customer using the gas pump address sells assets on a marketplace or auction. After the customer creates a listing of the asset, they have to allow the marketplace/auction smart contract to transfer the asset to the buyer after the asset has been bought.
\nThe asset can be one of the following types:
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen approving the transfer of an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"ApproveTransferCustodialWallet","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveTransferCustodialWallet"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletKMS"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletCelo"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Approve the transfer of an asset from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/batch":{"post":{"deprecated":true,"description":"This API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
2 credits per API call
\nGenerate new gas pump smart contract address on the blockchain. This address enables custodial providers to receive native assets, ERC20 / ERC721 / ERC1155 tokens on behalf of their customers on dedicated blockchain address, but in the same time it can initiate transfer of those assets away. Gas required for the transfer from that address is going to be deducted from the providers address - the one, which was used to generate the address on the blockchain.
\nThis operation deploys a smart contract on the blockchain.
\nFor paid plans, it is possible to pay for the gas costs - you don't have to provide private key or signatureId. Blockchain fees will be covered by your credits.
\nThis API is supported for the following blockchains:
\nThis API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
If you built your gas pump solution using this API and the API for generating a gas pump wallet address, you can still use this API for creating more custodial addresses for your solution. However, we recommend that you switch to the API for precalculating the gas pump addresses.
2 credits per API call
\nGenerate new gas pump smart contract address on the blockchain. It's possible to enable tokens, which should be detected and supported on that address. This address enables custodial providers to\nreceive native assets, ERC20 / ERC721 / ERC1155 tokens on behalf of their customers on dedicated blockchain address, but in the same time it can initiate transfer of those assets away.
\nGas required for the transfer from that address is going to be deducted from the providers address - the one, which was used to generate the address on the blockchain.
\nThere are multiple options, how this address can be setup - it cannot be changed in the future:
\nAll of these options could be enabled with a batch mode as well - in 1 transaction, it is possible to transfer multiple different assets from that address, e.g. ETH + USDC + ERC721 token.\nWithout batch mode, 3 separate transaction must have been performed.
\nThis operation deploys a smart contract on the blockchain. More assets you will support, more intial gas will be used for address creation. Batch mode adds more gas for every type.
\nThis API is supported for the following blockchains:
\nThis API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
If you built your gas pump solution using the API for generating a gas pump wallet address and API for generating a custodial wallet address, you can still use this API for getting the custodial wallet address from the transaction. However, we recommend that you switch to the API for precalculating the gas pump addresses.
1 credit per API call
\nGet gas pump smart contract addresses from deploy transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nDeploy an NFT marketplace smart contract on the blockchain. With a deployed marketplace smart contract, you and your customers can create new listings for assets such as non-fungible tokens and combinations of token types as described by the ERC-721 and ERC-1155 standards on the Ethereum blockchain or by the equivalent standards on the other blockchains. As the marketplace operator, you can set a fee as a percentage of the asset price that will be paid on top of the asset price.
\nThe purchase process looks like the following:
\nbuyAssetFromListing()
method is called against the marketplace smart contract) and send the required amount of the native assets to the marketplace smart contract.buyAssetFromListing()
method is called against the marketplace smart contract).This API is supported for the following blockchains:
\nSigning a transaction
\nWhen deploying an NFT marketplace smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"GenerateMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GenerateMarketplace"},{"$ref":"#/components/schemas/GenerateMarketplaceKMS"},{"$ref":"#/components/schemas/GenerateMarketplaceCelo"},{"$ref":"#/components/schemas/GenerateMarketplaceCeloKMS"},{"$ref":"#/components/schemas/GenerateMarketplaceSolana"},{"$ref":"#/components/schemas/GenerateMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SolanaMarketplaceTransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an NFT marketplace","tags":["Marketplace"]},"put":{"description":"2 credits per API call
\nUpdate an NFT marketplace on Solana.
\nYou can update it only if you are the marketplace operator.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen updating an NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateMarketplaceSolana"},{"$ref":"#/components/schemas/UpdateMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update an NFT marketplace on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/sell":{"post":{"description":"2 credits per API call
\nCreate a new listing for an asset on the NFT marketplace. The listing can be offered for the native blockchain assets (for example, ETH, MATIC, and so on) or for any fungible tokens.
\nAfter the listing is created, allow the marketplace smart contract to transfer the asset that you are selling.
\nYou can create a listing only for an existing asset that you own (you must be the owner of the asset).
\nThis API is supported for the following blockchains:
\nA known issue on Harmony
\nOn Harmony, when you are viewing a transaction in the Harmony Blockchain Explorer, the transaction status may be displayed as the following:
\nError reverted:x0
\nThis is a known issue with the Harmony Blockchain Explorer. This status does not mean that the transaction failed. You can safely ignore it.
The \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen creating a new listing on the NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"SellAssetOnMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SellAssetOnMarketplace"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/SolanaMarketplaceSellTransactionHash"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sell an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/buy":{"post":{"description":"2 credits per API call
\nBuy an asset listed on the NFT marketplace.
\nYou can buy the asset either for the native blockchain currency (for example, ETH, MATIC, and so on) or for the fungible tokens of the blockchain.
\namount
request body parameter).This API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen buying an asset on the NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BuyAssetOnMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BuyAssetOnMarketplace"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Buy an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/cancel":{"post":{"description":"2 credits per API call
\nCancel the selling of an asset on the NFT marketplace.
\nYou can cancel the selling only if you are the seller of the asset or the marketplace operator. Once the selling is canceled, the asset is returned to the seller.
\nYou cannot cancel the selling if the asset has already been purchased.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen cancelling the selling of an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CancelSellMarketplaceListing","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CancelSellAssetOnMarketplace"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel the selling of an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/{chain}/{contractAddress}/{type}":{"get":{"description":"1 credit per API call
\nGet the open, sold, or cancelled listings from the NFT marketplace.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet information about a specific listing on the NFT marketplace.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet information about an NFT marketplace on Solana.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\n","operationId":"GetMarketplaceInfo","parameters":[{"description":"Blockchain to work with","in":"path","name":"chain","required":true,"schema":{"type":"string","example":"SOL","enum":["SOL"]}},{"description":"Contract address","in":"path","name":"contractAddress","required":true,"schema":{"type":"string","example":"3MgkEwYY4b8iSX2yMLnbQ7n8KzNRKNAgTGJwVbEcKkUz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"feeAccount":{"maxLength":44,"minLength":32,"description":"Fee Account Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryAccount":{"maxLength":44,"minLength":32,"description":"Treasury Account Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"authority":{"maxLength":44,"minLength":32,"description":"Authority Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"creator":{"maxLength":44,"minLength":32,"description":"Creator Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"If set to \"true\", the marketplace must sign all operations related to the listings and sales.","example":true,"type":"boolean"},"canChangeSalePrice":{"description":"If set to \"true\", the marketplace can change the sale price that the seller intentionally set to 0.","example":true,"type":"boolean"}},"required":["feeAccount","treasuryAccount","treasuryWithdrawalDestination","feeWithdrawalDestination","treasuryMint","authority","creator","marketplaceFee","requiresSignOff","canChangeSalePrice"]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get information about an NFT marketplace on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/{chain}/{contractAddress}/fee":{"get":{"description":"1 credit per API call
\nGet the NFT marketplace fee.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the recipient of the NFT marketplace fee.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nUpdate the recipient of the NFT marketplace fee.
\nYou can update the fee recipient only if you are the marketplace operator.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the recipient of the NFT marketplace fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateFeeRecipient","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeRecipient"},{"$ref":"#/components/schemas/UpdateFeeRecipientKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientCelo"},{"$ref":"#/components/schemas/UpdateFeeRecipientCeloKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientSolana"},{"$ref":"#/components/schemas/UpdateFeeRecipientSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the recipient of the NFT marketplace fee","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/fee":{"put":{"description":"2 credits per API call
\nUpdate the NFT marketplace fee.
\nYou can update the marketplace fee only if you are the marketplace operator.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the NFT marketplace fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateFee","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFee"},{"$ref":"#/components/schemas/UpdateFeeKMS"},{"$ref":"#/components/schemas/UpdateFeeCelo"},{"$ref":"#/components/schemas/UpdateFeeCeloKMS"},{"$ref":"#/components/schemas/UpdateFeeSolana"},{"$ref":"#/components/schemas/UpdateFeeSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the NFT marketplace fee","tags":["Marketplace"]}},"/v3/blockchain/marketplace/withdraw/fee":{"post":{"description":"2 credits per API call
\nWithdraw funds from the NFT marketplace fee account on Solana.
\nYou can withdraw the funds only if you are the marketplace fee recipient.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen withdrawing the funds, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"WithdrawFeeFromMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolana"},{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Withdraw funds from the marketplace fee account on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/withdraw/treasury":{"post":{"description":"2 credits per API call
\nWithdraw funds from the NFT marketplace treasury account on Solana.
\nYou can withdraw the funds only if you are the marketplace fee recipient.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen withdrawing the funds, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"WithdrawTreasuryFromMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolana"},{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Withdraw funds from the marketplace treasury account on Solana","tags":["Marketplace"]}},"/v3/blockchain/auction":{"post":{"description":"2 credits per API call
\nDeploy new smart contract for NFT auction logic. Smart contract enables auction operator to create new auction for NFT (ERC-721/1155).\nOperator can set a fee in percentage, which will be paid on top of the price of the asset.\ncan be offered for native asset - ETH, BSC, etc. - or any ERC20 token - this is configurable during auction creation.\nBefore auction is created, seller must approve transfer of the NFT to the auction contract.\nBuyer will bid for the asset from the auction using native asset - send assets along the gid() smart contract call, or via ERC20 token.\nBuyer of the auction must perform approval for the smart contract to access ERC20 token, before the actual bid() method is called.\nOnce there is higher bid then the actual one, the previous bidder's funds will be returned to him and new bidder will be the current winning one.\nWhen auction ends, anyone can settle the auction - NFT will be sent to the bidder, assets to the seller and fee to the operator.
\nThis operation deploys a smart contract on the blockchain.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen creating an NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"GenerateAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GenerateAuction"},{"$ref":"#/components/schemas/GenerateAuctionKMS"},{"$ref":"#/components/schemas/GenerateAuctionCelo"},{"$ref":"#/components/schemas/GenerateAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/sell":{"post":{"description":"2 credits per API call
\nCreate new auction on the auction contract. Before operation, seller must approve spending of the NFT token for the Auction contract using Approve NFT.\nAfter auction is created, auction contract transfers the asset to the auction smart contract.\nOnly auction for existing NFTs can be created - seller must be owner of the NFT asset.
\nThis API is supported for the following blockchains:
\nA known issue on Harmony
\nOn Harmony, when you are viewing a transaction in the Harmony Blockchain Explorer, the transaction status may be displayed as the following:
\nError reverted:x0
\nThis is a known issue with the Harmony Blockchain Explorer. This status does not mean that the transaction failed. You can safely ignore it.
Signing a transaction
\nWhen selling an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CreateAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateAuction"},{"$ref":"#/components/schemas/CreateAuctionKMS"},{"$ref":"#/components/schemas/CreateAuctionCelo"},{"$ref":"#/components/schemas/CreateAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sell an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/bid":{"post":{"description":"2 credits per API call
\nBid for an asset listed on the NFT auction.
\nYou can buy the asset either for the native blockchain assets (for example, ETH, BSC, and so on) or for the fungible tokens of the blockchain.
\nAfter you have purchased the asset, it is in a pending state until the auction is settled. Settling the auction means that the asset is transferred to the buyer, the amount is transferred to the seller, and the fee is transferred to the fee recipient of the auction.
\nFor the complete information about how the bidding/purchase process at an auction works, see the API for creating an NFT auction.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen bidding for an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BidOnAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BidOnAuction"},{"$ref":"#/components/schemas/BidOnAuctionKMS"},{"$ref":"#/components/schemas/BidOnAuctionCelo"},{"$ref":"#/components/schemas/BidOnAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Bid for an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/settle":{"post":{"description":"2 credits per API call
\nSettle an auction once it has ended and there is a buyer of the asset at this auction. Settling the auction means that the asset is transferred to the buyer, the amount is transferred to the seller, and the fee is transferred to the fee recipient of the auction.
Both seller and buyer can settle the auction.
This API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen settling the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"SettleAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SettleAuction"},{"$ref":"#/components/schemas/SettleAuctionKMS"},{"$ref":"#/components/schemas/SettleAuctionCelo"},{"$ref":"#/components/schemas/SettleAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Settle an NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/cancel":{"post":{"description":"2 credits per API call
\nCancel the selling of an asset at the NFT auction.
\nYou can cancel the selling only if you are the seller of the asset or the auction operator. Once the selling is canceled, the asset is returned to the seller.
\nYou cannot cancel the selling if the asset has already been purchased.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen cancelling the selling of an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CancelAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CancelAuction"},{"$ref":"#/components/schemas/CancelAuctionKMS"},{"$ref":"#/components/schemas/CancelAuctionCelo"},{"$ref":"#/components/schemas/CancelAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel the selling of an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/approve":{"post":{"description":"2 credits per API call
\nAllow the NFT auction/marketplace smart contract to transfer the asset (NFT or Multi Token) that is listed for selling.
The auction/marketplace smart contract will transfer the asset to the buyer after the asset is purchased.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing the NFT auction/marketplace smart contract to transfer the asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"ApproveNftAuctionSpending","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveNftSpending"},{"$ref":"#/components/schemas/ApproveNftSpendingKMS"},{"$ref":"#/components/schemas/ApproveNftSpendingCelo"},{"$ref":"#/components/schemas/ApproveNftSpendingCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Allow the NFT auction or marketplace to transfer an asset","tags":["Auction"]}},"/v3/blockchain/auction/{chain}/{contractAddress}/{id}":{"get":{"description":"1 credit per API call
\nGet information about a specific auctioned asset at the NFT auction.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the NFT auction fee.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the recipient of the NFT auction fee.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nUpdate the recipient of the NFT auction fee.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the recipient of the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateAuctionFeeRecipient","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeRecipient"},{"$ref":"#/components/schemas/UpdateFeeRecipientKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientCelo"},{"$ref":"#/components/schemas/UpdateFeeRecipientCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the recipient of the NFT auction fee","tags":["Auction"]}},"/v3/blockchain/auction/fee":{"put":{"description":"2 credits per API call
\nUpdate the NFT auction fee.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the NFT auction fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateAuctionFee","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeAuction"},{"$ref":"#/components/schemas/UpdateFeeAuctionKMS"},{"$ref":"#/components/schemas/UpdateFeeAuctionCelo"},{"$ref":"#/components/schemas/UpdateFeeAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the NFT auction fee","tags":["Auction"]}},"/v3/blockchain/auction/time/{chain}/{date}":{"get":{"description":"1 credit per API call
\nGet an estimated block height (number) for some future point in time.
\nNote that this API returnes an estimation of what the block height might be and not the exact block height.
\nThis API is supported for the following blockchains:
\nThe number of credits consumed depends on the number of methods submitted in an API call:
\n* 50 credits per debug*/trace* method (for EVM-based blockchains)
\n* 50 credits per EOS Trace API methods
\n* 5 credits per eth_call method (for EVM-based blockchains)
\n* 2 credits per any other RPC method
Connect directly to the blockchain node provided by Tatum.
\nThe POST
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
In the request body, provide valid Web3 RPC method content, for example:
\n\n{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_name\",\n \"params\": []\n}\n\n
For the blockchains using the JSON-RPC 2.0 specification, you can submit multiple RPC methods in one API call:
\n\n[\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_1_name\",\n \"params\": []\n },\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"method_2_name\",\n \"params\": []\n },\n ...\n]\n\n
This API is supported for the following blockchains:
\n2 credits per RPC method in an API call
\nConnect directly to the blockchain node provided by Tatum.
\nThe PUT
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
In the request body, provide valid Web3 RPC method content, for example:
\n\n{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_name\",\n \"params\": []\n}\n\n
For the blockchains using the JSON-RPC 2.0 specification, you can submit multiple RPC methods in one API call:
\n\n[\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_1_name\",\n \"params\": []\n },\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"method_2_name\",\n \"params\": []\n },\n ...\n]\n\n
This API is supported for the following blockchains:
\n2 credits per RPC method in an API call
\nConnect directly to the blockchain node provided by Tatum.
\nThe GET
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
This API is supported for the following blockchains:
\n\n","operationId":"NodeJsonRpcGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization. You can omit this path parameter and either use the X-Api-Key header, or the API key tied to your IP address without any header.","in":"path","name":"xApiKey","required":false,"schema":{"type":"string","example":"ea8ce228-6ca3-465c-abb0-fd3c5d35c0d5"}},{"description":"Blockchain to communicate with.","in":"path","name":"chain","required":true,"schema":{"$ref":"#/components/schemas/NodeRpcGetChains"}},{"description":"Optional path of rpc call for non EVM nodes, e.g. Algorand or Stellar.","in":"path","name":"rpcPath","required":false,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"A valid RPC response","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC error response."}}},"description":"Internal server error"}},"x-codeSamples":[],"summary":"Connect to the blockchain node through an RPC driver","tags":["Node RPC"]}},"/v3/ethereum/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Ethereum wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Ethereum wallet.
\n","operationId":"EthGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum wallet","tags":["Ethereum"]}},"/v3/ethereum/address/{xpub}/{index}":{"get":{"description":"Generates an Ethereum account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"EthGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressEth"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum account address from Extended public key","tags":["Ethereum"]}},"/v3/ethereum/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"EthGenerateAddressPrivateKey","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum private key","tags":["Ethereum"]}},"/v3/ethereum/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Ethereum node provided by Tatum.\nTo learn more about Ethereum Web3, visit the Ethereum developers' guide.
\n","operationId":"EthWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Ethereum"]}},"/v3/ethereum/block/current":{"get":{"description":"Gets the current Ethereum block number. This is the number of the latest block in the blockchain.
","operationId":"EthGetCurrentBlock","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Ethereum"]}},"/v3/ethereum/block/{hash}":{"get":{"description":"Gets an Ethereum block-by-block hash or block number.
","operationId":"EthGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum block by hash","tags":["Ethereum"]}},"/v3/ethereum/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of ETH of an Ethereum account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"EthGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the ETH balance of an Ethereum account","tags":["Ethereum"]}},"/v3/ethereum/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Ethereum transaction by transaction hash.
\n","operationId":"EthGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum Transaction","tags":["Ethereum"]}},"/v3/ethereum/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Ethereum transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"EthGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Ethereum transactions","tags":["Ethereum"]}},"/v3/ethereum/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\nGet Ethereum transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"EthGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":1,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":1,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}},{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EthTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum transactions by address","tags":["Ethereum"]}},"/v3/ethereum/transaction":{"post":{"description":"2 credits per API call
\nSend ETH or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending ETH, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthBlockchainTransfer","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferEthBlockchain"},{"$ref":"#/components/schemas/TransferEthBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ETH or fungible tokens (ERC-20) from account to account","tags":["Ethereum"]}},"/v3/ethereum/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Ethereum.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthBlockchainSmartContractInvocation","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallEthSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthScBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Ethereum","tags":["Ethereum"]}},"/v3/ethereum/account/transaction/internal/{address}":{"get":{"description":"Get Ethereum internal transactions by address.
2 credits per API call
\nBroadcast signed transaction to Ethereum blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"EthBroadcast","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403EthBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Ethereum transaction","tags":["Ethereum"]}},"/v3/kms/pending/{chain}":{"get":{"description":"1 credit per API call
\nGet the list of pending transactions to sign and broadcast using KMS.
\n","operationId":"GetPendingTransactionsToSign","parameters":[{"description":"Blockchain to get pending transactions for.","in":"path","name":"chain","required":true,"schema":{"type":"string","maxLength":24,"minLength":24,"enum":["ADA","BNB","BTC","ETH","XLM","XRP","BCH","LTC","DOGE","VET","BSC","MATIC","CELO","FLOW","TRON","ONE","XDC","EGLD","KLAY","SOL"]}},{"description":"Signature IDs of the KMS which invokes this endpoint. If multiple, they should be separated by comma.","in":"query","name":"signatures","required":false,"schema":{"type":"string","example":"6d78dad2-518f-4e76-8255-8f1df0de6884,6d78dad2-518f-4e76-8255-8f1df0de6885,6d78dad2-518f-4e76-8255-8f1df0de6886"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingTransaction"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get pending transactions to sign","tags":["Key Management System"]},"post":{"description":"1 credit for every 500 signature IDs per API call
\nGet the list of pending transactions to sign and broadcast using KMS.
\nNOTE: This API works only in KMS v5.0 or later. If you use KMS older than v5.0, use this API instead.
\n","operationId":"ReceivePendingTransactionsToSign","parameters":[{"description":"Blockchain to get pending transactions for.","in":"path","name":"chain","required":true,"schema":{"type":"string","maxLength":24,"minLength":24,"enum":["ADA","BNB","BTC","ETH","XLM","XRP","BCH","LTC","DOGE","VET","BSC","MATIC","CELO","FLOW","TRON","ONE","XDC","EGLD","KLAY","SOL"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KmsSignatureIds"}}},"required":false,"description":"Signature IDs of the KMS which invokes this endpoint."},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingTransaction"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get pending transactions to sign","tags":["Key Management System"]}},"/v3/kms/{id}/{txId}":{"put":{"description":"Mark pending transaction to sign as a complete and update it with a transactionID from the blockchain.
\n","operationId":"CompletePendingSignature","parameters":[{"description":"ID of pending transaction","in":"path","name":"id","required":true,"schema":{"type":"string","example":"f91827364f91827364ajdur7","maxLength":24,"minLength":24}},{"description":"transaction ID of blockchain transaction","in":"path","name":"txId","required":true,"schema":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326","maxLength":80,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Complete pending transaction to sign","tags":["Key Management System"]}},"/v3/kms/{id}":{"get":{"description":"Get detail of transaction to be signed / that was already signed and contains transactionId.
","operationId":"GetPendingTransactionToSign","parameters":[{"description":"ID of transaction","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":24,"minLength":24}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingTransaction"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KMSNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transaction details","tags":["Key Management System"]},"delete":{"description":"Delete transaction to be signed. When deleting offchain transaction, linked withdrawal will be cancelled automatically.
","operationId":"DeletePendingTransactionToSign","parameters":[{"description":"ID of transaction","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":24,"minLength":24}},{"description":"Defines whether fee should be reverted to account balance as well as amount. Defaults to true. Revert true would be typically used when withdrawal was not broadcast to blockchain. False is used usually for Ethereum ERC20 based currencies.","in":"query","name":"revert","required":false,"schema":{"default":true,"example":true,"type":"boolean"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KMSNotExists"},{"$ref":"#/components/schemas/Error403WithdrawalNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Delete transaction","tags":["Key Management System"]}},"/v3/security/address/{address}":{"get":{"description":"Check, if the blockchain address is malicous. Malicous address can contain assets from the DarkWeb, is connected to the scam projects or contains stolen funds.
Supported Chains: ETH, BTC, LTC
\n","operationId":"CheckMalicousAddress","parameters":[{"description":"Blockchain Address to check","in":"path","name":"address","required":true,"schema":{"example":"0x002Bf459dC58584D58886169EA0E80f3Ca95FFAF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Whether address is malicous or not","example":"valid","enum":["valid","invalid"]}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Check malicous address","tags":["Malicious address"]}},"/v3/ledger/customer":{"get":{"description":"List of all customers. Also inactive an disabled customers are present.
\n","operationId":"findAllCustomers","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Customer"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all customers","tags":["Customer"]}},"/v3/ledger/customer/{id}":{"get":{"description":"Using anonymized external ID or internal customer ID you can access customer detail information. Internal ID is needed to call other customer related methods.
","operationId":"getCustomerByExternalOrInternalId","parameters":[{"description":"Customer external or internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":100,"minLength":1}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CustomerNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get customer details","tags":["Customer"]},"put":{"description":"This method is helpful in case your primary system will change ID's or customer will change the country he/she is supposed to be in compliance with.
","operationId":"updateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/activate":{"put":{"description":"Activated customer is able to do any operation.
","operationId":"activateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"},{"$ref":"#/components/schemas/Error403CustomerActive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Activate customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/deactivate":{"put":{"description":"Deactivate customer is not able to do any operation. Customer can be deactivated only when all their accounts are already deactivated.
","operationId":"deactivateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerDeactivateActiveAccounts"},{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deactivate customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/enable":{"put":{"description":"Enabled customer can perform all operations. By default all customers are enabled. All previously blocked account balances will be unblocked.
","operationId":"enableCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerEnabled"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Enable customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/disable":{"put":{"description":"Disabled customer cannot perform end-user operations, such as create new accounts or send transactions. Available balance on all accounts is set to 0. Account balance will stay untouched.
","operationId":"disableCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerDisabled"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Disable customer","tags":["Customer"]}},"/v3/ledger/virtualCurrency":{"post":{"description":"2 credits per API call
\nCreate new virtual currency with given supply stored in account. This will create Tatum internal virtual currency. Every virtual currency must be prefixed with VC_.
\nEvery virtual currency must be pegged to existing FIAT or supported cryptocurrency. 1 unit of virtual currency has then the same amount as 1 unit of the base currency it is pegged to. It is possible to set a custom base rate for the virtual currency. (baseRate = 2 => 1 VC unit = 2 basePair units)
\nTatum virtual currency acts as any other asset within Tatum. To create a fungible token, see the API for deploying a fungible token smart contract.
\nThis operation returns the newly created Tatum Ledger account with an initial balance set to the virtual currency's total supply. Total supply can be changed in the future.
\nDigital assets:
\n0x2791bca1f2de4661ed88a30c99a7a9449aa84174
on Polygon mainnet.0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
on Polygon mainnet.Change base pair and/or base rate of existing virtual currency.
","operationId":"updateCurrency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualCurrencyUpdate"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCNotFound"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/{name}":{"get":{"description":"1 credit per API call
\nGet detail of virtual currency.
\n","operationId":"getCurrency","parameters":[{"in":"path","name":"name","required":true,"schema":{"maxLength":100,"minLength":3,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VC"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403VCNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/mint":{"put":{"description":"2 credits per API call
\nCreate new supply of virtual currency linked on the given accountId. Method increases the total supply of the currency.
\nThis method creates Ledger transaction with operationType MINT with undefined counterAccountId.
\n","operationId":"mintCurrency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualCurrencyOperation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403VCNoAccount"},{"$ref":"#/components/schemas/Error403VCTxFailed"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403AccountNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create new supply of virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/revoke":{"put":{"description":"Destroy supply of virtual currency linked on the given accountId. Method decreases the total supply of the currency.
\nThis method creates Ledger transaction with operationType REVOKE with undefined counterAccountId.
Store new buy / sell trade. If there is trade already available to fill, fill as much trades as possible.
\nIt is possible to charge fees for the trades. Fees are an extra amount on top of the trade amount and are paid in the currency that you going to block\ne.g.:\n- BUY BTC/USDT - fees will be paid in USDT\n- SELL BTC/ETH - fees will be paid in BTC\n
\nIf you fill type of the trade with FUTURE_BUY or FUTURE_SELL the trade will behave as a trade future. The trade is concluded now but will be fulfilled in future.\nThe date of fulfillment is by the “Seal Date” field. You can also block a percentage of the amount until the future trade has expired.\n
\nFutures can also penalize contracting parties if they don’t have the agreed balance available in their accounts.\nThe penalty is calculated in the following way: Penalty amount = (Percentage of incomplete deal amount because of shortage from user) × (Maximum Penalty percentage of futures deal based on blocked amount and time interval) × (total blocked value).\n
\nExample of the BTC/USDT trade future:
\nThe maker creates a sell with the following properties: 1 BTC at a price of 60000 USDT, with a blocking percentage of 22%, a penalty percentage of 45%, a system commision of 1% and with an expiration time of within 12 hours.
\n\n{\n \"type\": \"FUTURE_SELL\",\n \"price\": \"60000\",\n \"amount\": \"1\",\n \"pair\": \"BTC/USDT\",\n \"currency1AccountId\": \"60a236db1b57f60d62612bf3\",\n \"currency2AccountId\": \"609d0696bf835c241ac2920f\",\n \"fee\": 1,\n \"feeAccountId\": \"609d0696bf835c251ac2920a\",\n \"attr\": {\n \"sealDate\": 1621990960631,\n \"percentBlock\": 22,\n \"percentPenalty\": 45\n }\n}\n\n\nThe taker accepts the offer with a buy and blocks 13200 USDT (60000 USDT × 0.22) in their account.\n
\n{\n \"type\": \"FUTURE_BUY\",\n \"price\": \"60000\",\n \"amount\": \"1\",\n \"pair\": \"BTC/USDT\",\n \"currency1AccountId\": \"60a236db1b57f60d62612bf2\",\n \"currency2AccountId\": \"609d0696bf835c241ac2920a\",\n \"attr\": {\n \"sealDate\": 1621990960631,\n \"percentBlock\": 22,\n \"percentPenalty\": 45\n }\n}\n\n
At the time of the trade, the maker and taker have the following conditions.\nThe maker has 0.65 BTC (35% deficit) in their account and the taker has 49200 USDT (18% deficit) in their account.\n
\n\n\nThe maker penalty is equal to 0.35 × 0.22 × (0.45 × 1 BTC) = 0.03465 BTC.\nThe taker penalty is equal to 0.18 × 0.22 × (0.45 × 60000 USDT) = 1069.2 USDT.\n
\n\nThe system commission for the maker is 1 BTC × 1% = 0.01 BTC.\nThe system commission for the taker is 60000 USDT × 1% = 600 USDT.\n
\n\nThe maker’s assets after deducting penalties and commissions equals 0.65 - 0.03465 - 0.01 = 0.60535 BTC. The taker’s assets after deducting penalties and commissions equals 49200 - 1069.2 - 600 = 47530.8 USDT.\n
\n\nThe amount received by the maker after the trade is (0.60535 × 60000) + 1069.2 = 37390.2 USDT and the taker receives 0.60535 + 0.03465 = 0.64 BTC.\n
\n","operationId":"storeTrade","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTrade"},{"$ref":"#/components/schemas/CreateFutureTrade"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Id"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountCurrencyVC"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403OrderCurrency1NotFound"},{"$ref":"#/components/schemas/Error403OrderCurrency1Frozen"},{"$ref":"#/components/schemas/Error403OrderFeeNotFound"},{"$ref":"#/components/schemas/Error403OrderFeeIncompatible"},{"$ref":"#/components/schemas/Error403OrderCurrency1CustomerDisabled"},{"$ref":"#/components/schemas/Error403OrderCurrency2NotFound"},{"$ref":"#/components/schemas/Error403OrderCurrency2Frozen"},{"$ref":"#/components/schemas/Error403OrderCurrency2CustomerDisabled"},{"$ref":"#/components/schemas/Error403OrderCurrency1Pair"},{"$ref":"#/components/schemas/Error403OrderCurrency2Pair"},{"$ref":"#/components/schemas/Error403OrderCurrency1Balance"},{"$ref":"#/components/schemas/Error403OrderCurrency2Balance"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store buy / sell trade","tags":["Order Book"]}},"/v3/trade/chart":{"post":{"description":"Obtain data from the closed trades for entering in the chart. Time interval is set between from and to and there is defined time frame. There can be obtained at most 200 time points in the time interval.
\n","operationId":"chartRequest","parameters":[{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Chart"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Obtain chart data from historical closed trades","tags":["Order Book"]}},"/v3/trade/history":{"get":{"deprecated":true,"description":"List all historical trades. It is possible to list all trades, trades for specific trading pair and/or account.
","operationId":"getHistoricalTrades","parameters":[{"description":"Account ID. If present, only closed trades for given account will be present.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Trade pair. If present, only closed trades on given trade pair will be present.","in":"query","name":"pair","required":false,"schema":{"type":"string","example":"BTC/ETH","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade types.","in":"query","name":"types","required":false,"schema":{"type":"array","items":{"type":"string","example":"BUY","enum":["FUTURE_BUY","FUTURE_SELL","BUY","SELL"]}}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all historical trades","tags":["Order Book"]},"post":{"description":"List all historical trades. It is possible to list all trades, trades for specific trading pair and/or account.
","operationId":"getHistoricalTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookHistoryBody"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all historical trades","tags":["Order Book"]}},"/v3/trade/buy":{"get":{"description":"List all active buy trades.
","operationId":"getBuyTrades","deprecated":true,"parameters":[{"description":"Account ID. If present, list current active buy trades for that account.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Customer ID. If present, list current active buy trades for that customer.","in":"query","name":"customerId","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Trade pair. If present, list current active buy trades for that pair.","in":"query","name":"pair","schema":{"type":"string","example":"BTC/EUR","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade type.","in":"query","name":"tradeType","example":"BUY","required":false,"schema":{"type":"string","enum":["FUTURE_BUY","BUY"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active buy trades","tags":["Order Book"]},"post":{"description":"List all active buy trades.
","operationId":"getBuyTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookActiveBuyBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active buy trades","tags":["Order Book"]}},"/v3/trade/sell":{"get":{"description":"List all active sell trades.
","operationId":"getSellTrades","deprecated":true,"parameters":[{"description":"Account ID. If present, list current active sell trades for that account.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Customer ID. If present, list current active buy trades for that customer.","in":"query","name":"customerId","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Trade pair. If present, list current active sell trades for that pair.","in":"query","name":"pair","schema":{"type":"string","example":"BTC/EUR","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade type.","in":"query","name":"tradeType","example":"SELL","required":false,"schema":{"type":"string","enum":["FUTURE_SELL","SELL"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active sell trades","tags":["Order Book"]},"post":{"description":"List all active sell trades.
","operationId":"getSellTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookActiveSellBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active sell trades","tags":["Order Book"]}},"/v3/trade/matched":{"post":{"description":"List all matched orders from the FUTURE_BUY OR FUTURE_SELL orders.
","operationId":"getMatchedTrades","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookMatchedBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all matched orders from FUTURE_SELL/FUTURE_BUY trades","tags":["Order Book"]}},"/v3/trade/{id}":{"get":{"description":"Get existing opened trade.
","parameters":[{"description":"Trade ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"getTradeById","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Trade"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get existing trade","tags":["Order Book"]},"delete":{"description":"Cancel existing trade.
","parameters":[{"description":"Trade ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteTrade","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel existing trade","tags":["Order Book"]}},"/v3/trade/account/{id}":{"delete":{"description":"Cancel all trades for account.
","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteAccountTrades","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel all existing trades for account","tags":["Order Book"]}},"/v3/subscription":{"post":{"description":"2 credits per API call + credits spent on subscriptions themselves
\nEach subscription type consumes a different number of credits.
For Free plans, there is a monthly limit of sent webhooks, which is 1000.
\nIf the webhook is sent unsuccessfully, it will be retried. The number of retries depends on the plan.
\nCreate a subscription as an HTTP web hook.
\nThe following subscription types are available:
\nChain | \nTestnet/Mainnet | \nToken assets support | \nPlan limitation | \nCredit consumption / day / address | \n
---|---|---|---|---|
Solana | \nYes/Yes | \nSOL, SPL and NFTs | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n50 credits / day / address | \n
Ethereum | \nYes (Sepolia, Holesky)/Yes | \nETH, Internal transfers, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Polygon | \nYes/Yes | \nMATIC, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n40 credits / day / address | \n
Celo | \nYes/Yes | \nCELO, Internal transfers, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Klaytn | \nYes/Yes | \nKlay, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Flare | \nYes (Coston, Coston 2, SongBird)/Yes | \nFLR, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Bitcoin | \nYes/Yes | \nBTC | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n5 credits / day / address | \n
Litecoin | \nYes/Yes | \nLTC | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n7 credits / day / address | \n
Bitcoin Cash | \nYes/Yes | \nBCH, only incoming transactions | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n5 credits / day / address | \n
Dogecoin | \nYes/Yes | \nDOGE, only incoming transactions | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n7 credits / day / address | \n
Tron | \nYes/Yes | \nTron, TRC10/TRC20 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n30 credits / day / address | \n
Binance Smart Chain | \nYes/Yes | \nBSC, BEP20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n40 credits / day / address | \n
Cronos | \nYes/Yes | \nCRO, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Base | \nYes/Yes | \nBASE, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
{\n \"address\": \"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ\", // the address on which the transaction occurs; for EVM-based chains, this is the sender's address\n \"txId\": \"2rdy3YCZHSwvpWtuDom1d4Jjy5UU9STLxF3ffXau6GToReDkfw8wEgX541fvzvh6btVC5D8iNapcKTXfPsoDBk7A\", // the transaction ID\n \"blockNumber\": 110827114, // the block number; does not appear if the transaction is in the mempool (for EVM-based blockchains)\n \"asset\": \"3gUeeR3BfVhukYJMwtHownRtRkGcf1bvwiV8TbKMZBVz\", // the asset of the transaction: for token assets, this is the token address; for native blochckain assets, this is the name of the asset (for example, SOL)\n \"amount\": \"1\", // the amount of the asset that was credited to (+) or debited from (-) the address; for EVM-based chains, when \"counterAddress\" is present, the amount is always positive\n \"tokenId\": \"1\", // (ERC-721 / ERC-1155 only) the ID of the transferred token\n \"type\": \"token\", // the type of the transaction; can be either \"native\" or \"token\"\n \"mempool\": true, // (EVM-based blockchains only) if appears and set to \"true\", the transaction is in the mempool; if set to \"false\" or does not appear at all, the transaction has been added to a block\n \"counterAddress\": undefined // an optional counter party address of the transaction; for EVM-based blockchains, this is the recipient's address\n \"addressesRiskRatio\": [ // (optional, subject to change; for Solana mainnet only) risk levels assigned to the addresses with which the address communicated within the transaction; the addresses are assessed using the AML/CFT solution by blockmate.io, see https://docs.blockmate.io/docs/risk-API/sources\n {\"vTEfAhXTmvgFmepgfhzBbRrJ4EtUP9adbMJjpzLsDMk\": 0},\n {\"zBbRrJ4EtUP9adbMJjpzLsDMkvTEfAhXTmvgFmepgfh\": 100}\n ]\n}\n5 credits are debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n500,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n500,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n500,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n500,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n500,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n500,000 credits / day | \n
Cronos | \ncronos-mainnet / cronos-testnet | \n500,000 credits / day | \n
Base | \nbase-mainnet / base-sepolia | \n500,000 credits / day | \n
{\n \"events\": [\n {\n \"timestamp\": 1661961758000,\n \"from\": \"0x0000000000000000000000000000000000000000\",\n \"to\": \"0xfa4e7035b34294407e5df1603215983d65e5a773\",\n \"tokenId\": \"14671\",\n \"txId\": \"0x916fcf878656f7a3772317697e6d2740ac8b1b7dbe6d029aa79592fd72f3fb0b\",\n \"contractAddress\": \"0x55a2430e32dcebc3649120f26f917d1f0686f74c\",\n \"type\": \"erc721\",\n \"amount\": \"1\",\n \"logIndex\": 578,\n \"metadataURI\": \"https://graphigo.prd.galaxy.eco/metadata/0x55a2430e32dcebc3649120f26f917d1f0686f74c/14671.json\"\n }\n ],\n \"blockNumber\": 32522207,\n \"chain\": \"polygon-mainnet\",\n \"subscriptionType\": \"CONTRACT_NFT_TXS_PER_BLOCK\"\n }\n1 credit is debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n500,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n500,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n500,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n500,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n500,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n500,000 credits / day | \n
Cronos | \ncronos-mainnet / cronos-testnet | \n500,000 credits / day | \n
Base | \nbase-mainnet / base-testnet | \n500,000 credits / day | \n
{\n \"events\": [\n {\n \"timestamp\": 1661961758000,\n \"from\": \"0x85bd970cf0e49acd572f9c2d608713bc55b5ee0e\",\n \"to\": \"0x9ab31230d5413e4af01af9bb697651a3c70c95c9\",\n \"tokenId\": \"1450000023306\",\n \"txId\": \"0x565b9ca6b7b5ff1b1ce0725acd785dbf5ff0930d5ff547bad044c0960291555f\",\n \"contractAddress\": \"0xdb6290f355a528a7284bdd528b05a78fb05226ca\",\n \"type\": \"erc1155\",\n \"amount\": \"1\",\n \"logIndex\": 571,\n \"metadataURI\": \"https://touhao.bj.bcebos.com/nft/metadata/1450000023306.json\"\n }\n ],\n \"blockNumber\": 32522207,\n \"chain\": \"polygon-mainnet\",\n \"subscriptionType\": \"CONTRACT_MULTITOKEN_TXS_PER_BLOCK\"\n}\n1 credit is debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n50,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n50,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n50,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n50,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n500,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n50,000 credits / day | \n
Cronos | \ncronos-mainnet | \n50,000 credits / day | \n
Base | \nbase-mainnet | \n50,000 credits / day | \n
{\n \"events\": [\n {\n \"txId\": \"0xc98307f09ed527d5cff8305e8f65226b790e3317ded10b9e58f6f07286dcf8f1\",\n \"logIndex\": 326,\n \"timestamp\": 1661774265000,\n \"address\": \"0xc2132d05d31c914a87c6611c10748aeb04b58e8f\",\n \"topic_0\": \"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\n \"topic_1\": \"0x000000000000000000000000a91ab7d77892a559d2a95baaf1d748fc97c65d29\",\n \"topic_2\": \"0x0000000000000000000000009b08288c3be4f62bbf8d1c20ac9c5e6f9467d8b7\",\n \"topic_3\": null,\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000002c9e3e4\"\n }\n ],\n \"blockNumber\": 32447538,\n \"chain\": \"polygon-amoy\",\n \"subscriptionType\": \"CONTRACT_LOG_EVENT\"\n}\n1 credit is debited for each fired web hook.
{\n \"date\": 1619176527481,\n \"amount\": \"0.005\",\n \"currency\": \"BTC\",\n \"subscriptionType\":\"ACCOUNT_INCOMING_BLOCKCHAIN_TRANSACTION\",\n \"accountId\": \"6082ab462936b4478117c6a0\",\n \"reference: \"c9875708-4ba3-41c9-a4cd-271048b41b9a\", // the reference of the transaction in the virtual account\n \"txId\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\",\n \"blockHash\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\", // the hash of the block, might not be present every time\n \"blockHeight\": 12345,\n \"from\": \"SENDER_ADDRESS\", // might not be present every time; not present for UTXO-based blockchains\n \"to\": \"RECIPIENT_ADDRESS_CONNECTED_TO_LEDGER_ACCOUNT\", // the blockchain address of the recipient\n \"index\": 5 // for UTXO-based blockchains (BCH, BTC, DOGE, LTC), this is the index of the output in the transaction\n}\n1 credit is debited for each monitored account every day.
{\n \"date\": 1619176527481,\n \"amount\": \"0.005\",\n \"currency\": \"BTC\",\n \"accountId\": \"6082ab462936b4478117c6a0\",\n \"reference: \"c9875708-4ba3-41c9-a4cd-271048b41b9a\", // the reference of the transaction in the virtual account\n \"txId\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\",\n \"blockHash\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\", // the hash of the block, might not be present every time; if set to \"null\", the transaction is in the mempool (for EVM-based blockchains)\n \"blockHeight\": 12345, // if set to \"null\", the transaction is in the mempool (for EVM-based blockchains)\n \"from\": \"SENDER_ADDRESS\", // might not be present every time; not present for UTXO-based blockchains (BCH, BTC, DOGE, LTC)\n \"to\": \"RECIPIENT_ADDRESS_CONNECTED_TO_LEDGER_ACCOUNT\", // the blockchain address of the recipient\n \"index\": 5 // for UTXO-based blockchains (BCH, BTC, DOGE, LTC), this is the index of the output in the transaction\n}\n1 credit is debited for each monitored account every day.
{\n \"created\": 1619176527481,\n \"amount\": \"0.005\",\n \"price\": \"0.02\",\n \"type\": \"SELL\",\n \"pair\": \"VC_CHF/VC_CHF3\",\n \"id\": \"6082ab462936b4478117c6a0\", // id of the trade\n \"currency1AccountId\": \"6082ab462936b4478117c6a0\",\n \"currency2AccountId\": \"6082ab512936b4478117c6a2\",\n \"fee\": null,\n \"feeAccountId\": null,\n \"isMaker\": true,\n \"expiredWithoutMatch\": false\n}\n10 credits will be debited for every monitored customer every day.
{\n \"created\": 1619176527481,\n \"amount\": \"0.005\",\n \"orderAmount\": \"0.1\",\n \"price\": \"0.02\",\n \"type\": \"SELL\",\n \"pair\": \"VC_CHF/VC_CHF3\",\n \"id\": \"6082ab462936b4478117c6a0\", // id of the trade\n \"currency1AccountId\": \"6082ab462936b4478117c6a0\",\n \"currency2AccountId\": \"6082ab512936b4478117c6a2\",\n \"fee\": null,\n \"feeAccountId\": null,\n \"isMaker\": true,\n \"expiredWithoutMatch\": false\n}\n10 credits will be debited for every monitored customer every day.
\n {\n \"txId\": \"0x026f4f05b972c09279111da13dfd20d8df04eff436d7f604cd97b9ffaa690567\",\n \"reference\": \"90270634-5b07-4fad-b17b-f82899953533\",\n \"accountId\": \"6086ed0744c45b24d4fbd039\",\n \"currency\": \"BSC\",\n \"withdrawalId\": \"608fe5b73a893234ba379ab2\",\n \"address\": \"0x8ce4e40889a13971681391AAd29E88eFAF91f784\",\n \"amount\": \"0.1\",\n \"blockHeight\": 8517664\n }\n10 credits will be debited every day, 1 credit for every included transaction notified via web hook.
{\n \"signatureId\": \"6082ab462936b4478117c6a0\",\n \"error\": \"Error message from the KMS\"\n}\n10 credits will be debited every day.
{\n \"signatureId\": \"6082ab462936b4478117c6a0\",\n \"txId\": \"0x7bb7d3b90567e89f999f2e3d263bc3738a018dbbcfa9f5397678cf17cdf0235f\"\n}\n10 credits will be debited every day.
List all active subscriptions.
","operationId":"getSubscriptions","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Value for filtering by address","in":"query","name":"address","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Subscription"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active subscriptions","tags":["Notification subscriptions"]},"put":{"description":"Enable HMAC hash ID on the fired webhooks from Tatum API.\nIn order to make sure that a webhook is sent by us, we have the possibility to sign it with the HMAC Sha512 Hex algorithm.
\nTo verify that a webhook is sent by us\n
JSON.stringify(req.body)
require('crypto').createHmac('sha512', hmacSecret).update(JSON.stringify(req.body)).digest('base64').
Disable HMAC hash ID on the fired webhooks from Tatum API.
\n","operationId":"disableWebHookHmac","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Disable HMAC webhook digest","tags":["Notification subscriptions"]}},"/v3/subscription/count":{"get":{"description":"Count of subscriptions that were found from /v3/subscription
","operationId":"getSubscriptionsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Value for filtering by address","in":"query","name":"address","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of subscriptions","tags":["Notification subscriptions"]}},"/v3/subscription/{id}":{"put":{"description":"Update subscription url.
","operationId":"updateSubscription","parameters":[{"description":"Subscription ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"description":"New webhook url","type":"string","example":"https://example.com/target/webhook"}}}}}},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update subscription url","tags":["Notification subscriptions"]},"delete":{"description":"Cancel existing subscription.
","parameters":[{"description":"Subscription ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteSubscription","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel existing subscription","tags":["Notification subscriptions"]}},"/v3/subscription/report/{id}":{"get":{"description":"Obtain report from subscription based on its type. Following reports are supported:\n
List all webhooks.
","operationId":"getAllWebhooks","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Flag indicating whether the webhook was successful or not","in":"query","name":"failed","schema":{"type":"boolean","example":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebHook"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all executed webhooks","tags":["Notification subscriptions"]}},"/v3/subscription/webhook/count":{"get":{"description":"Count of webhooks that were found from /v3/subscription/webhook
","operationId":"getAllWebhooksCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","example":"asc","enum":["asc","desc"]}},{"description":"Flag indicating whether the webhook was successful or not","in":"query","name":"failed","schema":{"type":"boolean","example":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get webhook request","tags":["Notification subscriptions"]}},"/v3/offchain/account/{id}/address":{"post":{"description":"2 credits per API call
\nOn Flow, additional 3000 credits are consumed for each created address.
Create a deposit address associated with a virtual account.
\nYou can create multiple deposit addresses for one virtual account. When you have multiple deposit addresses created for the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\nVirtual account cryptocurrency
\nDepending on the cryptocurrency of the virtual account, this API generates:
\nFor fore information about supported blockchains and address types, see the API for creating virtual accounts.
\nDeposit addresses are generated in the natural order of the extended public key provided in the virtual account. The derivation index is the representation of that order; it starts from 0 and ends at 2^31.
\nWhen a new deposit address is generated, the last not used index is used to generate the address. You can skip some addresses to a different index, which means all the skipped addresses will no longer be used.
\n","operationId":"generateDepositAddress","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Derivation path index for specific address. If not present, last used index for given xpub of account + 1 is used. We recommend not to pass this value manually, since when some of the indexes are skipped, it is not possible to use them lately to generate address from it.
","in":"query","name":"index","schema":{"type":"number","example":2}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create a deposit address for a virtual account","tags":["Blockchain addresses"]},"get":{"description":"1 credit per API call
\nGet all deposit addresses generated for a virtual account.
\n","operationId":"getAllDepositAddresses","parameters":[{"description":"The ID of the virtual account to get deposit addresses for","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Address"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get all deposit addresses for a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/account/address/batch":{"post":{"description":"2 credits per API call + 1 credit for each created address
\nOn Flow, additional 3000 credits are consumed for each created address.
Create multiple deposit addresses associated with a virtual account.
\nWhen you have multiple deposit addresses created for the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\nVirtual account cryptocurrency
\nDepending on the cryptocurrency of the virtual account, this API generates:
\nFor fore information about supported blockchains and address types, see the API for creating virtual accounts.
\nDeposit addresses are generated in the natural order of the extended public key provided in the virtual account. The derivation index is the representation of that order; it starts from 0 and ends at 2^31.
\nWhen a new deposit address is generated, the last not used index is used to generate the address. You can skip some addresses to a different index, which means all the skipped addresses will no longer be used.
\n","operationId":"generateDepositAddressesBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffchainAddresses"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Address"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create multiple deposit addresses for a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/account/address/{address}/{currency}":{"get":{"description":"1 credit per API call
\nCheck whether a blockchain address with the specified cryptocurrency is registered within Tatum and is assigned to a virtual account (that is, whether this blockchain address is a deposit address associated with the virtual account).
\nIf the blockchain address is assigned to a virtual account, information about this account is returned. Otherwise, an error message is returned.
\n","operationId":"addressExists","parameters":[{"description":"The cryptocurrency of the blockchain address to check","in":"path","name":"currency","required":true,"schema":{"type":"string","example":"BNB"}},{"description":"The blockchain address to check","in":"path","name":"address","required":true,"schema":{"example":"tbnb1sfj9981j2eo1ij2e09","type":"string"}},{"description":"Only for BNB Beacon Chain, Stellar, or XRPL2 credits per API call
\nAssign an existing blockchain address to a virtual account. The blockchain address becomes a deposit address associated with this account.Use this API when the virtual account has no default extended public key (xpub
) and deposit addresses are handled manually.
You can assign multiple blockchain addresses to one virtual account. When you have multiple blockchain addresses assigned to the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\n","operationId":"assignAddress","parameters":[{"description":"The ID of the virtual account to assign a blockchain address to","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"The blockchain address to assign to the virtual account","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Destination tag or memo attribute for XRP or XLM addresses","in":"query","name":"index","required":false,"schema":{"type":"number","minimum":1,"example":1}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Assign a blockchain address to a virtual account","tags":["Blockchain addresses"]},"delete":{"description":"1 credit per API call
\nRemove a deposit address from the virtual account.
\nThe deposit address will no longer be scanned for incoming deposits. You will no longer be able to generate this address again.
\n","operationId":"removeAddress","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Blockchain address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Destination tag or memo attribute for XRP, BNB or XLM addresses","in":"query","name":"index","required":false,"schema":{"type":"number","minimum":1,"example":1}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Remove a deposit address from a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/withdrawal":{"post":{"description":"Create a withdrawal from Tatum Ledger account to the blockchain.
\n\n When withdrawal from Tatum is executed, all deposits, which are not processed yet are used as an input and\n change is moved to pool address 0 of wallet for defined account's xpub. If there are no unspent deposits, only last pool address 0 UTXO is used.\n If balance of wallet is not sufficient, it is impossible to perform withdrawal from this account -> funds were transferred to another\n linked wallet within system or outside of Tatum visibility.
\n For the first time of withdrawal from wallet, there must be some deposit made and funds are obtained from that. Since\n there is no withdrawal, there was no transfer to pool address 0 and thus it is not present in vIn. Pool transfer is identified by missing data.address property in response.\n When last not cancelled withdrawal is not completed and thus there is no tx id of output transaction given,\n we cannot perform next withdrawal.\n
\n Withdrawal from Tatum can be processed only from 1 account. In Ethereum Blockchain, each address is recognized as an account and only funds from that account can be sent in 1 transaction.\n Example: Account A has 0.5 ETH, Account B has 0.3 ETH. Account A is linked to Tatum Account 1, Account B is linked to Tatum Account 2. Tatum Account 1 has balance 0.7 Ethereum and\n Tatum Account 2 has 0.1 ETH. Withdrawal from Tatum Account 1 can be at most 0.5 ETH, even though balance in Tatum Private Ledger is 0.7 ETH.\n Because of this Ethereum Blockchain limitation, withdrawal request should always contain sourceAddress, from which withdrawal will be made. To get available balances for Ethereum wallet accounts, use hint endpoint.\n
\n\n XRP withdrawal can contain DestinationTag except of address, which is placed in attr parameter of withdrawal request.\nSourceTag of the blockchain transaction should be withdrawal ID for autocomplete purposes of withdrawals.\n
\n\n XLM withdrawal can contain memo except of address, which is placed in attr parameter of withdrawal request. XLM blockchain does not have possibility to enter source account information.\n It is possible to create memo in format 'destination|source', which is supported way of memo in Tatum and also there is information about the sender account in the blockchain.\n
\n\nWhen withdrawal is created, all other withdrawals with the same currency are pending, unless the current one is marked as complete or cancelled.
\nTatum ledger transaction is created for every withdrawal request with operation type WITHDRAWAL. The value of the transaction is the withdrawal amount + blockchain fee, which should be paid.\nIn the situation, when there is withdrawal for ERC20, XLM, or XRP based custom assets, the fee is not included in the transaction because it is paid in different assets than the withdrawal itself.\n
\n","operationId":"storeWithdrawal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Withdrawal"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403RecipientFormat"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403FeeFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtcOffchain"},{"$ref":"#/components/schemas/Error403TxAmountEthOffchain"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store withdrawal","tags":["Withdrawal"]},"get":{"description":"Get withdrawals.
","operationId":"GetWithdrawals","parameters":[{"description":"Currency of the withdrawal","in":"query","name":"currency","schema":{"minLength":2,"maxLength":30,"type":"string","example":"BTC"}},{"description":"Status of the withdrawal","in":"query","name":"status","schema":{"type":"string","example":"Done","enum":["InProgress","Done","Cancelled"]}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WithdrawalObject"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get withdrawals","tags":["Withdrawal"]}},"/v3/offchain/withdrawal/{id}/{txId}":{"put":{"description":"Invoke complete withdrawal as soon as blockchain transaction ID is available. All other withdrawals for the same currency will be pending unless the last one is processed and marked as completed.
\n","operationId":"completeWithdrawal","parameters":[{"description":"ID of created withdrawal","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}},{"description":"Blockchain transaction ID of created withdrawal","in":"path","name":"txId","required":true,"schema":{"type":"string","maxLength":88,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403OffchainBroadcastState"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Complete withdrawal","tags":["Withdrawal"]}},"/v3/offchain/withdrawal/{id}":{"delete":{"description":"This method is helpful if you need to cancel the withdrawal if the blockchain transaction fails or is not yet processed.\nThis does not cancel already broadcast blockchain transaction, only Tatum internal withdrawal, and the ledger transaction, that was linked to this withdrawal.
\nBy default, the transaction fee is included in the reverted transaction. There are situations, like sending ERC20 on ETH, TRC token on TRON, XLM or XRP based assets, when the fee should not be reverted, because e.g. the fee is in calculated\nin Ethereum and transaction was in ERC20 currency. In this situation, only the transaction amount should be reverted, not the fee.\n
Broadcast signed raw transaction end complete withdrawal associated with it.\nWhen broadcast succeeded but it is impossible to complete withdrawal, transaction id of transaction is returned and withdrawal must be completed manually.\n
\n","operationId":"broadcastBlockchainTransaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastWithdrawal"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403OffchainBroadcast"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403OffchainBroadcastState"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed transaction and complete withdrawal","tags":["Withdrawal"]}},"/v3/offchain/blockchain/estimate":{"post":{"description":"Estimate current transaction fee for ledger to blockchain transaction.
\nSupported blockchains:\n
Send BTC (Bitcoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send BCH (Bitcoin Cash) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send LTC (Litecoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send FLOW (Flow) or FUSD from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send DOGE (Dogecoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send ETH (Ethereum) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send MATIC (Polygon) or ERC-20-equivalent Polygon tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send KCS (KuCoin Community Chain (KCC)) or ERC-20-equivalent KCC tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send Ethereum ERC-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
This method is deprecated.
Use this method instead.
First step to create new ERC20 token with given supply on Ethereum blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC20 token name as account's currency.
\nNewly created account is frozen until the specific ERC20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy an Ethereum ERC-20 smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying an Ethereum ERC-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an Ethereum ERC-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/bsc/transfer":{"post":{"description":"Send BSC (BNB Smart Chain) or BEP-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new BEP20 token with given supply on BSC blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of BEP20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with BEP20 token name as account's currency.
\nNewly created account is frozen until the specific BEP20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create BEP20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a BNB Smart Chain BEP-20 smart contract. This is a helper method, which is combination of\nRegister new BEP20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a BNB Smart Chain BEP-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscDeployBep20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a BNB Smart Chain BEP-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/klaytn/transfer":{"post":{"description":"Send KLAY or ERC-20-equivalent tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
4 credits per API call
\nDeploy a Klaytn ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Klaytn ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlayDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Klaytn ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/xdc/transfer":{"post":{"description":"Send XDC (XinFin) or ERC-20-equivalent XinFin tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new ERC20 token with given supply on XDC blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC20 token name as account's currency.
\nNewly created account is frozen until the specific ERC20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a XinFin ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a XinFin ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"XdcDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a XinFin ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/one/transfer":{"post":{"description":"Send ONE (Harmony) or HRM-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new HRM20 token with given supply on ONE blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of HRM20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with HRM20 token name as account's currency.
\nNewly created account is frozen until the specific HRM20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create HRM20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a Harmony HRM-20 smart contract. This is a helper method, which is combination of\nRegister new HRM20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Harmony HRM-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OneDeployHrm20","parameters":[{"description":"The ID of the shard to operate","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Harmony HRM-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/token/{chain}":{"post":{"parameters":[{"description":"Blockchain to work with","in":"path","name":"chain","required":true,"schema":{"example":"ETH","type":"string","enum":["ETH","CELO","MATIC","KCS","BSC","ONE","XDC","KLAY","SOL"]}}],"description":"This is the first step to create a new ERC-20 or ERC-20 equivalent token with some supply in a virtual account.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with token name as account's currency.
\nNewly created account is frozen until the specific smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create smart contract with Tatum private ledger support:\n
2 credits per API call
\nSet the contract address of an ERC-20, ERC-20-equivalent (for example, BEP-20, HRM-20, and so on), or TRC-10 token to be able to communicate with the smart contract.
\nAfter creating and deploying the token to the blockchain, the smart contract address is generated and must be set within Tatum. If the address is not set, the Tatum platform will not be able to detect incoming deposits of the tokens and transfer the tokens from virtual accounts to blockchain addresses.
\nNOTE:
\nassetId
), for example, 55351976
.tokenId
), for example, 1234567
.Send CELO (Celo), ERC-20-equivalent Celo tokens, cUSD, or cEUR from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new ERC-20 token with given supply on Celo blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC-20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC-20 token name as account's currency.
\nNewly created account is frozen until the specific ERC-20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC-20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a Celo ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Celo ERC-20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Celo ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployCeloErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Celo ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/kcs/erc20/deploy":{"post":{"description":"4 credits per API call
\nDeploy a KuCoin Community Chain (KCC) ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Kcs ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a KCC ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KcsDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a KuCoin Community Chain (KCC) ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/celo/erc20/{name}/{address}":{"post":{"deprecated":true,"description":"This method is deprecated.
Use this method instead.
10 credits per API call
\nSend SOL (Solana), USDC_SOL, or custom SPL tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.
\nIt is possible to perform ledger to blockchain transaction for ledger accounts without blockchain address assigned to them.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and losing funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n","operationId":"SolTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferSol"},{"$ref":"#/components/schemas/TransferSolKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send SOL from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/offchain/xlm/transfer":{"post":{"description":"10 credits per API call
\nSend XLM (Stellar) or XLM-based assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.
\nIt is possible to perform ledger to blockchain transaction for ledger accounts without blockchain address assigned to them.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and losing funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n","operationId":"XlmTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferXlm"},{"$ref":"#/components/schemas/TransferXlmKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XlmFailed"},{"$ref":"#/components/schemas/Error403XlmTxFailed"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send XLM from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/offchain/xlm/asset":{"post":{"description":"Create an XLM-based asset in a virtual account. The asset must be created and configured on the Stellar blockchain before creating a trust line.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"XlmAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateXlmAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an XLM-based asset","tags":["Blockchain operations"]}},"/v3/offchain/xrp/transfer":{"post":{"description":"\n
Send XRP from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
Create an XRP-based asset in a virtual account. The asset must be created and configured on the XRPL blockchain before creating a trust line.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"XrpAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateXrpAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create XRP based Asset","tags":["Blockchain operations"]}},"/v3/offchain/bnb/transfer":{"post":{"description":"\n
Send BNB (BNB Beacon Chain) or BNB assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.\n
\n
Create a BNB-based asset in a virtual account. The asset must first be created and configured on BNB Beacon Chain blockhain.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"BnbAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBnbAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create a BNB-based asset","tags":["Blockchain operations"]}},"/v3/offchain/ada/transfer":{"post":{"description":"Send ADA (Cardano) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send TRON or TRX assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
First step to create new TRC 10/20 token with given supply on the Tron blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of TRC 10/20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with TRC 10/20 token name as account's currency.
\nNewly created account is frozen until the specific TRC 10/20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create TRC 10/20 smart contract with Tatum private ledger support:\n
10 credits per API call
\nDeploy a TRON TRC-10 or TRC-20 smart contract. This is a helper method, which is combination of\nRegister new TRC-10/20 token in the ledger and Deploy blockchain TRC20 or Deploy blockchain TRC10.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a TRON TRC-10 or TRC-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronDeployTrc","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployTrcOffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainMnemXpub"},{"$ref":"#/components/schemas/DeployTrcOffchainPKAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainPKXpub"},{"$ref":"#/components/schemas/DeployTrcOffchainKMSAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a TRON TRC-10 or TRC-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/tron/trc/{name}/{address}":{"post":{"deprecated":true,"description":"This method is deprecated.
Use this method instead.
Send EGLD from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
4 credits per API call
\nDeploy an Algorand ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Algorand ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying an Algorand ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgoDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployAlgoErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployAlgoErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployAlgoErc20OffchainKMSAddress"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployAlgoErc20Response"},{"$ref":"#/components/schemas/DeployAlgoErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an Algorand ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/algorand/transfer":{"post":{"description":"4 credits per API call
\nSend Algos or ERC-20-equivalent Algorand tokens from a virtual account (even from a virtual account without deposit addresses adssigned) to the Algorand blockchain.
\nThe recipient has to agree in advance to receive assets because Algorand charges users for storing assets on their addresses, and an Algorand blockchain address by default does not receive assets unless explicitly agreed. Before sending any asset from a virtual account to the blockchain, make sure that the recipient has agreed to receive the assets to their address.
\nSending Algorand assets creates an internal Tatum withdrawal request with an ID. If everything works as expected, the withdrawal request is marked as complete and a transaction ID is assigned to it.
\nSigning a transaction
\nWhen sending Algos or ERC-20-equivalent Algorand tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgoTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferAlgo"},{"$ref":"#/components/schemas/TransferAlgoErc20"},{"$ref":"#/components/schemas/TransferAlgoKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403RecipientFormat"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403FeeFormat"},{"$ref":"#/components/schemas/Error403OffchainNotCancelled"},{"$ref":"#/components/schemas/Error403OffchainCancelled"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtc"},{"$ref":"#/components/schemas/Error403TxAmountEth"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"},{"$ref":"#/components/schemas/Error403EthMnemonicPrivateKey"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ALGO from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/bcash/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin Cash wallet with derivation path m'/44'/145'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Bitcoin Cash wallet.
\n","operationId":"BchGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash wallet","tags":["Bitcoin Cash"]}},"/v3/bcash/node":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.\nTo learn more about JSON RPC, visit Bitcoin Cash developers' guide.
\n","deprecated":true,"operationId":"BchRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Bitcoin Cash"]}},"/v3/bcash/info":{"get":{"description":"Get Bitcoin Cash Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
","operationId":"BchGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Blockchain Information","tags":["Bitcoin Cash"]}},"/v3/bcash/block/hash/{i}":{"get":{"description":"Get Bitcoin Cash Block hash. Returns hash of the block to get the block detail.
","operationId":"BchGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a block chain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1580117}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"0000000053f225e202cf27fe3046e06719efd3b31b5ab75fc5ef7f853c8b246f"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Block hash","tags":["Bitcoin Cash"]}},"/v3/bcash/block/{hash}":{"get":{"description":"Get Bitcoin Cash Block detail by block hash or height.
","operationId":"BchGetBlock","parameters":[{"description":"Block hash or height","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000000000cfb22714715f09b3721f89819a325f7f4d39b2c22a061d1be8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Block by hash","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction/{hash}":{"get":{"description":"Get Bitcoin Cash Transaction by transaction hash.
","operationId":"BchGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Transaction by hash","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction/address/{address}":{"get":{"description":"Get Bitcoin Cash Transaction by address. Limit is 50 transaction per response.
","operationId":"BchGetTxByAddress","deprecated":true,"parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Define, how much transactions should be skipped to obtain another page.","in":"query","name":"skip","required":false,"schema":{"type":"integer","example":2}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BchTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Transactions by address","tags":["Bitcoin Cash"]}},"/v3/bcash/address/{xpub}/{index}":{"get":{"description":"Generate Bitcoin Cash deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1. Generates new format of address starting with bitcoincash: in case of mainnet, bchtest: in case of testnet..
\n","operationId":"BchGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Bitcoin Cash address","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzezc"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash deposit address from Extended public key","tags":["Bitcoin Cash"]}},"/v3/bcash/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BchGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash private key","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction":{"post":{"description":"10 credits per API call
\nSend BCH to blockchain addresses.
\nBitcoin Cash transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BCH that remains at a Bitcoin Cash address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation.
\nYou build a BCH transaction by sending BCH from UTXOs. Each UTXO is included in the transaction.
\nWhen an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 BCH and T2 with 2 BCH. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 BCH to spend:1 BCH (from T1) + 2 BCH (from T2) = 3 BCH (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending BCH, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BchTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BchTransaction"},{"$ref":"#/components/schemas/BchTransactionKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BCH to Bitcoin Cash addresses","tags":["Bitcoin Cash"]}},"/v3/bcash/broadcast":{"post":{"description":"Broadcast signed transaction to Bitcoin Cash blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BchBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Bitcoin Cash transaction","tags":["Bitcoin Cash"]}},"/v3/litecoin/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Litecoin wallet with derivation path m'/44'/2'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Litecoin wallet.
\n2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.
\n","operationId":"LtcRpcDriver","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Litecoin"]}},"/v3/litecoin/info":{"get":{"description":"Get Litecoin Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
\nGet Litecoin Block hash. Returns hash of the block to get the block detail.
Get Litecoin Block detail by block hash or height.
\nGet Litecoin Transaction detail by transaction hash.
\nGet Litecoin Transaction ids in the mempool.
\nGet Litecoin Transaction by address.
\nGet Litecoin Balance of the address.
\n50 credits per API call
\nGet the balance of multiple Litecoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
5 credits per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of LTC that remains at a Litecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation.
\n404
response code.Generate Litecoin deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\nGenerate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n10 credits per API call
\nSend LTC to blockchain addresses.
\nLitecoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of LTC that remains at a Litecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Litecoin transaction.
\nYou can build a LTC transaction by one of the following methods:
\nLtcTransactionAddress
or LtcTransactionAddressKMS
schema of the request body.LtcTransactionFromUTXO
or LtcTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 LTC and T2 with 2 LTC. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 LTC to spend:1 LTC (from T1) + 2 LTC (from T2) = 3 LTC (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending LTC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nBroadcast signed transaction to Litecoin blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Dogecoin wallet with derivation path m'/44'/3'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Dogecoin wallet.
\n","operationId":"DogeGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin wallet","tags":["Dogecoin"]}},"/v3/dogecoin/address/{xpub}/{index}":{"get":{"description":"Generate Dogecoin deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"DogeGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Dogecoin address","example":"n36h3pAH7sC3z8KMB47BjbqvW2aJd2oTi7"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin deposit address from Extended public key","tags":["Dogecoin"]}},"/v3/dogecoin/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"DogeGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin private key","tags":["Dogecoin"]}},"/v3/dogecoin/node":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.
\n","deprecated":true,"operationId":"DogeRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Dogecoin"]}},"/v3/dogecoin/info":{"get":{"description":"Get Dogecoin Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
","operationId":"DogeGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Blockchain Information","tags":["Dogecoin"]}},"/v3/dogecoin/block/hash/{i}":{"get":{"description":"Get Dogecoin Block hash. Returns hash of the block to get the block detail.
","operationId":"DogeGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a block chain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1234314}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Block hash","tags":["Dogecoin"]}},"/v3/dogecoin/block/{hash}":{"get":{"description":"Get Dogecoin Block detail by block hash or height.
","operationId":"DogeGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1234314"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Block by hash or height","tags":["Dogecoin"]}},"/v3/dogecoin/transaction/{hash}":{"get":{"description":"Get Dogecoin Transaction detail by transaction hash.
","operationId":"DogeGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"d60631d8e5c8b6eb0557b5181cf28564d771c628a08abc414e87ad7c05ff2fc2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Transaction by hash","tags":["Dogecoin"]}},"/v3/dogecoin/transaction/address/{address}":{"get":{"description":"Get Dogecoin Transaction by address.
\nGet Dogecoin Balance of the address.
\n50 credits per API call
\nGet the balance of multiple Dogecoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
Get Dogecoin Transaction ids in the mempool.
","operationId":"DogeGetMempool","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","description":"TX ID of the transaction in mempool","example":"4c7846a8ff8415945e96937dea27bdb3144c15d793648d725602784826052586"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Mempool Transactions","tags":["Dogecoin"]}},"/v3/dogecoin/utxo/{hash}/{index}":{"get":{"description":"1 credit per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of DOGE that remains at a Dogecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation.
\n404
response code.2 credits per API call
\nSend DOGE to blockchain addresses.
\nDogecoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of DOGE that remains at a Bitcoin Cash address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Dogecoin transaction
\nYou build a DOGE transaction by sending DOGE from UTXOs. Each UTXO is included in the transaction.
\nWhen an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 DOGE and T2 with 2 DOGE. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 DOGE to spend:1 DOGE (from T1) + 2 DOGE (from T2) = 3 DOGE (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending DOGE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"DogeTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DogeTransactionAddress"},{"$ref":"#/components/schemas/DogeTransactionAddressKMS"},{"$ref":"#/components/schemas/DogeTransactionUTXO"},{"$ref":"#/components/schemas/DogeTransactionUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send DOGE to Dogecoin addresses","tags":["Dogecoin"]}},"/v3/dogecoin/broadcast":{"post":{"description":"Broadcast signed transaction to Dogecoin blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"DogeBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Dogecoin transaction","tags":["Dogecoin"]}},"/v3/flow/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Dogecoin wallet with derivation path m'/44'/3'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Dogecoin wallet.
\n","operationId":"FlowGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow wallet","tags":["Flow"]}},"/v3/flow/address/{xpub}/{index}":{"get":{"description":"Generate Flow address from Extended public key. This operation internally creates public key and assigns it to the newly created address on the blockchain.\nThere is minimal amount, which must be sent to the FLOW address during creation - 0.001 FLOW, which will be used from Tatum service account.
\nThis operation is allowed on any Testnet plan and only on Paid Mainnet plans.\nPublic key is generated for the specific index - each extended public key can generate up to 2^31 addresses starting from index 0 until 2^31 - 1.
Generate Flow public key from Extended public key. This key is added to the address on the blockchain and can control the funds there. Public key is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"FlowGeneratePubKey","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"pubKey":{"type":"string","description":"Flow public key","example":"968c3ce11e871cb2b7161b282655ee5fcb051f3c04894705d771bf11c6fbebfc6556ab8a0c04f45ea56281312336d0668529077c9d66891a6cad3db877acbe90"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow public key from Extended public key","tags":["Flow"]}},"/v3/flow/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"FlowGeneratePubKeyPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow private key","tags":["Flow"]}},"/v3/flow/block/current":{"get":{"description":"Get Flow current block number.
","operationId":"FlowGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":12345678}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow current block number","tags":["Flow"]}},"/v3/flow/block/{hash}":{"get":{"description":"Get Flow Block detail by block hash or height.
","operationId":"FlowGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1234314"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow Block by hash or height","tags":["Flow"]}},"/v3/flow/block/events":{"get":{"description":"Get Flow events from block.
","operationId":"FlowGetBlockEvents","parameters":[{"description":"Event type to search for","in":"query","name":"type","required":true,"schema":{"type":"string","example":"A.7e60df042a9c0868.FlowToken.TokensWithdrawn"}},{"description":"Block height to start searching","in":"query","name":"from","required":true,"schema":{"type":"number","example":654321}},{"description":"Block height to end searching","in":"query","name":"to","required":true,"schema":{"type":"number","example":654326}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FlowEvent"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow events from blocks","tags":["Flow"]}},"/v3/flow/transaction/{hash}":{"get":{"description":"Get Flow Transaction detail by transaction hash.
","operationId":"FlowGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"d60631d8e5c8b6eb0557b5181cf28564d771c628a08abc414e87ad7c05ff2fc2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow Transaction by hash","tags":["Flow"]}},"/v3/flow/account/{address}":{"get":{"description":"Get Flow account details.
","operationId":"FlowGetAccount","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x955cd3f17b2fd8ad"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the balance of a Flow account","tags":["Flow"]}},"/v3/flow/transaction":{"post":{"description":"Send Flow or FUSD to blockchain addresses. Tatum covers the fee connected to the transaction costs in subscription credits. This operation can be done on mainnet only for paid plans.
\nThere are two possibilites how the transaction on the blockchain can be created:\n
Send arbitrary blockchain transaction to FLOW blockchain. Tatum covers the fee connected to the transaction costs in subscription credits. This operation can be done on mainnet only for paid plans.
\nThere are two possibilites how the transaction on the blockchain can be created:\n
Create Flow blockchain addresses from public key. This will generate address on the blockchain with public key. Private key for that public key can be used for signing transaction.\nThere are two possibilites how the transaction on the blockchain can be created:\n
Add public key to existing Flow blockchain addresses. Private key for that public key can be used for signing transaction.\nThere are two possibilites how the transaction on the blockchain can be created:\n
Generate XRP account. Tatum does not support HD wallet for XRP, only specific address and private key can be generated.
\n","operationId":"XrpWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpWallet"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XRP account","tags":["XRP"]}},"/v3/xrp/info":{"get":{"description":"Get XRP Blockchain last closed ledger index and hash.
","operationId":"XrpGetLastClosedLedger","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XRP Blockchain Information","tags":["XRP"]}},"/v3/xrp/fee":{"get":{"description":"Get XRP Blockchain fee. Standard fee for the transaction is available in the drops.base_fee section and is 10 XRP drops by default.\nWhen there is a heavy traffic on the blockchain, fees are increasing according to current traffic.
\n","operationId":"XrpGetFee","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpFee"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get actual Blockchain fee","tags":["XRP"]}},"/v3/xrp/account/tx/{account}":{"get":{"description":"List all Account transactions.
","operationId":"XrpGetAccountTx","parameters":[{"description":"Address of XRP account.","in":"path","name":"account","required":true,"schema":{"type":"string"}},{"description":"Ledger version to start scanning for transactions from.","in":"query","name":"min","required":false,"schema":{"type":"number"}},{"description":"Marker from the last paginated request. It is stringified JSON from previous response.","in":"query","name":"marker","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccountTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account transactions","tags":["XRP"]}},"/v3/xrp/ledger/{i}":{"get":{"description":"Get ledger by sequence.
","operationId":"XrpGetLedger","parameters":[{"description":"Sequence of XRP ledger.","in":"path","name":"i","required":true,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpLedger"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpLedger"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ledger","tags":["XRP"]}},"/v3/xrp/transaction/{hash}":{"get":{"description":"Get XRP Transaction by transaction hash.
","operationId":"XrpGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"example":"1A32A054B04AC9D6814710DDCA416E72C4CD2D78D6C3DFC06CC9369CC4F6B250","type":"string","minLength":64,"maxLength":64}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XRP Transaction by hash","tags":["XRP"]}},"/v3/xrp/account/{account}":{"get":{"description":"Get XRP Account info.
","operationId":"XrpGetAccountInfo","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"rDA3DJBUBjA1X3PtLLFAEXxX31oA5nL3QF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account info","tags":["XRP"]}},"/v3/xrp/account/{account}/balance":{"get":{"description":"Get XRP Account Balance. Obtain balance of the XRP and other assets on the account.
","operationId":"XrpGetAccountBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"rDA3DJBUBjA1X3PtLLFAEXxX31oA5nL3QF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccountBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account Balance","tags":["XRP"]}},"/v3/xrp/transaction":{"post":{"description":"Send XRP from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n
Create / Update / Delete XRP trust line between accounts to transfer private assets.\nBy creating trustline for the first time, the asset is created automatically and can be used in the transactions.
\nAccount setting rippling must be enabled on the issuer account before the trust line creation to asset work correctly.\nCreating a trust line will cause an additional 5 XRP to be blocked on the account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.
\n
Modify XRP account settings. If an XRP account should be an issuer of the custom asset, this accounts should have rippling enabled to true.\nIn order to support off-chain processing, required destination tag should be set on the account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to XRP blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XrpBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XRP transaction","tags":["XRP"]}},"/v3/xlm/account":{"get":{"description":"Generate XLM account. Tatum does not support HD wallet for XLM, only specific address and private key can be generated.
\n","operationId":"XlmWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmWallet"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XLM account","tags":["Stellar"]}},"/v3/xlm/info":{"get":{"description":"Get XLM Blockchain last closed ledger.
","operationId":"XlmGetLastClosedLedger","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmLedger"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Information","tags":["Stellar"]}},"/v3/xlm/ledger/{sequence}":{"get":{"description":"Get XLM Blockchain ledger for ledger sequence.
","operationId":"XlmGetLedger","parameters":[{"description":"Sequence of the ledger.","in":"path","name":"sequence","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmLedger"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Ledger by sequence","tags":["Stellar"]}},"/v3/xlm/ledger/{sequence}/transaction":{"get":{"description":"Get XLM Blockchain transactions in the ledger.
","operationId":"XlmGetLedgerTx","parameters":[{"description":"Sequence of the ledger.","in":"path","name":"sequence","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/XlmTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Transactions in Ledger","tags":["Stellar"]}},"/v3/xlm/fee":{"get":{"description":"Get XLM Blockchain fee in 1/10000000 of XLM (stroop)
","operationId":"XlmGetFee","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current fee in 1/10000000 of XLM (stroop)","example":100}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get actual XLM fee","tags":["Stellar"]}},"/v3/xlm/account/tx/{account}":{"get":{"description":"List all XLM account transactions.
","operationId":"XlmGetAccountTx","parameters":[{"description":"Address of XLM account.","in":"path","name":"account","required":true,"schema":{"type":"string","example":"GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H"}},{"description":"Paging token from the last transaction gives you next page","in":"query","name":"pagination","required":false,"schema":{"type":"string","example":"1348087155011584"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/XlmTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Account transactions","tags":["Stellar"]}},"/v3/xlm/transaction/{hash}":{"get":{"description":"Get XLM Transaction by transaction hash.
","operationId":"XlmGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"example":"749e4f8933221b9942ef38a02856803f379789ec8d971f1f60535db70135673e","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Transaction by hash","tags":["Stellar"]}},"/v3/xlm/account/{account}":{"get":{"description":"Get XLM Account detail.
","operationId":"XlmGetAccountInfo","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Account info","tags":["Stellar"]}},"/v3/xlm/transaction":{"post":{"description":"Send XLM from account to account. It is possbile to send native XLM asset, or any other custom asset present on the network.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n
Create / Update / Delete XLM trust line between accounts to transfer private assets.\nBy creating trustline for the first time, the asset is created automatically and can be used in the transactions.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to XLM blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XlmBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XLM transaction","tags":["Stellar"]}},"/v3/bnb/account":{"get":{"description":"Generate BNB account. Tatum does not support HD wallet for BNB, only specific address and private key can be generated.
\n","operationId":"BnbGenerateWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Binance wallet","tags":["BNB Beacon Chain"]}},"/v3/bnb/block/current":{"get":{"description":"Get Binance current block number.
","operationId":"BnbGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance current block","tags":["BNB Beacon Chain"]}},"/v3/bnb/block/{height}":{"get":{"description":"Get Transactions in block by block height.
","operationId":"BnbGetBlock","parameters":[{"description":"Block height","in":"path","name":"height","required":true,"schema":{"type":"number","example":6470657}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transactions in Block","tags":["BNB Beacon Chain"]}},"/v3/bnb/account/{address}":{"get":{"description":"Get Binance Account Detail by address.
","operationId":"BnbGetAccount","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"tbnb185tqzq3j6y7yep85lncaz9qeectjxqe5054cgn"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Account","tags":["BNB Beacon Chain"]}},"/v3/bnb/transaction/{hash}":{"get":{"description":"Get Binance Transaction by transaction hash.
","operationId":"BnbGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"4B944BBF78F3ADE3A377551B5EA7AD0FEDBDA13165D932F94B106EF7A8E16C1A"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transaction","tags":["BNB Beacon Chain"]}},"/v3/bnb/account/transaction/{address}":{"get":{"description":"Get Binance Transactions by address.
","operationId":"BnbGetTxByAccount","parameters":[{"description":"Account address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"tbnb185tqzq3j6y7yep85lncaz9qeectjxqe5054cgn"}},{"description":"Start time in milliseconds","in":"query","name":"startTime","required":true,"schema":{"type":"number","minimum":0,"example":1651831727871}},{"description":"End time in milliseconds","in":"query","name":"endTime","required":true,"schema":{"type":"number","minimum":0,"example":1651831727871}},{"description":"Items per page.","in":"query","name":"limit","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Pagination offset","in":"query","name":"offset","schema":{"type":"number","example":10,"minimum":0}},{"description":"Asset name","in":"query","name":"asset","schema":{"type":"string","example":"BNB"}},{"description":"Address type","in":"query","name":"addressType","schema":{"type":"string","example":"FROM","enum":["FROM","TO"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbTxInAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transactions By Address","tags":["BNB Beacon Chain"]}},"/v3/bnb/transaction":{"post":{"description":"Send Binance or Binance Token token from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey.\nPrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\n Tatum KMS should be used for the highest security standards, and signatureId should be present in the request.\n Alternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to Binance blockchain. This method is used internally or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BnbBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Broadcast"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BnbFailed"},{"$ref":"#/components/schemas/Error403BnbBroadcatSigFailed"},{"$ref":"#/components/schemas/Error403BnbTxStateFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed BNB transaction","tags":["BNB Beacon Chain"]}},"/v3/vet/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for VeChain wallet with derivation path m'/44'/818'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible VeChain wallet.
\n","operationId":"VetGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain wallet","tags":["VeChain"]}},"/v3/vet/address/{xpub}/{index}":{"get":{"description":"Generate VeChain account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"VetGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"VeChain addres","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain account address from Extended public key","tags":["VeChain"]}},"/v3/vet/wallet/priv":{"post":{"description":"Generate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"VetGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain private key","tags":["VeChain"]}},"/v3/vet/block/current":{"get":{"description":"Get VeChain current block number.
","operationId":"VetGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain current block","tags":["VeChain"]}},"/v3/vet/block/{hash}":{"get":{"description":"Get VeChain Block by block hash or block number.
","operationId":"VetGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"325324"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Block by hash","tags":["VeChain"]}},"/v3/vet/account/balance/{address}":{"get":{"description":"Get VeChain Account balance in VET.
","operationId":"VetGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x5034aa590125b64023a0262112b98d72e3c8e40e"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in VET","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Account balance","tags":["VeChain"]}},"/v3/vet/account/energy/{address}":{"get":{"description":"Get VeChain Account energy in VTHO. VTHO is used for paying for the transaction fee.
","operationId":"VetGetEnergy","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x5034aa590125b64023a0262112b98d72e3c8e40e"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"energy":{"type":"string","description":"Balance in VTHO","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Account energy (VTHO)","tags":["VeChain"]}},"/v3/vet/transaction/{hash}":{"get":{"description":"Get VeChain Transaction by transaction hash.
","operationId":"VetGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x24f691abab680972437028af22bc7a43c3fbe8d6d7eefc420dea2daf554758a7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Transaction","tags":["VeChain"]}},"/v3/vet/transaction/{hash}/receipt":{"get":{"description":"Get VeChain Transaction Receipt by transaction hash. Transaction receipt is available only after transaction is\nincluded in the block and contains information about paid fee or created contract address and much more.
\n","operationId":"VetGetTransactionReceipt","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x24f691abab680972437028af22bc7a43c3fbe8d6d7eefc420dea2daf554758a7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetTxReceipt"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Transaction Receipt","tags":["VeChain"]}},"/v3/vet/transaction":{"post":{"description":"Send VET from account to account. Fee for the transaction is paid in VTHO.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to VeChain blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"VetBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed VeChain transaction","tags":["VeChain"]}},"/v3/ada/info":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets Ada blockchain information. Obtains basic info like the testnet / mainnet version of the chain, the current block number and its hash.
","operationId":"AdaGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Blockchain information","tags":["Cardano"]}},"/v3/ada/wallet":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for ADA wallet with derivation path m/1852'/1815'/0'. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Ada wallet.
\n","operationId":"AdaGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada wallet","tags":["Cardano"]}},"/v3/ada/address/{xpub}/{index}":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Generates a Ada deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"AdaGenerateAddress","parameters":[{"description":"Extended public key of a wallet.","in":"path","name":"xpub","required":true,"example":"30e96a57be6235c686da968c1860f69d1871a692b29626b7ebb923aff8c6731cb9fef3a26b7eba8a07653483d06427d0c07966c5f81c69a7925d714530bedb1ef9e9103547b54ad0954b3569785ca70e1fd08313f92a3a9d31efa216b2b9adac4678455e66c97b53cd589f9da70a14265cf15cd4c1e0ce914407008f4a65f316","schema":{"type":"string"}},{"description":"Derivation index of the desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Ada address","example":"addr1qyyxyhaa2e7kxeqcc72w7f747zqlgwwwstlzsg9umuxc40wnhawldxl4nan95rhtlcnju9q2r8j9qz8vslwsmrkj5r4spxhep9"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada deposit address from Extended public key","tags":["Cardano"]}},"/v3/ada/wallet/priv":{"post":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Generates a private key for an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"AdaGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada private key","tags":["Cardano"]}},"/v3/ada/block/{hash}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets Ada block detail by block hash or height.
","operationId":"AdaGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Block by hash or height","tags":["Cardano"]}},"/v3/ada/transaction/{hash}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Get Ada Transaction detail by transaction hash.
","operationId":"AdaGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transaction by hash","tags":["Cardano"]}},"/v3/ada/transaction/address/{address}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada transaction by address.
","operationId":"AdaGetTxByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions by address","tags":["Cardano"]}},"/v3/ada/{address}/utxos":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada UTXOs by address.
","operationId":"AdaGetUTXOByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaUTXO"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get UTXOs by address","tags":["Cardano"]}},"/v3/ada/transaction":{"post":{"description":"2 credits per API call
\nSend ADA to blockchain addresses.
\nCardano transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of ADA that remains at a Cardano address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation.
\nYou can build an ADA transaction by one of the following methods:
\nAdaTransactionFromAddress
or AdaTransactionFromAddressKMS
schema of the request body.AdaTransactionFromUTXO
or AdaTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 ADA and T2 with 2 ADA. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 ADA to spend:1 ADA (from T1) + 2 ADA (from T2) = 3 ADA (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending ADA, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AdaTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AdaTransactionFromAddress"},{"$ref":"#/components/schemas/AdaTransactionFromAddressKMS"},{"$ref":"#/components/schemas/AdaTransactionFromUTXO"},{"$ref":"#/components/schemas/AdaTransactionFromUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ADA to Cardano addresses","tags":["Cardano"]}},"/v3/ada/broadcast":{"post":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Broadcasts a signed transaction to the Ada blockchain. This method is used internally from Tatum KMS or Tatum Client Libraries.\nIt is possible to create a custom signing mechanism and only use this method for broadcasting data to the blockchain.
\n","operationId":"AdaBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Ada transaction","tags":["Cardano"]}},"/v3/ada/account/{address}":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada account by address.
\n","operationId":"AdaGetAccount","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaAccountBalance"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Gets a Ada account by address","tags":["Cardano"]}},"/v3/tatum/usage":{"get":{"description":"1 credit per API call
\nGet information about your credit consumption for the last month (used credits per day).
\n","operationId":"getCredits","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Consumption"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get information about your credit consumption for the last month","tags":["Service utils"]}},"/v3/tatum/rate/{currency}":{"get":{"description":"1 credit per API call
\nGet the current exchange rate for exchanging fiat/crypto assets.
\nBy default, the base pair (the target asset) is EUR. When obtaining the exchange rate for an asset (for example, BTC), the value returned by the API expresses the amount of EUR that can be currently exchanged into 1 BTC.
\n","operationId":"getExchangeRate","parameters":[{"description":"The fiat or crypto asset to exchange","in":"path","name":"currency","required":true,"schema":{"$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC"}},{"description":"The target fiat asset to get the exchange rate for","in":"query","name":"basePair","schema":{"$ref":"#/components/schemas/FiatCurrency","default":"EUR","example":"USD"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeRate"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the current exchange rate for exchanging fiat/crypto assets","tags":["Exchange rate"]}},"/v3/tatum/rate":{"post":{"description":"1 credit per pair per API call
\nGet the current exchange rates for exchanging fiat/crypto assets.
\nWhen obtaining the exchange rate for an asset (for example, BTC), the value returned by the API expresses the amount of EUR that can be currently exchanged into 1 BTC.
\n","operationId":"getExchangeRates","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RateQuery"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExchangeRate"}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the current exchange rates for exchanging fiat/crypto assets","tags":["Exchange rate"]}},"/v3/tatum/version":{"get":{"description":"Get current version of the API.
","operationId":"getVersion","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","example":"3.0.2"},"testnet":{"type":"boolean","example":true},"planName":{"type":"string","example":"Free"},"planCode":{"type":"string","example":"FREE"},"price":{"type":"number","example":9},"expiration":{"type":"number","example":4113115784397},"creditLimit":{"type":"number","example":1000000000},"usage":{"type":"number","example":25656634},"rolloverDay":{"type":"number","example":4}}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get API version","tags":["Service utils"]}},"/v3/tatum/freeze":{"put":{"description":"Freeze the API Key.\nIt's not possible to perform sensitive operations like send ledger transaction, send off-chain transaction, send blockchain transaction,\nbroadcast blockchain transaction, perform Order book trade or create blockage. Only read operations are permitted.
\n","operationId":"freezeApiKey","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Freeze API Key","tags":["Service utils"]},"delete":{"description":"Unfreeze the API Key.\nIt's possible to perform sensitive operations like send ledger transaction, send off-chain transaction, send blockchain transaction,\nbroadcast blockchain transaction, perform Order book trade or create blockage again.
\n","operationId":"unfreezeApiKey","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unfreeze API Key","tags":["Service utils"]}},"/v3/custodial/wallet":{"post":{"description":"Create new managed address for a specific chain. If the address is mainnet or testnet one depends on the API Key - testnet API Key manages testnet addresses, mainnet API Key manages mainnet addresses.\nResult of the operation is address and walletId, which is used for identifying the wallet later on and/or exporting the private key if needed.
\nFree users can manage only 10 addresses per API Key.\n
Get all managed addresses for an API Key.
\n","operationId":"CustodialGetWallets","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodialManagedAddress"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get managed addresses","tags":["Custodial managed wallets"]}},"/v3/custodial/wallet/{id}":{"get":{"description":"Get managed address for an API Key. It's possible to export the private key, if query parameter export is set to true.
\n","operationId":"CustodialGetWallet","parameters":[{"in":"path","required":true,"description":"WalletID of the managed address","name":"id","schema":{"type":"string","format":"uuid","example":"3ad54647-4166-4d34-9186-fd46caaba945"}},{"in":"query","name":"export","required":false,"description":"If set to \"true\", returns the private key in the response; if not set, defaults to \"false\" (the private key is not included in the response)","schema":{"type":"boolean","example":false,"default":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodialManagedAddress"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get managed address","tags":["Custodial managed wallets"]},"delete":{"description":"Delete managed address. Once deleted, the address won't be charged in a daily credit usage, but it won't be possible to get the private key for it.
\n","operationId":"CustodialDeleteWallet","parameters":[{"in":"path","required":true,"description":"WalletID of the managed address","name":"id","schema":{"type":"string","format":"uuid","example":"3ad54647-4166-4d34-9186-fd46caaba945"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Delete managed address","tags":["Custodial managed wallets"]}},"/v3/custodial/transaction":{"post":{"description":"Sign transaction and transfer assets from a custodial managed address.
\nSupported chains:\n
Mainnet address | Devnet address | |
Address | DSpHmb7hLnetoybammcJBJiyqMVR3pDhCuW6hqVg9eBF | DSpHmb7hLnetoybammcJBJiyqMVR3pDhCuW6hqVg9eBF |
\nimport { LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction, Connection } from '@solana/web3.js'\n\nconst connection = new Connection('https://api.tatum.io/v3/blockchain/node/SOL')\nconst from = 'HrJtQTy2RW9c6y41RvN8x3bEiD6Co74AuhER2MGCpa58'\nconst to = 'FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU'\nconst amount = '0.000001'\nconst devnet_fee_payer = '5zPr5331CtBjgVeLedhmJPEpFaUsorLCnb3aCQPsUc9w'\nconst fromPubkey = new PublicKey(from)\nconst transaction = new Transaction({ feePayer: new PublicKey(devnet_fee_payer) })\ntransaction.add(\n SystemProgram.transfer({\n fromPubkey: fromPubkey,\n toPubkey: new PublicKey(to),\n lamports: new BigNumber(amount).multipliedBy(LAMPORTS_PER_SOL).toNumber(),\n }),\n)\nconst { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash('finalized')\ntransaction.recentBlockhash = blockhash\ntransaction.lastValidBlockHeight = lastValidBlockHeight\ntransaction.partialSign(...signers)\nreturn transaction.serialize({ requireAllSignatures: false }).toString('hex')\n\nFor the above example, developer have 2 options how to sign transaction - if the sender address HrJtQTy2RW9c6y41RvN8x3bEiD6Co74AuhER2MGCpa58 is managed using a Tatum managed wallet with id 0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4,\nthe final payload to the custodial/transaction endpoint should look like this:\n
\n{\n \"chain\": \"SOL\",\n \"txData\": \"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000\",\n \"walletIds\": [\n {\n \"key\": \"0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4\",\n \"type\": \"MANAGED\"\n }\n ]\n}\n\nIf the sender address is not managed, the transaction could be signed with the private key of that address before the serialization and the payload will look like this:\n
\n{\n \"chain\": \"SOL\",\n \"txData\": \"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000\",\n \"walletIds\": []\n}\n\n\n","operationId":"CustodialTransferManagedAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferManagedAddress"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sign and transfer using managed address","tags":["Custodial managed wallets"]}},"/v3/algorand/wallet":{"get":{"description":"
Tatum supports Algorand wallets.
\n","operationId":"AlgorandGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Algorand wallet","tags":["Algorand"]}},"/v3/algorand/address/{priv}":{"get":{"description":"Generate Algorand account deposit address from private key.
\n","operationId":"AlgorandGenerateAddress","parameters":[{"description":"private key of wallet.","in":"path","name":"priv","required":true,"schema":{"type":"string","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Algorand address","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Algorand account address from private key","tags":["Algorand"]}},"/v3/algorand/node/indexer/{xApiKey}/{indexerPath}":{"get":{"deprecated":true,"description":"1 credit per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\nYou can check all available APIs here - https://developer.algorand.org/docs/rest-apis/indexer/.\n
\nExample call for Get Tx By ID is described in the response. https://developer.algorand.org/docs/rest-apis/indexer/#get-v2transactionstxid.\n
\nURL used for this call would be
https://api.tatum.io/v3/algorand/node/indexer/YOUR_API_KEY/v2/transactions/HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ\n","operationId":"AlgoNodeIndexerGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of indexer.","in":"path","name":"indexerPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Indexer GET node endpoints","tags":["Algorand"]}},"/v3/algorand/node/algod/{xApiKey}/{algodPath}":{"get":{"deprecated":true,"description":"
1 credit per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\nYou can check al available APIs here - https://developer.algorand.org/docs/rest-apis/algod/v2/.\n
\nExample call for Get Block is described in the response. https://developer.algorand.org/docs/rest-apis/algod/v2/#get-v2blocksround.\n
\nURL used for this call would be
https://api.tatum.io/v3/algorand/node/algod/YOUR_API_KEY/v2/blocks/16775567\n\n","operationId":"AlgoNodeGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of algod.","in":"path","name":"algodPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Algod GET node endpoints","tags":["Algorand"]},"post":{"deprecated":true,"description":"
2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\n You can check al available APIs here - https://developer.algorand.org/docs/rest-apis/algod/v2/.\n
\n Example call for Broadcast a raw transaction is described in the response. https://developer.algorand.org/docs/rest-apis/algod/v2/#post-v2transactions.\n
\n URL used for this call would be
https://api.tatum.io/v3/algorand/node/algod/YOUR_API_KEY/v2/transactions\n \n","operationId":"AlgoNodePostDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of algod.","in":"path","name":"algodPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rawtxn":{"type":"string","description":"Check here - https://developer.algorand.org/docs/rest-apis/algod/v2/#post-v2transactions"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"txId":{"type":"string","description":"Check here - https://developer.algorand.org/docs/rest-apis/algod/v2/#rawtransaction-response-200","example":"X4VI2Q3SHG4RC3T2RNDCFHNPUL6WYX2ONWHJGLKNMBA4SVE5M4KQ"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Algod POST node endpoints","tags":["Algorand"]}},"/v3/algorand/account/balance/{address}":{"get":{"description":"
Get Algorand account balance in ALGO.
\n","operationId":"AlgorandGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Balance in asset unit","example":1000},"assetIndex":{"type":"number","description":"Asset Index of ASA","example":87748168}}}},"balance":{"type":"number","description":"Balance in ALGO","example":1000}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Account balance","tags":["Algorand"]}},"/v3/algorand/block/current":{"get":{"description":"Get Algorand current block number. This is the number of the latest block in the blockchain.
","operationId":"AlgorandGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":16775567}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Algorand"]}},"/v3/algorand/block/{roundNumber}":{"get":{"description":"Get Algorand block by block round number.
","operationId":"AlgorandGetBlock","parameters":[{"description":"Block round number","in":"path","name":"roundNumber","required":true,"schema":{"type":"number","example":16775567}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand block by block round number","tags":["Algorand"]}},"/v3/algorand/transaction":{"post":{"description":"2 credits per API call
\nSend Algos from one Algorand address to the other one.
\nSigning a transaction
\nWhen sending Algos, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgorandBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferAlgorandBlockchain"},{"$ref":"#/components/schemas/TransferAlgorandBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send Algos to an Algorand account","tags":["Algorand"]}},"/v3/algorand/asset/receive":{"post":{"description":"Enable accepting Algorand asset on the sender account.
\nThis operation needs the private key of the blockchain address.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Get Algorand transaction by transaction id.
","operationId":"AlgorandGetTransaction","parameters":[{"description":"Transaction id","in":"path","name":"txid","required":true,"schema":{"type":"string","example":"LXEBXIBDAIF72NRI76SU252QSOGFCKEHTG7AI4P6W25V35PETU3Q"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Transaction","tags":["Algorand"]}},"/v3/algorand/transactions/{from}/{to}":{"get":{"description":"1 credit per API call
\nThis endpoint is deprecated.
Get Algorand transaction by specified period of time.
\n","operationId":"AlgorandGetPayTransactionsByFromTo","deprecated":true,"parameters":[{"description":"Start timestamp in specified period of time","in":"path","name":"from","required":true,"schema":{"type":"string","example":"2021-05-01T20:44:39Z"}},{"description":"End timestamp in specified period of time","in":"path","name":"to","required":true,"schema":{"type":"string","example":"2021-06-01T20:44:39Z"}},{"description":"page size for pagination","in":"query","name":"limit","required":false,"schema":{"type":"string","example":"5"}},{"description":"Algorand Next Token for getting the next page results","in":"query","name":"next","required":false,"schema":{"type":"string","example":"ywAAAAAAAAAAAAAA"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTxsWithPagination"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Transactions between from and to","tags":["Algorand"]}},"/v3/algorand/broadcast":{"post":{"description":"Broadcast signed transaction to Algorand blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"AlgorandBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTransactionHashKMS"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Algorand transaction","tags":["Algorand"]}},"/v3/polygon/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Polygon wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Polygon wallet.
\n","operationId":"PolygonGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon wallet","tags":["Polygon"]}},"/v3/polygon/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Polygon account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"PolygonGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressMatic"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon account address from Extended public key","tags":["Polygon"]}},"/v3/polygon/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"PolygonGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon private key","tags":["Polygon"]}},"/v3/polygon/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Polygon node provided by Tatum.\nTo learn more about Polygon Web3, visit the Polygon developer's guide.
\n","operationId":"PolygonWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Polygon"]}},"/v3/polygon/block/current":{"get":{"description":"1 credit per API call
\nGet Polygon current block number. This is the number of the latest block in the blockchain.
\n","operationId":"PolygonGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Polygon"]}},"/v3/polygon/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Polygon block by block hash or block number.
\n","operationId":"PolygonGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon block by hash","tags":["Polygon"]}},"/v3/polygon/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Polygon account balance in MATIC. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"PolygonGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaticBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon Account balance","tags":["Polygon"]}},"/v3/polygon/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Polygon transaction by transaction hash.
\n","operationId":"PolygonGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon Transaction","tags":["Polygon"]}},"/v3/polygon/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\n1 credit per API call
\nGet Polygon transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"PolygonGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":0,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":0,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolygonTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon transactions by address","tags":["Polygon"]}},"/v3/polygon/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Polygon transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"PolygonGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Polygon transactions","tags":["Polygon"]}},"/v3/polygon/transaction":{"post":{"description":"2 credits per API call
\nSend MATIC from account to account.
\n
Signing a transaction
\nWhen sending MATIC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"PolygonBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferPolygonBlockchain"},{"$ref":"#/components/schemas/TransferPolygonBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonBroadcast"},{"$ref":"#/components/schemas/Error403PolygonGasPrice"},{"$ref":"#/components/schemas/Error403PolygonTxBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"},{"$ref":"#/components/schemas/Error403PolygonTxHash"},{"$ref":"#/components/schemas/Error403PolygonTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send MATIC from account to account","tags":["Polygon"]}},"/v3/polygon/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Polygon.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"PolygonBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallPolygonSmartContractReadMethod"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethod"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonBroadcast"},{"$ref":"#/components/schemas/Error403PolygonGasPrice"},{"$ref":"#/components/schemas/Error403PolygonScBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"},{"$ref":"#/components/schemas/Error403PolygonTxHash"},{"$ref":"#/components/schemas/Error403PolygonTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Polygon","tags":["Polygon"]}},"/v3/polygon/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Polygon blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"PolygonBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403PolygonBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Polygon transaction","tags":["Polygon"]}},"/v3/cronos/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Cronos wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Cronos wallet.
\n","operationId":"CronosGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos wallet","tags":["Cronos"]}},"/v3/cronos/address/{xpub}/{index}":{"get":{"description":"Generates an Cronos account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"CronosGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressCronos"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos account address from Extended public key","tags":["Cronos"]}},"/v3/cronos/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"CronosGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos private key","tags":["Cronos"]}},"/v3/cronos/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Cronos node provided by Tatum.\nTo learn more about Cronos Web3, visit the Cronos developers' guide.
\n","operationId":"CronosWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Cronos"]}},"/v3/cronos/block/current":{"get":{"description":"Gets the current Cronos block number. This is the number of the latest block in the blockchain.
","operationId":"CronosGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Cronos"]}},"/v3/cronos/block/{hash}":{"get":{"description":"Gets an Cronos block-by-block hash or block number.
","operationId":"CronosGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Cronos block by hash","tags":["Cronos"]}},"/v3/cronos/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of CRO of an Cronos account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"CronosGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the CRO balance of an Cronos account","tags":["Cronos"]}},"/v3/cronos/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Cronos transaction by transaction hash.
\n","operationId":"CronosGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Cronos Transaction","tags":["Cronos"]}},"/v3/cronos/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Cronos transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"CronosGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Cronos transactions","tags":["Cronos"]}},"/v3/cronos/transaction":{"post":{"description":"2 credits per API call
\nSend CRO or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending CRO, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CronosBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCronosBlockchain"},{"$ref":"#/components/schemas/TransferCronosBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosBroadcast"},{"$ref":"#/components/schemas/Error403CronosGasPrice"},{"$ref":"#/components/schemas/Error403CronosTxBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"},{"$ref":"#/components/schemas/Error403CronosTxHash"},{"$ref":"#/components/schemas/Error403CronosTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send CRO or fungible tokens (ERC-20) from account to account","tags":["Cronos"]}},"/v3/cronos/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Cronos.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CronosBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallCronosSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosBroadcast"},{"$ref":"#/components/schemas/Error403CronosGasPrice"},{"$ref":"#/components/schemas/Error403CronosScBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"},{"$ref":"#/components/schemas/Error403CronosTxHash"},{"$ref":"#/components/schemas/Error403CronosTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Cronos","tags":["Cronos"]}},"/v3/cronos/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Cronos blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"CronosBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CronosBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Cronos transaction","tags":["Cronos"]}},"/v3/klaytn/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Klaytn wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Klaytn wallet.
\n","operationId":"KlaytnGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn wallet","tags":["Klaytn"]}},"/v3/klaytn/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Klaytn account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"KlaytnGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Klaytn address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn account address from Extended public key","tags":["Klaytn"]}},"/v3/klaytn/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"KlaytnGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn private key","tags":["Klaytn"]}},"/v3/klaytn/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Klaytn node provided by Tatum.\nTo learn more about Klaytn Web3, visit the Klaytn developer's guide.
\n","operationId":"KlaytnWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Klaytn"]}},"/v3/klaytn/block/current":{"get":{"description":"1 credit per API call
\nGet Klaytn current block number. This is the number of the latest block in the blockchain.
\n","operationId":"KlaytnGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Klaytn"]}},"/v3/klaytn/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Klaytn block by block hash or block number.
\n","operationId":"KlaytnGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn block by hash","tags":["Klaytn"]}},"/v3/klaytn/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Klaytn account balance in KLAY. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"KlaytnGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in KLAY","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn Account balance","tags":["Klaytn"]}},"/v3/klaytn/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Klaytn transaction by transaction hash.
\n","operationId":"KlaytnGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn Transaction","tags":["Klaytn"]}},"/v3/klaytn/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Klaytn transactions for the address. When a transaction is sent, there can be multiple outgoing transactions, which are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents the order of the transaction in the list of outgoing transactions.
\n","operationId":"KlaytnGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Klaytn transactions","tags":["Klaytn"]}},"/v3/klaytn/transaction":{"post":{"description":"2 credits per API call
\nSend KLAY from account to account.
\n
Signing a transaction
\nWhen sending KLAY, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlaytnBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferKlaytnBlockchain"},{"$ref":"#/components/schemas/TransferKlaytnBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnBroadcast"},{"$ref":"#/components/schemas/Error403KlaytnGasPrice"},{"$ref":"#/components/schemas/Error403KlaytnTxBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"},{"$ref":"#/components/schemas/Error403KlaytnTxHash"},{"$ref":"#/components/schemas/Error403KlaytnTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send KLAY from account to account","tags":["Klaytn"]}},"/v3/klaytn/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Klaytn.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlaytnBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallKlaytnSmartContractReadMethod"},{"$ref":"#/components/schemas/CallKlaytnSmartContractMethod"},{"$ref":"#/components/schemas/CallKlaytnSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnBroadcast"},{"$ref":"#/components/schemas/Error403KlaytnGasPrice"},{"$ref":"#/components/schemas/Error403KlaytnScBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"},{"$ref":"#/components/schemas/Error403KlaytnTxHash"},{"$ref":"#/components/schemas/Error403KlaytnTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Klaytn","tags":["Klaytn"]}},"/v3/klaytn/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Klaytn blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"KlaytnBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KlaytnBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Klaytn transaction","tags":["Klaytn"]}},"/v3/solana/wallet":{"get":{"description":"Generate Solana private key and account address.
\n","operationId":"SolanaGenerateWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Solana wallet","tags":["Solana"]}},"/v3/solana/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based JSON RPC driver to connect directly to the Solana node provided by Tatum.\nTo learn more about Solana JSON RPC, visit the Solana developer's guide.
\n","operationId":"SolanaWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","example":{"jsonrpc":"2.0","method":"getVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC response.","example":{"jsonrpc":"2.0","result":{"solana-core":"1.8.5"},"id":1}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Solana"]}},"/v3/solana/block/current":{"get":{"description":"Get Solana current block number. This is the number of the latest block in the blockchain.
","operationId":"SolanaGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Solana"]}},"/v3/solana/block/{height}":{"get":{"description":"Get Solana block by block hash or block number.
\nYou can find full data description here - https://docs.solana.com/developing/clients/jsonrpc-api#getblock\n
Get Solana account balance in SOL. This method does not prints any balance of the SPL or NFT tokens on the account.
","operationId":"SolanaGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Solana Account balance","tags":["Solana"]}},"/v3/solana/transaction/{hash}":{"get":{"description":"Get Solana transaction by transaction hash.
\nYou can find full data description here - https://docs.solana.com/developing/clients/jsonrpc-api#gettransaction\n
Send SOL from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed custom transactions to Solana blockchain and waits for transaction confirmation depending on the commitment given. More information about commitment levels here
\n","operationId":"SolanaBroadcastConfirm","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaBroadcastConfirm"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaTransactionHashWithConfirm"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403SolanaBroadcastConfirm"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast and confirm signed Solana transaction","tags":["Solana"]}},"/v3/flare/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Flare wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Flare wallet.
\n","operationId":"FlareGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare wallet","tags":["Flare"]}},"/v3/flare/address/{xpub}/{index}":{"get":{"description":"Generates an Flare account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"FlareGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressFlare"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare account address from Extended public key","tags":["Flare"]}},"/v3/flare/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"FlareGenerateAddressPrivateKey","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare private key","tags":["Flare"]}},"/v3/flare/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Flare node provided by Tatum.\nTo learn more about Flare Web3, visit the Flare developers' guide.
\n","operationId":"FlareWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Flare"]}},"/v3/flare/block/current":{"get":{"description":"Gets the current Flare block number. This is the number of the latest block in the blockchain.
","operationId":"FlareGetCurrentBlock","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Flare"]}},"/v3/flare/block/{hash}":{"get":{"description":"Gets an Flare block-by-block hash or block number.
","operationId":"FlareGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flare block by hash","tags":["Flare"]}},"/v3/flare/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of FLR of an Flare account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"FlareGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the FLR balance of an Flare account","tags":["Flare"]}},"/v3/flare/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Flare transaction by transaction hash.
\n","operationId":"FlareGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flare Transaction","tags":["Flare"]}},"/v3/flare/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Flare transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"FlareGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Flare transactions","tags":["Flare"]}},"/v3/flare/transaction":{"post":{"description":"2 credits per API call
\nSend FLR or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending FLR, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"FlareBlockchainTransfer","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferFlareBlockchain"},{"$ref":"#/components/schemas/TransferFlareBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareBroadcast"},{"$ref":"#/components/schemas/Error403FlareGasPrice"},{"$ref":"#/components/schemas/Error403FlareTxBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"},{"$ref":"#/components/schemas/Error403FlareTxHash"},{"$ref":"#/components/schemas/Error403FlareTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send FLR or fungible tokens (ERC-20) from account to account","tags":["Flare"]}},"/v3/flare/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Flare.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"FlareBlockchainSmartContractInvocation","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallFlareSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareBroadcast"},{"$ref":"#/components/schemas/Error403FlareGasPrice"},{"$ref":"#/components/schemas/Error403FlareScBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"},{"$ref":"#/components/schemas/Error403FlareTxHash"},{"$ref":"#/components/schemas/Error403FlareTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Flare","tags":["Flare"]}},"/v3/flare/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Flare blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"FlareBroadcast","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403FlareBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Flare transaction","tags":["Flare"]}},"/v3/base/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Base wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Base wallet.
\n","operationId":"BaseGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base wallet","tags":["Base"]}},"/v3/base/address/{xpub}/{index}":{"get":{"description":"Generates an Base account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"BaseGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBase"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base account address from Extended public key","tags":["Base"]}},"/v3/base/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BaseGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base private key","tags":["Base"]}},"/v3/base/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Base node provided by Tatum.\nTo learn more about Base Web3, visit the Base developers' guide.
\n","operationId":"BaseWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Base"]}},"/v3/base/block/current":{"get":{"description":"Gets the current Base block number. This is the number of the latest block in the blockchain.
","operationId":"BaseGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Base"]}},"/v3/base/block/{hash}":{"get":{"description":"Gets an Base block-by-block hash or block number.
","operationId":"BaseGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Base block by hash","tags":["Base"]}},"/v3/base/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of BASE of an Base account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"BaseGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the BASE balance of an Base account","tags":["Base"]}},"/v3/base/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Base transaction by transaction hash.
\n","operationId":"BaseGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Base Transaction","tags":["Base"]}},"/v3/base/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Base transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"BaseGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Base transactions","tags":["Base"]}},"/v3/base/transaction":{"post":{"description":"2 credits per API call
\nSend BASE or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending BASE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BaseBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferBaseBlockchain"},{"$ref":"#/components/schemas/TransferBaseBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseBroadcast"},{"$ref":"#/components/schemas/Error403BaseGasPrice"},{"$ref":"#/components/schemas/Error403BaseTxBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"},{"$ref":"#/components/schemas/Error403BaseTxHash"},{"$ref":"#/components/schemas/Error403BaseTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BASE or fungible tokens (ERC-20) from account to account","tags":["Base"]}},"/v3/base/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Base.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BaseBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallBaseSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseBroadcast"},{"$ref":"#/components/schemas/Error403BaseGasPrice"},{"$ref":"#/components/schemas/Error403BaseScBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"},{"$ref":"#/components/schemas/Error403BaseTxHash"},{"$ref":"#/components/schemas/Error403BaseTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Base","tags":["Base"]}},"/v3/base/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Base blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BaseBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BaseBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Base transaction","tags":["Base"]}},"/v3/celo/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Celo wallet with derivation path m'/44'/52752'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Celo wallet.
\n","operationId":"CeloGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo wallet","tags":["Celo"]}},"/v3/celo/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Celo account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"CeloGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Celo address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo account address from Extended public key","tags":["Celo"]}},"/v3/celo/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"CeloGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo private key","tags":["Celo"]}},"/v3/celo/web3/{xApiKey}":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Celo node provided by Tatum.\nTo learn more about Celo Web3, visit the Celo developer's guide.
\n","operationId":"CeloWeb3Driver","deprecated":true,"parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Celo"]}},"/v3/celo/block/current":{"get":{"description":"1 credit per API call
\nGet Celo current block number. This is the number of the latest block in the blockchain.
\n","operationId":"CeloGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Celo"]}},"/v3/celo/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Celo block by block hash or block number.
\n","operationId":"CeloGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo block by hash","tags":["Celo"]}},"/v3/celo/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Celo account balance in ETH. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"CeloGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"celo":{"type":"string","description":"Balance of Celo","example":"10.52"},"cUsd":{"type":"string","description":"Balance of cUSD","example":"11.53"},"cEur":{"type":"string","description":"Balance of cEUR","example":"11.53"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo Account balance","tags":["Celo"]}},"/v3/celo/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\n1 credit per API call
\nGet Celo transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"CeloGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":0,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":0,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CeloTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo transactions by address","tags":["Celo"]}},"/v3/celo/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Celo transaction by transaction hash.
\n","operationId":"CeloGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x68eed4cdf325532a2e94370a4884f2851aacb7b12428d63601240488520f9afa"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo Transaction","tags":["Celo"]}},"/v3/celo/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Celo transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"CeloGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Celo transactions","tags":["Celo"]}},"/v3/celo/transaction":{"post":{"description":"2 credits per API call
\nSend Celo, cUSD or Tatum supported ERC20 token from account to account.
\n
Signing a transaction
\nWhen sending CELO, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCeloBlockchain"},{"$ref":"#/components/schemas/TransferCeloBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send Celo / ERC20 from account to account","tags":["Celo"]}},"/v3/celo/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Celo.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallCeloReadSmartContractMethod"},{"$ref":"#/components/schemas/CallCeloSmartContractMethod"},{"$ref":"#/components/schemas/CallCeloSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthScBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Celo","tags":["Celo"]}},"/v3/celo/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Celo blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"CeloBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Celo"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Celo transaction","tags":["Celo"]}},"/v3/egld/wallet":{"get":{"description":"The Elrond Address format is bech32, specified by the BIP 0173. The address always starts with an erd1. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase.\nMnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.\n
\nEach address is identified by 3 main values:\n
Tatum follows BIP44 specification and generates for EGLD wallet with derivation path m'/44'/508'/0'/0'.\nMore about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible EGLD wallet.
\n","operationId":"EgldGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of private key.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"mnemonic":{"type":"string","description":"Mnemonic to use for generation of private key","example":"quantum tobacco key they maid mean crime youth chief jungle mind design broken tilt bus shoulder leaf good forward erupt split divert bread kitten"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD wallet","tags":["Elrond"]}},"/v3/egld/address/{mnemonic}/{index}":{"get":{"description":"Generate EGLD account deposit address from mnemonic phrase. Deposit address is generated for the specific\nindex - each mnemonic phrase can generate up to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"EgldGenerateAddress","parameters":[{"description":"Mnemonic to use for generation of address.","in":"path","name":"mnemonic","required":true,"schema":{"type":"string","example":"quantum tobacco key they maid mean crime youth chief jungle mind design broken tilt bus shoulder leaf good forward erupt split divert bread kitten"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"EGLD address","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD account address from mnemonic","tags":["Elrond"]}},"/v3/egld/wallet/priv":{"post":{"description":"Generate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"EgldGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD private key","tags":["Elrond"]}},"/v3/egld/node/{xApiKey}/*":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based driver to connect directly to the EGLD node provided by Tatum.\nTo learn more about EGLD, visit the EGLD developer's guide.
\n","operationId":"EgldNodePost","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"/v3/egld/node/asdlkfjnqunalkwjf124387ad/transaction/cost"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid method content body.","example":{"version":1,"chainId":"D","nonce":42,"value":"100000000000000000","receiver":"erd1cux02zersde0l7hhklzhywcxk4u9n4py5tdxyx7vrvhnza2r4gmq4vw35r","sender":"erd1njqj2zggfup4nl83x0nfgqjkjserm7mjyxdx5vzkm8k0gkh40ezqtfz9lg","gasPrice":1000000000,"gasLimit":70000,"data":"food for cats","signature":"93207c579bf57be03add632b0e1624a73576eeda8a1687e0fa286f03eb1a17ffb125ccdb008a264c402f074a360442c7a034e237679322f62268b614e926d10f"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid response."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Node HTTP driver","tags":["Elrond"]},"get":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based driver to connect directly to the EGLD node provided by Tatum.\nTo learn more about EGLD, visit the EGLD developer's guide.
\n","operationId":"EgldNodeGet","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"/v3/egld/node/asdlkfjnqunalkwjf12341kljl/network/config"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid response.","example":{"config":{"erd_chain_id":"1","erd_denomination":18,"erd_gas_per_data_byte":1500,"erd_latest_tag_software_version":"v1.1.0.0","erd_meta_consensus_group_size":400,"erd_min_gas_limit":50000,"erd_min_gas_price":1000000000,"erd_min_transaction_version":1,"erd_num_metachain_nodes":400,"erd_num_nodes_in_shard":400,"erd_num_shards_without_meta":3,"erd_round_duration":6000,"erd_shard_consensus_group_size":63,"erd_start_time":1596117600}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Node HTTP driver","tags":["Elrond"]}},"/v3/egld/block/current":{"get":{"description":"Get EGLD current block number. This is the number of the latest block in the blockchain.
","operationId":"EGldGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":649127}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Elrond"]}},"/v3/egld/block/{hash}":{"get":{"description":"Get EGLD block by block hash or block number. EGLD docs
","operationId":"EgldGetBlock","parameters":[{"description":"Block hash or nonce","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"a6f2ac15a6b1bafdde9afff2297cef49c4c523c516f8ee12fed54be070e9512b"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgldBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD block by hash","tags":["Elrond"]}},"/v3/egld/account/balance/{address}":{"get":{"description":"Get account balance in EGLD.
","operationId":"EgldGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in EGLD","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD Account balance","tags":["Elrond"]}},"/v3/egld/transaction/{hash}":{"get":{"description":"Get EGLD transaction by transaction hash. Detail result please find here EGLD docs
","operationId":"EgldGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"99996224823736c1e9b8484ed74c1573049478f871d6f94b86811fb1c7b2addd"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgldTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EgldBroadcast"},{"$ref":"#/components/schemas/Error403EgldGasCalculation"},{"$ref":"#/components/schemas/Error403EgldTxHash"},{"$ref":"#/components/schemas/Error403EgldTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD Transaction","tags":["Elrond"]}},"/v3/egld/transaction/address/{address}":{"get":{"description":"This endpoint allows one to retrieve the latest 20 transactions sent from an address.
\n","operationId":"EgldGetTransactionAddress","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":62,"minLength":62,"example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","description":"List of transactions sent from an address.","items":{"type":"object"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing EGLD transactions","tags":["Elrond"]}},"/v3/egld/transaction/count/{address}":{"get":{"description":"Get a number of outgoing EGLD transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"EgldGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":62,"minLength":62,"example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing EGLD transactions","tags":["Elrond"]}},"/v3/egld/transaction":{"post":{"description":"Send EGLD from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on devnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to EGLD blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"EgldBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403EgldBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed EGLD transaction","tags":["Elrond"]}},"/v3/tron/wallet":{"get":{"summary":"Generate a TRON wallet","description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/195'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/tron/bips/blob/master/bip-0044.mediawiki.\n Generate BIP44 compatible Tron wallet.
\n","operationId":"GenerateTronwallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"tags":["Tron"]}},"/v3/tron/address/{xpub}/{index}":{"get":{"description":"5 credits per API call
\nGenerate a TRON address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31.
\n","operationId":"TronGenerateAddress","parameters":[{"description":"The extended public key of the wallet; can be in the base58 format (111 characters) or the hexadecimal format (130 characters)","in":"path","name":"xpub","required":true,"example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Tron address","example":"TFFBpkRNro4Pe4154ayGWx7C6Ev7BvQZ6t"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a TRON address from the wallet's extended public key","tags":["Tron"]}},"/v3/tron/wallet/priv":{"post":{"description":"10 credits per API call
\nGenerate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"TronGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate the private key for a TRON address","tags":["Tron"]}},"/v3/tron/info":{"get":{"tags":["Tron"],"summary":"Get the current TRON block","description":"5 credits per API call
\nGet current Tron block.
\n","operationId":"TronGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"blockNumber":{"description":"Block height.","type":"number","example":26585295},"hash":{"description":"Block hash.","type":"string","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"},"testnet":{"description":"Wether the block is from mainnet of Shasta testnet","type":"boolean","example":false}}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/block/{hash}":{"get":{"tags":["Tron"],"summary":"Get a TRON block by its hash or height","description":"5 credits per API call
\nGet Tron block by hash or height.
\n","operationId":"TronGetBlock","parameters":[{"in":"path","name":"hash","required":true,"description":"Block hash or height.","schema":{"type":"string","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/account/{address}":{"get":{"tags":["Tron"],"summary":"Get the TRON account by its address","description":"5 credits per API call
\nGet Tron account by address.
\n","operationId":"TronGetAccount","parameters":[{"in":"path","name":"address","required":true,"description":"Account address","schema":{"type":"string","example":"TGDqQAP5bduoPKVgdbk7fGyW4DwEt3RRn8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/freezeBalance":{"post":{"tags":["Tron"],"summary":"Freeze the balance of a TRON account","description":"10 credits per API call
\nFreeze Tron assets on the address. By freezing assets, you can obtain energy or bandwidth to perform transactions.
\nSigning a transaction
\nWhen freezing the balance, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronFreeze","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FreezeTron"},{"$ref":"#/components/schemas/FreezeTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/unfreezeBalance":{"post":{"tags":["Tron"],"summary":"Unfreeze the balance of a TRON account","description":"10 credits per API call
\nUnfreeze Tron assets on the address. By unfreezing assets, you can unlock your staked TRX.
\nSigning a transaction
\nWhen unfreezing the balance, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronUnfreeze","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FreezeTron"},{"$ref":"#/components/schemas/FreezeTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/transaction/account/{address}":{"get":{"tags":["Tron"],"summary":"Get all transactions for a TRON account","description":"5 credits per API call
\nGet all transactions for a TRON account.
\nThis API returns up to 200 transactions in one API call. If there are more than 200 transactions for the TRON account, the response body will contain the next
parameter with the fingerprint of the transaction that follows the last (200th) transaction in the returned list.
To get the next 200 transactions, make another call using this API, but this time add the next
parameter the endpoint URL and set it to the transaction fingerprint from the next
parameter in the response, for example:
https://api.tatum.io/v3/tron/transaction/account/{address}?next=81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991
5 credits per API call
\nGet TRC-20 transactions for a TRON account.
\nThis API returns up to 200 transactions in one API call. If there are more than 200 transactions for the TRON account, the response body will contain the next
parameter with the fingerprint of the transaction that follows the last (200th) transaction in the returned list.
To get the next 200 transactions, make another call using this API, but this time add the next
parameter the endpoint URL and set it to the transaction fingerprint from the next
parameter in the response, for example:
https://api.tatum.io/v3/tron/transaction/account/{address}/trc20?next=81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991
10 credits per API call
\nSend an amount in TRX from address to address.
\nSigning a transaction
\nWhen sending TRX to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronBlockchain"},{"$ref":"#/components/schemas/TransferTronBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/transaction":{"post":{"tags":["Tron"],"summary":"Send TRC-10 tokens to a TRON account","description":"10 credits per API call
\nSend TRC-10 tokens from address to address.
\nSigning a transaction
\nWhen sending TRC-10 tokens to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransferTrc10","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronTrc10Blockchain"},{"$ref":"#/components/schemas/TransferTronTrc10BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc20/transaction":{"post":{"tags":["Tron"],"summary":"Send TRC-20 tokens to a TRON account","description":"10 credits per API call
\nSend TRC-20 tokens from address to address.
\nSigning a transaction
\nWhen sending TRC-20 tokens to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransferTrc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronTrc20Blockchain"},{"$ref":"#/components/schemas/TransferTronTrc20BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/deploy":{"post":{"tags":["Tron"],"summary":"Create a TRC-10 token","description":"10 credits per API call
\nCreate a TRON TRC-10 token.
\nOne TRON account can create only one TRC-10 token. The whole supply of the token is transferred to the issuer's account 100 seconds after the token has been created.
\nSigning a transaction
\nWhen creating a TRC-10 token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronCreateTrc10","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTronTrc10Blockchain"},{"$ref":"#/components/schemas/CreateTronTrc10BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/detail/{idOrOwnerAddress}":{"get":{"tags":["Tron"],"summary":"Get information about a TRC-10 token","description":"5 credits per API call
\nGet information about a TRON TRC-10 token.
\n","operationId":"TronTrc10Detail","parameters":[{"in":"path","name":"idOrOwnerAddress","required":true,"description":"The ID of the TRC-10 token or the address of the token's owner","schema":{"type":"string","example":"1000540"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronTrc10Detail"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc20/deploy":{"post":{"tags":["Tron"],"summary":"Create a TRC-20 token","description":"10 credits per API call
\nCreate a TRON TRC-20 capped token. A capped TRC20 token is a type of token on the TRON blockchain that has a preset limit on the total number of tokens that can be created. This limit is specified during the token creation process and cannot be exceeded. Once the limit is reached, no more tokens can be minted. This feature helps to ensure the scarcity and value of the token and can provide investors with a sense of security. It is a popular choice for fundraising, as it allows for a predetermined amount of funds to be raised through the sale of tokens, and any excess tokens that are not sold are simply not minted.
\nSigning a transaction
\nWhen creating a TRC-20 token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronCreateTrc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTronTrc20Blockchain"},{"$ref":"#/components/schemas/CreateTronTrc20BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/transaction/{hash}":{"get":{"tags":["Tron"],"summary":"Get a TRON transaction by its hash","description":"5 credits per API call
\nGet Tron transaction by hash.
\n","operationId":"TronGetTransaction","parameters":[{"in":"path","name":"hash","required":true,"description":"Transaction hash.","schema":{"type":"string","example":"81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/broadcast":{"post":{"tags":["Tron"],"summary":"Broadcast a TRON transaction","description":"5 credits per API call
\nBroadcast Tron transaction. This method is used internally from Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"TronBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronBroadcast"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/bsc/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for BSC wallet with derivation path m'/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible BSC wallet.
\n","operationId":"BscGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC wallet","tags":["BNB Smart Chain"]}},"/v3/bsc/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate BSC account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"BscGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBsc"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC account address from Extended public key","tags":["BNB Smart Chain"]}},"/v3/bsc/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"BscGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC private key","tags":["BNB Smart Chain"]}},"/v3/bsc/web3/{xApiKey}":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the BSC node provided by Tatum.\nTo learn more about BSC Web3, visit the BSC developer's guide.
\n","operationId":"BscWeb3Driver","deprecated":true,"parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["BNB Smart Chain"]}},"/v3/bsc/block/current":{"get":{"description":"1 credit per API call
\nGet BSC current block number. This is the number of the latest block in the blockchain.
\n","operationId":"BscGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["BNB Smart Chain"]}},"/v3/bsc/block/{hash}":{"get":{"description":"1 credit per API call
\nGet BSC block by block hash or block number.
\n","operationId":"BscGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC block by hash","tags":["BNB Smart Chain"]}},"/v3/bsc/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet BSC account balance in BNB. This method does not prints any balance of the BEP20 or BEP721 tokens on the account.
\n","operationId":"BscGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC Account balance","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet BSC transaction by transaction hash.
\n","operationId":"BscGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC Transaction","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing BSC transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"BscGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing BSC transactions","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction":{"post":{"description":"2 credits per API call
\nSend BNB or Tatum supported BEP20 token from account to account.
\n
Signing a transaction
\nWhen sending BNB, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferBscBlockchain"},{"$ref":"#/components/schemas/TransferBscBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscBroadcast"},{"$ref":"#/components/schemas/Error403BscGasPrice"},{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"},{"$ref":"#/components/schemas/Error403BscTxHash"},{"$ref":"#/components/schemas/Error403BscTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BSC / BEP20 from account to account","tags":["BNB Smart Chain"]}},"/v3/bsc/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on BNB Smart Chain.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallBscSmartContractReadMethod"},{"$ref":"#/components/schemas/CallBscSmartContractMethod"},{"$ref":"#/components/schemas/CallBscSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallBscSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscBroadcast"},{"$ref":"#/components/schemas/Error403BscGasPrice"},{"$ref":"#/components/schemas/Error403BscScBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"},{"$ref":"#/components/schemas/Error403BscTxHash"},{"$ref":"#/components/schemas/Error403BscTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on BNB Smart Chain","tags":["BNB Smart Chain"]}},"/v3/bsc/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to BSC blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BscBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BscBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed BSC transaction","tags":["BNB Smart Chain"]}},"/v3/kcs/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Kcs wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Kcs wallet.
\n","operationId":"KcsGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs wallet","tags":["KuCoin"]}},"/v3/kcs/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Kcs account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"KcsGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Kcs address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs account address from Extended public key","tags":["KuCoin"]}},"/v3/kcs/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"KcsGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs private key","tags":["KuCoin"]}},"/v3/kcs/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Kcs node provided by Tatum.\nTo learn more about Kcs Web3, visit the Kcs developer's guide.
\n","operationId":"KcsWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["KuCoin"]}},"/v3/kcs/block/current":{"get":{"description":"1 credit per API call
\nGet Kcs current block number. This is the number of the latest block in the blockchain.
\n","operationId":"KcsGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["KuCoin"]}},"/v3/kcs/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Kcs block by block hash or block number.
\n","operationId":"KcsGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs block by hash","tags":["KuCoin"]}},"/v3/kcs/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Kcs account balance in KCS. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"KcsGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in KCS","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs Account balance","tags":["KuCoin"]}},"/v3/kcs/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Kcs transaction by transaction hash.
\n","operationId":"KcsGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs Transaction","tags":["KuCoin"]}},"/v3/kcs/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Kcs transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"KcsGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Kcs transactions","tags":["KuCoin"]}},"/v3/kcs/transaction":{"post":{"description":"2 credits per API call
\nSend KCS from account to account.
\n
Signing a transaction
\nWhen sending KCS, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"KcsBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferKcsBlockchain"},{"$ref":"#/components/schemas/TransferKcsBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsBroadcast"},{"$ref":"#/components/schemas/Error403KcsGasPrice"},{"$ref":"#/components/schemas/Error403KcsTxBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"},{"$ref":"#/components/schemas/Error403KcsTxHash"},{"$ref":"#/components/schemas/Error403KcsTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send KCS from account to account","tags":["KuCoin"]}},"/v3/kcs/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on KuCoin Community Chain.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KcsBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallKcsSmartContractReadMethod"},{"$ref":"#/components/schemas/CallKcsSmartContractMethod"},{"$ref":"#/components/schemas/CallKcsSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsBroadcast"},{"$ref":"#/components/schemas/Error403KcsGasPrice"},{"$ref":"#/components/schemas/Error403KcsScBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"},{"$ref":"#/components/schemas/Error403KcsTxHash"},{"$ref":"#/components/schemas/Error403KcsTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on KuCoin Community Chain","tags":["KuCoin"]}},"/v3/kcs/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Kcs blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"KcsBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KcsBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Kcs transaction","tags":["KuCoin"]}},"/v3/one/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for ONE wallet with derivation path m'/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible ONE wallet.
\n","operationId":"OneGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE wallet","tags":["Harmony"]}},"/v3/one/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate ONE account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"OneGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressOne"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE account address from Extended public key","tags":["Harmony"]}},"/v3/one/address/format/{address}":{"get":{"description":"1 credit per API call
\nTransform HEX address to Bech32 format with one prefix.
\n","operationId":"OneFormatAddress","parameters":[{"description":"Address in HEX (ETH compatible) format.","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressOne"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transform HEX address to Bech32 ONE address format","tags":["Harmony"]}},"/v3/one/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"OneGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE private key","tags":["Harmony"]}},"/v3/one/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the ONE node provided by Tatum.\nTo learn more about ONE Web3, visit the ONE developer's guide.
\n","operationId":"OneWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Harmony"]}},"/v3/one/block/current":{"get":{"description":"1 credit per API call
\nGet ONE current block number. This is the number of the latest block in the blockchain.
\n","operationId":"OneGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OneBlockCurrent"}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Harmony"]}},"/v3/one/block/{hash}":{"get":{"description":"1 credit per API call
\nGet ONE block by block hash or block number.
\n","operationId":"OneGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE block by hash","tags":["Harmony"]}},"/v3/one/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet ONE account balance in ONE. This method does not prints any balance of the HRM20 or HRM721 tokens on the account.
\n","operationId":"OneGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE Account balance","tags":["Harmony"]}},"/v3/one/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet ONE transaction by transaction hash.
\n","operationId":"OneGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE Transaction","tags":["Harmony"]}},"/v3/one/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing ONE transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"OneGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing ONE transactions","tags":["Harmony"]}},"/v3/one/transaction":{"post":{"description":"2 credits per API call
\nSend ONE from account to account.
\nThe default shard 0
is used for the sender and the recipient.
Signing a transaction
\nWhen sending ONE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"OneBlockchainTransfer","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferOneBlockchain"},{"$ref":"#/components/schemas/TransferOneBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OneBroadcast"},{"$ref":"#/components/schemas/Error403OneGasPrice"},{"$ref":"#/components/schemas/Error403OneTxBody"},{"$ref":"#/components/schemas/Error403OneGasCalculation"},{"$ref":"#/components/schemas/Error403OneTxHash"},{"$ref":"#/components/schemas/Error403OneTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ONE from account to account","tags":["Harmony"]}},"/v3/one/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Harmony.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OneBlockchainSmartContractInvocation","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallOneReadSmartContractMethod"},{"$ref":"#/components/schemas/CallOneSmartContractMethod"},{"$ref":"#/components/schemas/CallOneSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OneBroadcast"},{"$ref":"#/components/schemas/Error403OneGasPrice"},{"$ref":"#/components/schemas/Error403OneScBody"},{"$ref":"#/components/schemas/Error403OneGasCalculation"},{"$ref":"#/components/schemas/Error403OneTxHash"},{"$ref":"#/components/schemas/Error403OneTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Harmony","tags":["Harmony"]}},"/v3/one/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to ONE blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"OneBroadcast","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403OneBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed ONE transaction","tags":["Harmony"]}},"/v3/xdc/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase.\nMnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.\n
\nEach address is identified by 3 main values:\n
Tatum follows BIP44 specification and generates for XDC wallet with derivation path m'/44'/550'/0'/0.\nMore about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible XDC wallet.
\n","operationId":"XdcGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC wallet","tags":["XinFin"]}},"/v3/xdc/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate XDC account deposit address from Extended public key. Deposit address is generated for the specific\nindex - each extended public key can generate up to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"XdcGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"XDC address","example":"xdca7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC account address from Extended public key","tags":["XinFin"]}},"/v3/xdc/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"XdcGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC private key","tags":["XinFin"]}},"/v3/xdc/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the XDC node provided by Tatum.\nTo learn more about XDC Web3, visit the XDC developer's guide.
\n","operationId":"XdcWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["XinFin"]}},"/v3/xdc/block/current":{"get":{"description":"1 credit per API call
\nGet XDC current block number. This is the number of the latest block in the blockchain.
\n","operationId":"XdcGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":649127}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["XinFin"]}},"/v3/xdc/block/{hash}":{"get":{"description":"1 credit per API call
\nGet XDC block by block hash or block number.
\n","operationId":"XdcGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"647065"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC block by hash","tags":["XinFin"]}},"/v3/xdc/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet account balance in XDC. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"XdcGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"xdc3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in XDC","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC Account balance","tags":["XinFin"]}},"/v3/xdc/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet XDC transaction by transaction hash.
\n","operationId":"XdcGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC Transaction","tags":["XinFin"]}},"/v3/xdc/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing XDC transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"XdcGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing XDC transactions","tags":["XinFin"]}},"/v3/xdc/transaction":{"post":{"description":"2 credits per API call
\nSend XDC or Tatum supported ERC20 token from account to account.
\n
Signing a transaction
\nWhen sending XDC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"XdcBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferXdcBlockchain"},{"$ref":"#/components/schemas/TransferXdcBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send XDC / ERC20 from account to account","tags":["XinFin"]}},"/v3/xdc/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on XinFin.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"XdcBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallXdcReadSmartContractMethod"},{"$ref":"#/components/schemas/CallXdcSmartContractMethod"},{"$ref":"#/components/schemas/CallXdcSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on XinFin","tags":["XinFin"]}},"/v3/xdc/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to XDC blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XdcBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XdcBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XDC transaction","tags":["XinFin"]}},"/v3/multitoken/deploy":{"post":{"description":"2 credits per API call
\nDeploy Multi Token Smart Contract. This method creates new ERC1155 Smart Contract (Multi Tokens) on the blockchain. Smart contract is standardized and audited.\nIt is possible to mint, burn and transfer tokens. It is also possible to mint multiple tokens at once.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen deploying a Multi Token smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"DeployMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployMultiToken"},{"$ref":"#/components/schemas/DeployMultiTokenKMS"},{"$ref":"#/components/schemas/DeployMultiTokenCelo"},{"$ref":"#/components/schemas/DeployMultiTokenCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Multi Token smart contract","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint":{"post":{"description":"2 credits per API call
\nMint a fixed amount of Multi Token and transfer it to destination account. Create and transfer any Multi Token token from smart contract defined in contractAddress. It is possible to add Metadata to the created token with a more detailed information about instead.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"MintMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MintMultiToken"},{"$ref":"#/components/schemas/MintMultiTokenKMS"},{"$ref":"#/components/schemas/MintMultiTokenCelo"},{"$ref":"#/components/schemas/MintMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint/batch":{"post":{"description":"2 credits per API call
\nCreate a fixed amount of multiple Multi Tokens Tokens and transfer them to destination account in one transaction. Create and transfer Multi Tokens tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"MintMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MintMultiTokenBatch"},{"$ref":"#/components/schemas/MintMultiTokenBatchKMS"},{"$ref":"#/components/schemas/MintMultiTokenBatchCelo"},{"$ref":"#/components/schemas/MintMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/burn":{"post":{"description":"2 credits per API call
\nBurn a fixed amount of Multi Tokens by id. This method destroys Multi Tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BurnMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnMultiToken"},{"$ref":"#/components/schemas/BurnMultiTokenKMS"},{"$ref":"#/components/schemas/BurnMultiTokenCelo"},{"$ref":"#/components/schemas/BurnMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/burn/batch":{"post":{"description":"2 credits per API call
\nBurn multiple Multi Token Tokens by id assigned to same address in one transaction. This method destroys any Multi Tokens token from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BurnMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnMultiTokenBatch"},{"$ref":"#/components/schemas/BurnMultiTokenBatchKMS"},{"$ref":"#/components/schemas/BurnMultiTokenBatchCelo"},{"$ref":"#/components/schemas/BurnMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction":{"post":{"description":"2 credits per API call
\nTransfer a certain amount of Multi Token from account to another account. Transfer Multi Tokens token from smart contract defined in contractAddress.
\nOnly 1 specific token with specified tokenId and value can be transferred. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and blockchains.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferMultiToken"},{"$ref":"#/components/schemas/TransferMultiTokenCelo"},{"$ref":"#/components/schemas/TransferMultiTokenKMS"},{"$ref":"#/components/schemas/TransferMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction/batch":{"post":{"description":"2 credits per API call
\nTransfer Multi Token Batch from account to various other accounts in one transaction. Transfer multiple Multi Tokens token from smart contract defined in contractAddress.
\nMultiple token with specified tokenIds and values can be transferred. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and BSC.\n
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferMultiTokenBatch"},{"$ref":"#/components/schemas/TransferMultiTokenBatchKMS"},{"$ref":"#/components/schemas/TransferMultiTokenBatchCelo"},{"$ref":"#/components/schemas/TransferMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint/add":{"post":{"description":"2 credits per API call
\nAdd Multi Token minter.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen adding a Multi Token minter, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AddMultiTokenMinter","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AddMultiTokenMinter"},{"$ref":"#/components/schemas/AddMultiTokenMinterKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Add a Multi Token minter","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing Multi Token transactions on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet Multi Token transaction by transaction hash.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet all Multi Tokens that a blockchain address holds. The Multi Tokens are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the amount of a specific Multi Token (minted on the smart contract specified by the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
This API is supported for the following blockchains:
\n1 credit per API call
\nFor multiple blockchain addresses, get the amount of one or multiple Multi Tokens (minted on the smart contract specified by the contractAddress
path parameter in the request endpoint URL) that those addresses hold.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet Multi Token metadata.
\nThis API is supported for the following blockchains:
\nThis endpoint is deprecated. Do not use it.
\nInstead, use this API.
1 credit per API call
\nGet Multi Token contract address from deploy transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nDeploy a fungible token smart contract on the blockchain. In a deployed smart contract, you can mint and burn fungible tokens. The whole supply of fungible tokens (the supply
parameter in the request body) will be transferred to the specified blockchain address (the address
parameter in the request body).
Additionally, you can specify the number of additional digits for the token amounts using the digits
parameter. Please note that the maximum value for the supply
parameter with added digits is within the range of uint64
.
Smart contracts are standardized and audited.
\nThis API is supported for the following blockchains:
\nYou can review the code of a deployed smart contract here.
\nSigning a transaction
\nWhen deploying a fungible token smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"Erc20Deploy","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainDeployErc20"},{"$ref":"#/components/schemas/ChainDeploySolanaSpl"},{"$ref":"#/components/schemas/ChainDeployCeloErc20"},{"$ref":"#/components/schemas/ChainDeployKcsErc20"},{"$ref":"#/components/schemas/ChainDeployAlgoErc20"},{"$ref":"#/components/schemas/ChainDeployErc20KMS"},{"$ref":"#/components/schemas/ChainDeploySolanaSplKMS"},{"$ref":"#/components/schemas/ChainDeployCeloErc20KMS"},{"$ref":"#/components/schemas/ChainDeployKcsErc20KMS"},{"$ref":"#/components/schemas/ChainDeployAlgoErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a fungible token smart contract","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/mint":{"post":{"description":"2 credits per API call
\nCreate new fungible tokens in the smart contract (the contractAddress
parameter in the request body) and transfer them to the specified blockchain address (the to
parameter in the request body). You can mint new fungible tokens only if the current supply of tokens in the smart contract is lower than the total supply set for this contract.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Mint","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainMintErc20"},{"$ref":"#/components/schemas/ChainMintErc20KMS"},{"$ref":"#/components/schemas/ChainMintKcsErc20"},{"$ref":"#/components/schemas/ChainMintKcsErc20KMS"},{"$ref":"#/components/schemas/ChainMintCeloErc20"},{"$ref":"#/components/schemas/ChainMintCeloErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/burn":{"post":{"description":"2 credits per API call
\nBurn fungible tokens. Burning fungible tokens deletes the specified supply of the tokens (the amount
parameter in the request body) from the smart contract (the contractAddress
parameter in the request body).
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Burn","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainBurnErc20"},{"$ref":"#/components/schemas/ChainBurnErc20KMS"},{"$ref":"#/components/schemas/ChainBurnKcsErc20"},{"$ref":"#/components/schemas/ChainBurnKcsErc20KMS"},{"$ref":"#/components/schemas/ChainBurnCeloErc20"},{"$ref":"#/components/schemas/ChainBurnCeloErc20KMS"},{"$ref":"#/components/schemas/ChainBurnAlgoErc20"},{"$ref":"#/components/schemas/ChainBurnAlgoErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/approve":{"post":{"description":"2 credits per API call
\nAllow a blockchain address (the spender
parameter in the request body) to transfer and burn fungible tokens on behalf of the smart contract owner.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing a blockchain address to transfer and burn fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Approve","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveErc20"},{"$ref":"#/components/schemas/ApproveErc20KMS"},{"$ref":"#/components/schemas/ApproveCeloErc20"},{"$ref":"#/components/schemas/ApproveCeloErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Allow a blockchain address to transfer and burn fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/transaction":{"post":{"description":"2 credits per API call
\nTransfer a supply of fungible tokens existing in the smart contract (the contractAddress
parameter in the request body) to the specified blockchain address (the to
parameter in the request body).
\nTransferring fungible tokens invokes the transfer()
method.
This API is supported for the following blockchains:
\nTransferring fungible tokens on Algorand
\nOn Algorand, the recipient has to agree in advance to receive your fungible tokens because Algorand charges users for storing the tokens on their addresses, and an Algorand blockchain address by default does not receive the tokens unless explicitly agreed. Before transferring the fungible tokens, make sure that the recipient has agreed to receive the NFT to their address.
Blockchain-specific APIs to transfer fungible tokens
\nYou can also use blockchain-specific APIs for transferring fungible tokens on the following blockchains:\n
Signing a transaction
\nWhen transferring fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nWhen transferring a token on Solana blockchain, this call waits for maximum 45 seconds to check whether the transaction was confirmed on chain. If the transaction was successfully added it returns a success response. Otherwise error is returned with a message:\n\"Transaction {##tx_hash##} has not been confirmed yet. The transaction could still be accepted by the Solana network. We advise to manually check if the transaction has been dropped or accepted before you try to send the transaction again\".
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Transfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainTransferEthErc20"},{"$ref":"#/components/schemas/ChainTransferSolanaSpl"},{"$ref":"#/components/schemas/ChainTransferBscBep20"},{"$ref":"#/components/schemas/ChainTransferCeloErc20Token"},{"$ref":"#/components/schemas/ChainTransferAlgoErc20"},{"$ref":"#/components/schemas/ChainTransferKcsEthErc20"},{"$ref":"#/components/schemas/ChainTransferEthErc20KMS"},{"$ref":"#/components/schemas/ChainTransferSolanaSplKMS"},{"$ref":"#/components/schemas/ChainTransferBscBep20KMS"},{"$ref":"#/components/schemas/ChainTransferCeloErc20TokenKMS"},{"$ref":"#/components/schemas/ChainTransferAlgoErc20KMS"},{"$ref":"#/components/schemas/ChainTransferKcsEthErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing transactions related to fungible tokens on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the number of the fungible tokens minted on a specific smart contract (the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet the number of all fungible tokens that a blockchain address holds across a blockchain. The tokens are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\n100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Deploy an NFT smart contract on the blockchain. In a deployed NFT smart contract, you can mint NFTs (one NFT at a time or multiple NFTs at once), burn, and transfer NFTs.
\nSmart contracts are standardized and audited. You can review the code of a deployed NFT smart contract here (if the contract is deployed on Flow) or here (if the contract is deployed on any other supported blockchain).
\nThis API is supported for the following blockchains:
\nGeneral NFT smart contracts
\nBy default, an NFT smart contract is deployed as a general NFT smart contract compatible with OpenSea royalties. This is a standard NFT contract with AccessControl
and Ownable
, enhanced with NFT batch minting. NFTs minted on this smart contract are compatible with OpenSea and its royalty structure.
\n
You can enable public minting for smart contracts. By default, public minting is disabled, which means that only the blockchain address whose private key was used to create the smart contract or the blockchain addresses added to the smart contract as NFT minters will be able to mint NFTs for the contract. To enable public minting and allow anyone to mint NFTs on top of the smart contract, deploy the contract with the publicMint
parameter set to true
in the request body.
NFT smart contracts and NFT Express
\nIf you want to use NFT Express to mint NFTs on the deployed smart contract, deploy the smart contract as a general NFT smart contract.
\nAfter you have deployed the NFT smart contract, add the Tatum minter address as an NFT minter to your smart contract.
For the complete information about using NFT Express on your smart contract, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
\nSigning a transaction
\nWhen deploying an NFT smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftDeployErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployNft"},{"$ref":"#/components/schemas/DeployNftCelo"},{"$ref":"#/components/schemas/DeployNftTron"},{"$ref":"#/components/schemas/DeployNftKMS"},{"$ref":"#/components/schemas/DeployNftCeloKMS"},{"$ref":"#/components/schemas/DeployNftTronKMS"},{"$ref":"#/components/schemas/DeployNftFlowPK"},{"$ref":"#/components/schemas/DeployNftFlowMnemonic"},{"$ref":"#/components/schemas/DeployNftTezos"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an NFT smart contract","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint/add":{"post":{"description":"2 credits per API call
\nAllow a blockchain address (the minter
parameter in the request body) to mint NFTs on your NFT smart contract (the contractAddress
parameter in the request body).
NOTE: Use this API only when you are using NFT Express with your own smart contract. For more information, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
\nDo not use this API in any other case.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing a blockchain address to mint NFTs, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftAddMinter","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AddNftMinter"},{"$ref":"#/components/schemas/AddNftMinterKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Add a blockchain address as an NFT minter to an NFT smart contract","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint":{"post":{"description":"100 credits per API call on Flow
\n2 credits per API call on the other blockchains
You can mint NFTs using either of the following methods:
\n\nNFT Express is Tatum's feature that helps you mint NFTs easier than minting natively on a blockchain.
\nWith NFT Express, you can choose whether to mint NFTs on the pre-built NFT smart contract provided by Tatum or on your own smart contract.
\nIf you want to mint NFTs using the pre-built smart contract, you do not need to deploy your own NFT smart contract. You do not need to provide the address of the NFT smart contract and the token ID in the request body either. The address of the smart contract and the token ID are provided automatically by Tatum.
The token ID is autogenerated. It starts with 0 and is increased by 1 for each new NFT. The token ID is calculated separately for each supported blockchain and its mainnet and testnet.
\nFor more information, see our user documentation.
You can mint NFTs on the pre-built smart contract provided by Tatum on the following blockchains:
\nDepending on what blockchain you use, choose the request body schema to use in the API call.
\nMintNftExpress
schema of the request body.MintNftExpressAlgorand
schema of the request body.manager
parameter.MintNftExpressTezos
schema of the request body. In order to use this function, it is necessary to deploy the contract using NFT Express transferNftAlgoExpress
schema of the request body).MintNftExpressSolana
schema of the request body.to
parameter of the request body). This address is returned in the nftAccountAddress
parameter in the response body, is owned by the recipient's address, and has the same private key.nftAddress
parameter.If you want to mint NFTs using your own smart contract, you are going to use an NTF minter, a special blockchain address provided by Tatum that will cover the minting fees. The number of credits equivalent to the fees will be then deducted from the monthly credit allowance of your paid pricing plan.\n
For more information, see our user documentation and the article in the Tatum blog.
\nYou can mint NFTs on your own smart contract on the following blockchains:
\nTo mint NFTs using your own smart contract, do the following:
\nMintNftMinter
schema of the request body.chain
is the blockchain that you use.to
is the blockchain address where to send the minted NFT to.url
is the URL of the NFT metadata.minter
is the address of the NFT minter that you found in Step 1.contractAddress
is the address of your NFT smart contract.tokenId
is the the token ID of the NFT.\n{\n \"chain\": \"CELO\",\n \"to\": \"0x8ce4e40889a13971681391aad29e88efaf91f784\",\n \"url\": \"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\",\n \"contractAddress\": \"0x687422eEA2cB73B5d3e242bA5456b782919AFc85\",\n \"tokenId\": \"0123\",\n \"minter\": \"0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F\"\n}\n\nWhen you make an API call with this request body, the private key of the NFT minter will be added to the request body automatically:\n
\n{\n \"chain\": \"CELO\",\n \"to\": \"0x8ce4e40889a13971681391aad29e88efaf91f784\",\n \"url\": \"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\",\n \"contractAddress\": \"0x687422eEA2cB73B5d3e242bA5456b782919AFc85\",\n \"tokenId\": \"0123\",\n \"minter\": \"0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F\",\n \"fromPrivateKey\": \"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2\"\n}\n\n
The following table lists the blockchain addresses of the Tatum NFT minters for the testnet and mainnet of the supported blockchains:
\nBlockchain | \nMinter address - testnet* | \nMinter address - mainnet** | \n
---|---|---|
BNB Smart Chain | \n0xc16ae5e8c985b906935a0cadf4e24f0400531883 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Celo | \n0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Ethereum | \n0x53e8577C4347C365E4e0DA5B57A589cB6f2AB848 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Harmony | \n0x8906f62d40293ddca77fdf6714c3f63265deddf0 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Klaytn | \n0x80d8bac9a6901698b3749fe336bbd1385c1f98f2 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Polygon | \n0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Horizen Eon | \n0x53e8577c4347c365e4e0da5b57a589cb6f2ab848 | \n0x625805bf8fe714589ea8c90dbc294e656104c7b3 | \n
*If a minter blockchain address on the testnet does not have sufficient funds to cover the transaction fee, add some amount to it using a crypto faucet of the blockchain.
\n**To be able to use NFT Express on the mainnet, you have to have a paid pricing plan.
For Ethereum specifically, we recommend an Enterprise Plan because transaction fees on Ethereum are very high.
When minting an NFT natively on a blockchain, you are using your own smart contract. You are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nYou can mint NFTs natively on the following blockchains:
\nDepending on what blockchain you use, choose the request body schema to use in the API call.
\nMintNftAlgorand
schema of the request body.MintNftAlgorandKMS
schema of the request body.manager
parameter.MintNft
schema of the request body.MintNftKMS
schema of the request body.MintNftCelo
schema of the request body.MintNftKMSCelo
schema of the request body.MintNftFlowPK
schema of the request body.MintNftFlowMnemonic
schema of the request body.MintNftFlowKMS
schema of the request body.MintNftSolana
schema of the request body.MintNftSolanaKMS
schema of the request body.MintNftTron
schema of the request body.MintNftKMSTron
schema of the request body.MintNftTezos
schema of the request body.100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Transfer an NFT from the smart contract (the contractAddress
parameter in the request body) to the specified blockchain address (the to
parameter in the request body).
In one API call, you can transfer only one NFT.
\nThis API is supported for the following blockchains:
\nFor Ethereum, Celo, Flare and BNB Smart Chain, transferring NFTs invokes the safeTransfer()
method.
Transferring NFTs on Algorand
\ntransferNftAlgoExpress
schema of the request body.Transferring NFTs on Solana
\nIf you want to transfer an NFT that was minted using NFT Express, use the transferNftSolana
or transferNftSolanaKMS
schema of the request body. In the request body:\n
from
parameter to the address that you used in the to
parameter in the request body of the minting call.to
parameter to the recipient's address.contractAddress
parameter to the address from the nftAddress
parameter returned in the response body of the minting call.fromPrivateKey
/signatureId
parameter to the private key/signature ID of the blockchain address that you specified in the from
parameter.Signing a transaction
\nWhen transferring an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nNOTE: This does not apply to transferring NFTs that were minted on Algorand using NFT Express (see earlier in this section).
\n","operationId":"NftTransferErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferNft"},{"$ref":"#/components/schemas/TransferNftCelo"},{"$ref":"#/components/schemas/TransferNftTron"},{"$ref":"#/components/schemas/TransferNftSolana"},{"$ref":"#/components/schemas/TransferNftAlgo"},{"$ref":"#/components/schemas/TransferNftAlgoExpress"},{"$ref":"#/components/schemas/TransferNftFlowPK"},{"$ref":"#/components/schemas/TransferNftFlowMnemonic"},{"$ref":"#/components/schemas/TransferNftTezos"},{"$ref":"#/components/schemas/TransferNftKMS"},{"$ref":"#/components/schemas/TransferNftKMSCelo"},{"$ref":"#/components/schemas/TransferNftAlgoKMS"},{"$ref":"#/components/schemas/TransferNftSolanaKMS"},{"$ref":"#/components/schemas/TransferNftFlowKMS"},{"$ref":"#/components/schemas/TransferNftKMSTron"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer an NFT","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint/batch":{"post":{"description":"100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Create multiple NFT Tokens and transfer them to destination account. Create and transfer any NFT tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\n{\n \"to\": [\"0x80d8bac9a6901698b3749fe336bbd1385c1f98f2\"],\n \"url\": [\"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\"],\n \"tokenId\": [\"9876541124516\"],\n \"contractAddress\":\"0x3cbb48f740595ed846abb641adfcd9f04588348d\",\n \"minter\": \"0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5\",\n \"chain\": \"MATIC\"\n}\nThe blockchain fee of the performed transaction is paid from the address connected with built-in private key and is debited in form of credits. The credits are debited only if NFT mint requests are performed with paid API key plan.\nWe transform fee to the credits in accordance to the rates provided by the Tatum.\nIf you want to batch mint on ERC-721 contract which is not deployed via Tatum API, your smart contract must contain this method:\n
mintMultiple(address[] to, uint256[] tokenId, string[] uri): boolean\nYou can use addresses specified in the bellow table to be used as a minter.\n
Chain | \nTestnet address | \nMainnet Address | \n
---|---|---|
MATIC | \n0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
BSC | \n0xc16ae5e8c985b906935a0cadf4e24f0400531883 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
ONE | \n0x8906f62d40293ddca77fdf6714c3f63265deddf0 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
ETH | \n0x53e8577C4347C365E4e0DA5B57A589cB6f2AB848 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
CELO | \n0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
KLAY | \n0x80d8bac9a6901698b3749fe336bbd1385c1f98f2 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Destroy an NFT. Burning the NFT transfers it to an un-spendable blockchain address that no one can access.
\nThis API is supported for the following blockchains:
\nBurning NFTs on Algorand
\nYou can burn only the NFTs that were minted with the address of the manager account specified in the manager
parameter in the minting call (see the MintNftExpressAlgorand
, MintNftAlgorand
, and MintNftAlgorandKMS
schemas of the request body).
Burning NFTs on Tezos
\nYou can burn only the NFTs if you are admin or minter of the contract
Signing a transaction
\nWhen burning an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftBurnErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnNft"},{"$ref":"#/components/schemas/BurnNftCelo"},{"$ref":"#/components/schemas/BurnNftAlgo"},{"$ref":"#/components/schemas/BurnNftTezos"},{"$ref":"#/components/schemas/BurnNftKMSCelo"},{"$ref":"#/components/schemas/BurnNftTron"},{"$ref":"#/components/schemas/BurnNftSolana"},{"$ref":"#/components/schemas/BurnNftSolanaKMS"},{"$ref":"#/components/schemas/BurnNftKMSTron"},{"$ref":"#/components/schemas/BurnNftKMS"},{"$ref":"#/components/schemas/BurnNftAlgoKMS"},{"$ref":"#/components/schemas/BurnNftFlowPK"},{"$ref":"#/components/schemas/BurnNftFlowMnemonic"},{"$ref":"#/components/schemas/BurnNftFlowKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn an NFT","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/verify":{"post":{"description":"2 credits per API call
\nVerify an NFT in an NFT collection on Solana. Verifying an NFT sets the Verified
parameter to true
for the NFT, which means that the NFT is really a part of the collection. To know more about Solana collections and verification, refer to the Solana user documentation.
The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program. The NFT must have been minted in this collection.
\nThis API is supported only for Solana.
\nSigning a transaction
\nWhen verifying an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftVerifyInCollection","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/VerifySolanaNFT"},{"$ref":"#/components/schemas/VerifySolanaNFTKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Verify an NFT in an NFT collection on Solana","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing NFT transactions on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
Get incoming and outgoing transactions for an NFT.
This API is supported for the following blockchains:
1 credit per API call
\nGet an NFT transaction by its hash.
\nThis API is supported for the following blockchains:
\n1 credit per API call + 5 credits for each owned NFT
\nGet all NFTs that a blockchain address holds. The NFTs are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\nOn Solana and Algorand, if a blockchain address holds fewer than 50 NFTs, the API also returns each NFT's metadata. If the metadata is not returned, you can obtain it using the API for getting NFT metadata.
\n","operationId":"NftGetTokensByAddressErc721","parameters":[{"description":"The blockchain to work with","in":"path","name":"chain","required":true,"schema":{"type":"string","example":"SOL","enum":["ALGO","BSC","CELO","ETH","MATIC","SOL"]}},{"description":"The blockchain address that you want to get the token balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NftTokenByAddressErc721"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get NFT balance of the wallet","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/collection/{chain}/{address}":{"get":{"description":"1 credit per API call + 5 credits for each listed NFT
\nGet all NFTs from a collection (all the NFTs that were minted on the smart contract).
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the NFTs minted on a specific smart contract (the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
NOTE: This API works only for the NFT smart contracts deployed using the Tatum smart contract API.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet metadata of an NFT.
\nThis API is supported for the following blockchains:
\nThis endpoint is deprecated. Do not use it.
\nInstead, use this API.
1 credit per API call
\nGet NFT contract address from deploy transaction.
\nThis API is supported for the following blockchains:
\n10 credits per API call
\nGet all NFTs (ERC-721 and ERC-1155) and multitokens (ERC-1155 only) of your favorite collections! Our API lets you search for all tokens on:
\nTo get started:
\nexcludeMetadata
to true
).tokenType
.excludeMetadata
and tokenType
won't have any effect on filtering data.5 credits per API call
\nGet metadata of NFTs (ERC-721 and ERC-1155) or multitokens (ERC-1155 only) by IDs for a given token address! Our API lets you search for all tokens on:
\nTo get started:
\n50 credits per API call
\nGet balances of fungible tokens (ERC-20), NFTs (ERC-721 and ERC-1155) or multitokens (ERC-1155 only) for a specific wallet address on the following blockchains:
\nTo get started:
\nexcludeMetadata
to true
).tokenTypes
.excludeMetadata
.20 credits per API call
\nGet all addresses that own your favorite token (ERC-20, ERC-721 or ERC-1155)! Our API lets you search for all token owners on:
\nTo get started:
\ntokenId
. In case of multitoken, result is an array of addresses.1 credit per API call
\nCheck if wallet address owns any specified token (ERC-20, ERC-721 or ERC-1155) on the following blockchains:
\nTo get started:
\ntrue
if provided wallet address owns them.false
and status code is 200
.tokenId
.20 credits per API call
\nGet transactions on the following blockchains:
\nTo get started:
\ntransactionTypes
and even transactionSubtype
(incoming, outgoing, zero-transfer).addresses
query parameter. Following query parameters won't have any effect on filtering data: transactionTypes
, transactionSubtype
, tokenId
, blockTo
.pageSize
and offset
query parameters. \ncursor
query parameter, by filling in the value from prevPage
or nextPage
field in the response body.5 credits per API call
\nGet transactions by hash on the following blockchains:
\nTo get started:
\n20 credits per API call
\nGet all events on given addresses and / or in the requested block range on the following blockchains:
\nTo get started:
\nAs noted above, aside from general info and hashed event data, the API also decodes them for you in case you filter by one of the following supported event types:
\ntokenTransfer
: All transfers of fungible tokens (including stablecoins) and NFTs as per ERC-20 and ERC-721 standard.multitokenTransfer
: All transfers of multitokens (both single transfers and batch transfers) as per ERC-1155 standard.stablecoinTransfer
: Refers to the transfer of specific stablecoins on the mainnet. Typically, the top 10 to 16 stablecoins on each chain according to CoinMarketCap are included. If the contractAddresses
parameter is also used in the filter combination, any tokens specified in it will also be included in the list.uniswapTrade
: Provides all swap events that occur on both Uniswap V2 and V3. In some cases, it may not be possible to map the swapped amounts to specific tokens. As a result, certain decoded data such as token amounts might be missing or in the original big number format. This will be indicated by the response parameter partiallyRaw: true
.10 credits per API call
\nGet information about blocks (when they were added, how many NFTs and events were ingested and list of transaction hashes that were processed within them) on the following blockchains:
\nTo get started, provide a chain and specify one of the filters listed below (combination of these filters is not allowed):
\n1 credit per API call
\nGet information about latest added block on the following blockchains:
\nTo get started, you can just provide a chain.
\n","operationId":"GetLatestBlock","parameters":[{"description":"The blockchain to work with.","in":"query","name":"chain","required":true,"schema":{"$ref":"#/components/schemas/ChainEnum"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockItem","description":"Latest block added to a blockchain.","example":{"blockNumber":25987956,"blockTimestamp":1677372871000,"hash":"0x047a6ab09f86c760c145dc09b7a43b74d6ad957133ba4462a5530c642d4d9f17","eventIngestedSize":351,"nftIngestedSize":7,"txHashes":["0x01a7983d1391b74305840e4960ba6c61417a9398cb938c3522d0a4a9cedf488f","0x0478fdae7e5e6f1eb522e6f43ba760c924b1f72d16e4dadc332f150829d09cbe","0x05d00f08ae523e445c3b1e7bbabec1896091234643d50e8bcdb76ddd3ff3827a","0x0b644c19257cf34ab98c509c7901af5a4ad8c6f537b625b46ee771a45f1940dc","0x0c1016bf317946d9997588ee3b932bc8ba6033cfcb83eca4b5ebcc4f5eaa076d"]}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get latest block","tags":["Data API"]}},"/v3/data/tokens":{"get":{"description":"1 credit per API call
\nGet information about your favorite token! Our API lets you search for all tokens on:
\nTo get started:
\ntokenId
as a query parameter.100 credits per API call
\nGet unspent UTXOs for a specific address up to a specific total amount.\nIf you want to prepare a transaction on UTXO-based chains like Bitcoin, you need to enter unspent UTXOs to be able to perform a transaction. By providing ```totalValue``` as a total, our API will return a list of UTXOs that will be enough to cover the transaction.
\nOur API lets you get the unpenst UTXOs for a specific address on:\nTo get started:
\n100 credits per address for each API call.
\nRetrieve unspent UTXOs for each provided address, up to a specified total amount.\nIf you want to prepare a transaction on UTXO-based chains like Bitcoin, you need to enter unspent UTXOs to be able to perform a transaction. By providing ```totalValue``` as a total, our API will return a list of UTXOs that will be enough to cover the transaction.
\nOur API lets you get the unpenst UTXOs for a specific address on:\nTo get started:
\nfromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromUTXO":{"type":"object","required":["to","fromUTXO","fee","changeAddress"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","address","amount","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"amount":{"description":"The amount of the UTXO to be spent, in ADA","type":"number","example":0,"minimum":0,"maximum":1.652},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"8873d5e84af86978f03b63d9ffc9c6f940bd8501d32e91980c904e8d81c305507dc95992faa5aefccb263b28b411eda2dde7882d922742663804a69d78182e34","minLength":128,"maxLength":128},"address":{"description":"The address that holds the UTXO to be spent","type":"string","example":"addr_test1vzfp68vn36ze5yz7x7evracmasuptjmz99qk4j23gun3pcqhlevq5","minLength":0,"maxLength":128}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromAddressKMS":{"type":"object","required":["to","fromAddress","fee","changeAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromUTXOKMS":{"type":"object","required":["to","fromUTXO","fee","changeAddres"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","signatureId","index"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"amount":{"description":"The amount of the UTXO to be spent, in ADA","type":"number","example":0,"minimum":0,"maximum":1.652},"address":{"description":"The address that holds the UTXO to be spent","type":"string","example":"addr_test1vzfp68vn36ze5yz7x7evracmasuptjmz99qk4j23gun3pcqhlevq5","minLength":0,"maxLength":128},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"BtcTransactionFromAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromAddressSource":{"type":"object","required":["address","privateKey"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS","minimum":30,"maximum":50},"privateKey":{"description":"The private key of the address to send the assets from","type":"string","minimum":52,"maximum":52,"example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf"}}},"BtcTransactionFromAddressTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaining after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromUTXOSource":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}},"BtcTransactionFromUTXOTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressKMSSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressKMSTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromAddressKMSSource":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS","minimum":30,"maximum":50},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}},"BtcTransactionFromAddressKMSTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMSSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMSTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromUTXOKMSSource":{"type":"object","required":["txHash","signatureId","index"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}},"BtcGetTxByAddressBatch":{"type":"object","properties":{"txType":{"description":"Type of the transaction to fetch - either incoming, or outgoing. If none is present - all transactions are fetched.","type":"string","example":"incoming","enum":["incoming","outgoing"]},"addresses":{"description":"Addresses","type":"array","items":{"type":"string"},"maxItems":50,"minItems":1,"example":["bc1qdj8dxppx6gyukpemsqx06a39877rt8kcc08uqs","bc1qjwqv9qqnen2gmkqm57p2tl5pqqsyh0xnr7wnk2"]}},"required":["addresses"]},"BtcTransactionFromUTXOKMSTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BchBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"000000000000000005e14d3f9fdfb70745308706615cfa9edca4f4558332b201"},"size":{"type":"number","description":"Block size.","example":81577},"height":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":500000},"version":{"type":"number","description":"Block version.","example":536870912},"merkleroot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"4af279645e1b337e655ae3286fc2ca09f58eb01efa6ab27adedd1e9e6ec19091"},"tx":{"type":"array","description":"List of transactions present in the block.","items":{"$ref":"#/components/schemas/BchTx"}},"time":{"type":"number","description":"Time of the block.","example":1509343584},"nonce":{"type":"number","description":"Arbitrary number that is used in Bitcoin's proof of work consensus algorithm.","example":3604508752},"difficulty":{"type":"number","example":113081236211.45331},"confirmations":{"type":"number","description":"Number of blocks mined after this block.","example":109602},"previousblockhash":{"type":"string","description":"Hash of the previous block.","example":"0000000000000000043831d6ebb013716f0580287ee5e5687e27d0ed72e6e523"},"nextblockhash":{"type":"string","description":"Hash of the next block.","example":"00000000000000000568f0a96bf4348847bc84e455cbfec389f27311037a20f3"}}},"BchInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"main"},"blocks":{"type":"number","description":"Last block.","example":609604},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"0000000000000000024997c878c5a90bd73cd50060877c4f70eef1f2e92243f5"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":375206303347.133}}},"BchTransaction":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BCH). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BCH)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BCH); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60}}},"BchTransactionKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BCH). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BCH)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BCH); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60}}},"BchTx":{"type":"object","properties":{"txid":{"type":"string","example":"fe28050b93faea61fa88c4c630f0e1f0a1c24d0082dd0e10d369e13212128f33"},"version":{"type":"number","example":1},"locktime":{"type":"number","example":0},"vin":{"type":"array","items":{"type":"object","properties":{"txid":{"type":"string","example":"eea57285462dd70dadcd431fc814857b3f81fe4d0a059a8c02c12fd7d33c02d1"},"vout":{"type":"number","example":0},"scriptSig":{"properties":{"hex":{"type":"string","example":"48304502210083753ff9954579f1062d60905650d5d07f50dedc96f9425403b80957f199e1ee022053625597b069c48ed29f8825bd3c8f66757ccaa21a7bb49314eae4eca1fb8d7041210299b1eedeb115b5880cd5e0df0717bd982748a8e003e34371dc36301e17ee0ed6"},"asm":{"type":"string","example":"304502210083753ff9954579f1062d60905650d5d07f50dedc96f9425403b80957f199e1ee022053625597b069c48ed29f8825bd3c8f66757ccaa21a7bb49314eae4eca1fb8d70[ALL|FORKID] 0299b1eedeb115b5880cd5e0df0717bd982748a8e003e34371dc36301e17ee0ed6"}},"type":"object"},"coinbase":{"type":"string","example":"04ffff001d02fd04"},"sequence":{"type":"number","example":2147483647}}}},"vout":{"type":"array","items":{"type":"object","properties":{"value":{"type":"number","example":50},"n":{"type":"number","example":0},"scriptPubKey":{"properties":{"hex":{"type":"string","example":"4104f5eeb2b10c944c6b9fbcfff94c35bdeecd93df977882babc7f3a2cf7f5c81d3b09a68db7f0e04f21de5d4230e75e6dbe7ad16eefe0d4325a62067dc6f369446aac"},"asm":{"type":"string","example":"04f5eeb2b10c944c6b9fbcfff94c35bdeecd93df977882babc7f3a2cf7f5c81d3b09a68db7f0e04f21de5d4230e75e6dbe7ad16eefe0d4325a62067dc6f369446a OP_CHECKSIG"},"addresses":{"type":"array","items":{"type":"string"},"example":["1BW18n7MfpU35q4MTBSk8pse3XzQF8XvzT"]},"type":{"type":"string","example":"pubkeyhash"}},"type":"object"}}}}}},"DogeInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"blocks":{"type":"number","description":"Last block.","example":1234314},"headers":{"type":"number","description":"Last headers.","example":1234314},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":0.0018856935093586335}}},"DogeBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"height":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"size":{"type":"number","description":"The size of the block.","example":1234314},"confirmations":{"type":"number","description":"Number of confirmations of that block.","example":1234314},"weight":{"type":"number","description":"The weight of the block.","example":1234314},"version":{"type":"number","example":536870912,"description":"Block version."},"previousblockhash":{"type":"string","description":"Hash of the previous block.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"merkleRoot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0"},"time":{"type":"number","description":"Time of the block.","example":1572865501},"bits":{"type":"number","example":503452237},"nonce":{"type":"number","description":"Arbitrary number that is used in Litecoin's proof of work consensus algorithm.","example":2278594841},"txs":{"type":"array","items":{"$ref":"#/components/schemas/DogeTx"}}}},"DogeTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"size":{"type":"number","description":"Size of the transaction.","example":145},"vsize":{"type":"number","example":145},"version":{"type":"number","description":"Index of the transaction.","example":2},"vin":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"txid":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"vout":{"type":"number","description":"Transaction index of the input.","example":1},"scriptSig":{"type":"object","properties":{"asm":{"type":"string"},"hex":{"type":"string"}}},"sequence":{"type":"number","example":4294967294}}}},"vout":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"number","description":"Amount of UTXO in 1/1000000 DOGE.","example":1000},"n":{"type":"number","description":"Transaction index of the output.","example":1},"scriptPubKey":{"type":"object","properties":{"asm":{"type":"string","example":"OP_HASH160 905c261d73922a21a16f505cefccaa07aaee50cd OP_EQUAL"},"hex":{"type":"string","example":"a914905c261d73922a21a16f505cefccaa07aaee50cd87"},"type":{"type":"string","example":"scripthash"},"addresses":{"type":"array","items":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}}}}},"locktime":{"type":"number","example":1233222}}},"DogeUTXO":{"type":"object","properties":{"scriptPubKey":{"type":"object","properties":{"asm":{"type":"string","example":"OP_HASH160 905c261d73922a21a16f505cefccaa07aaee50cd OP_EQUAL"},"hex":{"type":"string","example":"a914905c261d73922a21a16f505cefccaa07aaee50cd87"},"type":{"type":"string","example":"scripthash"},"addresses":{"type":"array","items":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"version":{"type":"number","description":"The version of the transaction","example":2},"height":{"type":"number","description":"The height (number) of the block where the transaction is included in","example":1233224},"value":{"type":"number","description":"The amount of the UTXO (in 1/1000000 DOGE)","example":1000},"coinbase":{"type":"boolean","description":"If set to \"true\", the transaction is a coinbase transaction (a transaction created by a Bitcoin miner to collect their reward)","example":false},"bestblock":{"type":"string","description":"The block hash","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"}}},"DogeTransactionUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","value","address","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"value":{"type":"string","description":"The amount to send (in DOGE)","example":"0.0015"},"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey","value","address"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"value":{"type":"string","description":"The amount to send (in DOGE)","example":"0.0015"},"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["privateKey","address"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["signatureId","address"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"blocks":{"type":"number","description":"Last block.","example":1234314},"headers":{"type":"number","description":"Last headers.","example":1234314},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":0.0018856935093586335}}},"LtcBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"blockNumber":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"version":{"type":"number","example":536870912,"description":"Block version."},"prevBlock":{"type":"string","description":"Hash of the previous block.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"merkleRoot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0"},"time":{"type":"number","description":"Time of the block.","example":1572865501},"bits":{"type":"number","example":503452237},"nonce":{"type":"number","description":"Arbitrary number that is used in Litecoin's proof of work consensus algorithm.","example":2278594841},"txs":{"type":"array","items":{"$ref":"#/components/schemas/LtcTx"}}}},"LtcTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"witnessHash":{"type":"string","description":"Witness hash in case of a SegWit transaction.","example":"d819688a3ac77cb6d2751808e5411baf7e20fa3eeeccf65867554a09beddd9a3"},"fee":{"type":"string","description":"Fee paid for this transaction, in LTC.","example":"0.00001682"},"rate":{"type":"string","example":"0.00010011"},"ps":{"type":"number","example":1572703011},"blockNumber":{"type":"number","description":"Height of the block this transaction belongs to.","example":1233224},"block":{"type":"string","description":"Hash of the block this transaction belongs to.","example":"b540bf37450eae0fb9fb7f190009ca890f0dd17cb19521c6241a0dc5e70f67dc"},"time":{"type":"number","description":"Time of the transaction.","example":1572694484},"index":{"type":"number","description":"Index of the transaction in the block.","example":2},"version":{"type":"number","description":"Index of the transaction.","example":2},"flag":{"type":"number","example":1},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"prevout":{"properties":{"hash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"index":{"type":"number","description":"Transaction index of the input.","example":1}},"type":"object"},"script":{"type":"string","description":"Data generated by a spender which is almost always used as variables to satisfy a pubkey script.","example":"1600148c65244f095f3689aebb70981d102e33036fe786"},"witness":{"type":"string","description":"Transaction witness.","example":"0247304402202cad8f03fd061fbdd19d285f528dd7451c3818f4a1d0f5f9f559f141fb910c6e02203fb62fc770cf54ae53e4b488b589f9f096d28c1bd24dc8e4d80783dd58041826012102c44d21e840b24c786a7eff2980e35f51c4abcc9a032e7a132ca258f90ee4a19d"},"sequence":{"type":"number","example":4294967294},"coin":{"properties":{"version":{"type":"number","example":2},"height":{"type":"number","example":1232869},"value":{"type":"string","description":"Value of the transaction, in LTC.","example":"0.0989946"},"script":{"type":"string","example":"a91472593295cfe5e7ea466e43822167cabcb2cb103387"},"address":{"type":"string","description":"Sender address.","example":"2N3fqsiA5Nk4pZGWcfZApATGhXfn9B74oXK"},"coinbase":{"type":"boolean","description":"Coinbase transaction - miner fee.","example":false}},"type":"object"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in LTC.","example":"0.0015"},"script":{"type":"string","description":"Transaction script.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"locktime":{"type":"number","description":"Block this transaction was included in.","example":1233222}}},"DogeTxByAddress":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"witnessHash":{"type":"string","description":"Witness hash in case of a SegWit transaction.","example":"d819688a3ac77cb6d2751808e5411baf7e20fa3eeeccf65867554a09beddd9a3"},"fee":{"type":"string","description":"Fee paid for this transaction, in DOGE.","example":"0.00001682"},"rate":{"type":"string","example":"0.00010011"},"ps":{"type":"number","example":1572703011},"blockNumber":{"type":"number","description":"Height of the block this transaction belongs to.","example":1233224},"block":{"type":"string","description":"Hash of the block this transaction belongs to.","example":"b540bf37450eae0fb9fb7f190009ca890f0dd17cb19521c6241a0dc5e70f67dc"},"time":{"type":"number","description":"Time of the transaction.","example":1572694484},"index":{"type":"number","description":"Index of the transaction in the block.","example":2},"version":{"type":"number","description":"Index of the transaction.","example":2},"flag":{"type":"number","example":1},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"prevout":{"properties":{"hash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"index":{"type":"number","description":"Transaction index of the input.","example":1}},"type":"object"},"script":{"type":"string","description":"Data generated by a spender which is almost always used as variables to satisfy a pubkey script.","example":"1600148c65244f095f3689aebb70981d102e33036fe786"},"witness":{"type":"string","description":"Transaction witness.","example":"0247304402202cad8f03fd061fbdd19d285f528dd7451c3818f4a1d0f5f9f559f141fb910c6e02203fb62fc770cf54ae53e4b488b589f9f096d28c1bd24dc8e4d80783dd58041826012102c44d21e840b24c786a7eff2980e35f51c4abcc9a032e7a132ca258f90ee4a19d"},"sequence":{"type":"number","example":4294967294},"coin":{"properties":{"version":{"type":"number","example":2},"height":{"type":"number","example":1232869},"value":{"type":"string","description":"Value of the transaction, in DOGE.","example":"0.0989946"},"script":{"type":"string","example":"a91472593295cfe5e7ea466e43822167cabcb2cb103387"},"address":{"type":"string","description":"Sender address.","example":"2N3fqsiA5Nk4pZGWcfZApATGhXfn9B74oXK"},"coinbase":{"type":"boolean","description":"Coinbase transaction - miner fee.","example":false}},"type":"object"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in DOGE.","example":"0.0015"},"script":{"type":"string","description":"Transaction script.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"locktime":{"type":"number","description":"Block this transaction was included in.","example":1233222}}},"LtcUTXO":{"type":"object","properties":{"version":{"type":"number","description":"The version of the transaction","example":2},"height":{"type":"number","description":"The height (number) of the block where the transaction is included in","example":1233224},"value":{"type":"number","description":"The amount of the UTXO","example":30000000},"script":{"type":"string","description":"Data generated by the spender; is almost always used as variables to satisfy the conditions in the pubkey script","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"The blockchain address of the UTXO owner","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"},"coinbase":{"type":"boolean","description":"If set to \"true\", the transaction is a coinbase transaction (a transaction created by a Bitcoin miner to collect their reward)","example":false},"hash":{"type":"string","description":"The hash of the transaction","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"index":{"type":"number","description":"The index of the transaction output checked for the UTXO","example":0}}},"LtcTransactionAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","privateKey"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","minimum":30,"maximum":50,"example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS"},"privateKey":{"description":"The private key of the address to send the assets from","type":"string","minimum":52,"maximum":52,"example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf"}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","minimum":30,"maximum":50,"example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS"},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"AdaBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"number":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"epochNo":{"type":"number","example":536870912,"description":"Number of the epoch the block is included in."},"slotNo":{"type":"number","description":"Number of the slot the block is included in.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"forgedAt":{"type":"string","description":"Time of the block.","example":"2020-10-20T08:21:50.107Z"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/AdaTx"}}}},"AdaTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"fee":{"type":"string","description":"Fee paid for this transaction, in ADA.","example":"0.00001682"},"block":{"type":"object","properties":{"number":{"type":"number","description":"Index of the block this transaction belongs to.","example":1233224},"hash":{"type":"string","description":"Block hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"}}},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"txHash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"value":{"type":"string","description":"Value of the transaction, in Lovelace - 1/1000000 of ADA.","example":"989946"},"address":{"type":"string","description":"Sender address.","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"$ref":"#/components/schemas/AdaUTXO"}}}},"AdaUTXO":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in ADA.","example":"1.5"},"index":{"type":"number","description":"Index of the output in the transaction.","example":1},"txHash":{"type":"string","description":"Transaction hash.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"}}},"AdaAccountBalance":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"object","properties":{"symbol":{"type":"string","description":"Name of the asset."},"decimals":{"type":"number","description":"Number of decimal places."}}},"value":{"type":"string","description":"Quantity of the asset."}}}},"AdaTransaction":{"type":"object","required":["to"],"properties":{"fromAddress":{"description":"Array of addresses and corresponding private keys. Tatum will automatically scan last unspent transactions for each address and will use all of the unspent values. We advise to use this option if you have 1 address per 1 transaction only.","type":"array","items":{"type":"object","required":["address"],"properties":{"address":{"description":"Address to send assets from.","type":"string","minimum":30,"maximum":150,"example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"},"privateKey":{"description":"Private key of the address to send assets from. Private key, or signature Id must be present.","type":"string","minimum":192,"maximum":192,"example":"7808a501e1bbc9926ac8ac6981e47cb0401288ae331a1f2333d1bed46c5b3051b5f875c39477b05bc3a43a3800b763f616ae3646f21df0ab5d95db944e71f5cfa8082d5c4e6241d49b17b2b6173f01bb3fd03be012cc8908ceea9e559e33e4fc"},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}}}},"fromUTXO":{"description":"Array of transaction hashes, index of UTXO in it and corresponding private keys. Use this option if you want to calculate amount to send manually. Either fromUTXO or fromAddress must be present.","type":"array","items":{"type":"object","required":["txHash","index"],"properties":{"txHash":{"description":"Transaction hash of the UTXO to be spent.","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"Index of the UTXO to be spent.","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"Private key of the UTXO to be spent. Private key, or signature Id must be present.","type":"string","example":"7808a501e1bbc9926ac8ac6981e47cb0401288ae331a1f2333d1bed46c5b3051b5f875c39477b05bc3a43a3800b763f616ae3646f21df0ab5d95db944e71f5cfa8082d5c4e6241d49b17b2b6173f01bb3fd03be012cc8908ceea9e559e33e4fc","minLength":192,"maxLength":192},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}}}},"to":{"description":"Array of addresses and values to send Litecoins to. Values must be set in LTC. Difference between from and to is transaction fee.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"Destination address.","type":"string","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9","minimum":30,"maximum":150},"value":{"description":"Amount to be sent, in ADA.","type":"number","minimum":0,"example":0.029609}}}}}},"AdaInfo":{"type":"object","properties":{"testnet":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"tip":{"type":"object","properties":{"number":{"type":"number","description":"Last block.","example":2749845},"slotNo":{"type":"number","description":"Last slot number.","example":31798572},"epoch":{"type":"object","properties":{"number":{"type":"number","description":"Last epoch number.","example":143}}}}}}},"Blockage":{"properties":{"id":{"description":"The ID of the blockage","type":"string","example":"5e68c66581f2ee32bc354087"},"accountId":{"description":"The ID of the account where the amount is blocked","type":"string","example":"5e68c66581f2ee32bc354087"},"amount":{"description":"The amount blocked on the account","example":"5","type":"string"},"type":{"description":"The type of the blockage","type":"string","example":"DEBIT_CARD_OP"},"description":{"description":"The description of the blockage","type":"string","example":"Card payment in the shop."}}},"BlockAmount":{"properties":{"amount":{"description":"The amount to be blocked on the account","maxLength":38,"pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","example":"5","type":"string"},"type":{"description":"The type of the blockage that you are applying; can be a code or an identifier from an external system or a short description of the blockage","type":"string","minLength":1,"maxLength":100,"example":"DEBIT_CARD_OP"},"description":{"description":"The description of the blockage that you are applying","type":"string","minLength":1,"maxLength":300,"example":"Card payment in the shop."}},"required":["amount","type"],"type":"object"},"BroadcastKMS":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"signatureId":{"description":"ID of prepared payment template to sign. Required only, when broadcasting transaction signed by Tatum KMS.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","minimum":0,"maximum":2147483647}},"required":["txData"],"type":"object"},"HmacWebHook":{"properties":{"hmacSecret":{"description":"Your HMAC secret password, which is used for signing the webhook payload.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string","maxLength":100}},"required":["hmacSecret"],"type":"object"},"Broadcast":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"signatureId":{"type":"string","minLength":24,"maxLength":24,"example":"5e68c66581f2ee32bc354087","description":"Identifier of KMS pending transaction ID to be completed with the broadcast."}},"required":["txData"],"type":"object"},"BroadcastResponse":{"properties":{"completed":{"description":"Flag, if withdrawal is successfully completed within Tatum systems.","example":true,"type":"boolean"},"txId":{"description":"Transaction ID of broadcast transaction and status","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","type":"string"}},"type":"object"},"BroadcastWithdrawal":{"properties":{"currency":{"description":"Currency of signed transaction to be broadcast, BTC, LTC, DOGE, BNB, XLM, TRX, BCH, ETH, XRP, ERC20, TRC20","example":"BTC","maxLength":40,"minLength":2,"type":"string"},"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"withdrawalId":{"description":"Withdrawal ID to be completed by transaction broadcast","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"required":["txData","currency"],"type":"object"},"Id":{"type":"object","properties":{"id":{"type":"string","description":"ID of the entity.","example":"5e68c66581f2ee32bc354087"}}},"CreateAccountBatch":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/CreateAccount"}}},"required":["accounts"]},"CreateAccount":{"properties":{"currency":{"description":"The currency for the virtual account
\nThe currency for the virtual account
\naccountingCurrency
parameter at the account level.","default":"EUR","example":"USD","$ref":"#/components/schemas/FiatCurrency"},"customerCountry":{"description":"The ISO 3166-1 code of the country that the customer has to be compliant with","example":"US","maxLength":2,"minLength":2,"type":"string"},"providerCountry":{"description":"The ISO 3166-1 code of the country that the service provider has to be compliant with","example":"US","maxLength":2,"minLength":2,"type":"string"}},"required":["externalId"],"type":"object","description":"If a customer with the specified external ID does not exist, a new customer is created. If a customer with the specified external ID exists, it is updated with the provided information."},"CustomerUpdate":{"properties":{"externalId":{"description":"External customer ID. If not set, it will not be updated.","example":"123654","maxLength":100,"minLength":1,"type":"string"},"accountingCurrency":{"description":"All transaction will be accounted in this currency for all accounts. Currency can be overridden per account level. If not set, it will not be updated. ISO-4217","example":"USD","$ref":"#/components/schemas/FiatCurrency"},"customerCountry":{"description":"Country customer has to be compliant with. If not set, it will not be updated. ISO-3166-1.","example":"US","$ref":"#/components/schemas/CountryCode","type":"string"},"providerCountry":{"description":"Country service provider has to be compliant with. If not set, it will not be updated. ISO-3166-1","example":"US","$ref":"#/components/schemas/CountryCode"}},"type":"object","required":["externalId"]},"DeployErc20OffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","mnemonic","index"]},"DeployErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployErc20OffchainPKXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","privateKey"]},"DeployErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","signatureId"]},"DeployErc20OffchainKMSXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","signatureId"]},"DeployKCSErc20OffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"Mnemonic to generate private key for the deploy account of ERC20, from which the gas will be paid (index will be used). If address is not present, mnemonic is used to generate xpub and index is set to 1. Either mnemonic and index or privateKey and address must be present, not both.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"derivation index of address to pay for deployment of ERC20","example":0,"type":"integer","maximum":2147483647},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","mnemonic","index"]},"DeployKCSErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"Mnemonic to generate private key for the deploy account of ERC20, from which the gas will be paid (index will be used). If address is not present, mnemonic is used to generate xpub and index is set to 1. Either mnemonic and index or privateKey and address must be present, not both.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"derivation index of address to pay for deployment of ERC20","example":0,"type":"integer","maximum":2147483647},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployKCSErc20OffchainPKXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"privateKey":{"description":"Private key of Ethereum account address, from which gas for deployment of ERC20 will be paid. Private key, mnemonic or signature Id must be present.","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","privateKey"]},"DeployKCSErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"privateKey":{"description":"Private key of Ethereum account address, from which gas for deployment of ERC20 will be paid. Private key, mnemonic or signature Id must be present.","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployKCSErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the mnemonic / private key associated in signing application.\nWhen hash identifies mnemonic, index must be present to represent specific account to pay from.\nPrivate key, mnemonic or signature Id must be present.\n"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","address","signatureId"]},"DeployKCSErc20OffchainKMSXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the mnemonic / private key associated in signing application.\nWhen hash identifies mnemonic, index must be present to represent specific account to pay from.\nPrivate key, mnemonic or signature Id must be present.\n"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","signatureId"]},"DeployAlgoErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"artist alarm clerk obscure timber firm reopen provide ankle vicious exhibit waste math toilet believe puppy lucky coast post kind black suspect mule able market","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployAlgoErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":103,"minLength":103,"example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployAlgoErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","signatureId"]},"TransferAlgoErc20":{"type":"object","properties":{"senderAccountId":{"maxLength":24,"minLength":24,"description":"The ID of the virtual account to send the ERC-20-equivalent Algorand tokens from","example":"61b3bffddfb389cde19c73be","type":"string"},"address":{"description":"The blockchain address to send the ERC-20-equivalent Algorand tokens to","example":"5YVZBUH3STSQ5ABCTLEIEIJ7QOZFILM2DLAEEA4ZL6CU55ODZIQXO5EMYM","maxLength":58,"minLength":58,"type":"string"},"amount":{"description":"The amount of the ERC-20-equivalent Algorand tokens to send","maxLength":38,"example":"10000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"privateKey":{"maxLength":103,"minLength":103,"description":"The secret of the Algorand wallet (account). Secret, or signature Id must be present.","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q","type":"string"},"compliant":{"description":"Compliance check; if the withdrawal is not compliant, it will not be processed","example":false,"type":"boolean"},"paymentId":{"description":"The identifier of the token transfer that is shown on the virtual account for the created transaction","example":"1234","maxLength":100,"minLength":1,"type":"string"},"senderNote":{"maxLength":500,"minLength":1,"description":"The note for the recipient; must not contain spaces","example":"Helloworld","type":"string"}},"required":["senderAccountId","address","privateKey","amount","fee"]},"DeployTrcOffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","example":6,"minimum":0,"type":"number"},"type":{"description":"The type of the token","example":"TRC10","type":"string","enum":["TRC10","TRC20"]},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key of the TRON wallet from which a deposit address for the virtual account will be generated","maxLength":130,"minLength":130,"example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic of the TRON wallet to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forsymbol
parameter of the smart contract that you are going to deploy or have already deployed for this token.","example":"MY_TOKEN","maxLength":30,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"1000000.0","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","minimum":0,"example":8,"type":"number"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key of the wallet from which a deposit address for the virtual account will be generatedErc20Address
schema of this API.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"accountingCurrency":{"description":"The ISO 4217 code of the currency in which all transactions for the created virtual account will be billed","default":"USD","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["symbol","supply","decimals","description","basePair","derivationIndex","xpub"],"type":"object"},"Erc20Address":{"properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchainsymbol
parameter of the smart contract that you are going to deploy or have already deployed for this token.","example":"MY_TOKEN","maxLength":30,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"1000000.0","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","minimum":0,"example":8,"type":"number"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":44,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"accountingCurrency":{"description":"AThe ISO 4217 code of the currency in which all transactions for the created virtual account will be billed","default":"USD","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["symbol","supply","decimals","description","basePair","address"],"type":"object"},"Erc20Response":{"properties":{"accountId":{"description":"The ID of the created virtual account with the currency set to the token name (the symbol
parameter of the request body)symbol
parameter of the request body)","type":"string","example":"5e68c66581f2ee32bc354087"},"address":{"description":"The deposit address of the virtual account","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW","type":"string"}},"type":"object"},"DeployErc20Response":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20/BEP20 token symbol. Account will be unfrozen when ERC20/BEP20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"txId":{"description":"TX hash of successful transaction. From this transaction receipt contract address can be obtained.","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"}},"type":"object","required":["accountId","txId"]},"DeployErc20SignatureResponse":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20/BEP20 token symbol. Account will be unfrozen when ERC20/BEP20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"type":"object","required":["accountId","signatureId"]},"DeployAlgoErc20Response":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20 token symbol. Account will be unfrozen when ERC20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"txId":{"description":"TX hash of successful transaction. From this transaction receipt contract address can be obtained.","example":"JGDMW6F6BUWQLFXDEPZIUO5WCTQOL3QV7KZ2SBV44K5WE6SSNN7Q","type":"string"}},"type":"object","required":["accountId","txId"]},"DeployAlgoErc20SignatureResponse":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20 token symbol. Account will be unfrozen when ERC20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"type":"object","required":["accountId","signatureId"]},"Error":{"properties":{"errorCode":{"description":"payment.amount.notNull","type":"string"},"message":{"description":"Payment amount must be greater than 0.","type":"string"},"statusCode":{"description":"403","type":"number"}},"required":["errorCode","message"],"type":"object"},"Error400":{"properties":{"errorCode":{"example":"validation.failed","description":"validation.failed","type":"string"},"message":{"example":"Request validation failed. Please see data for additional information.","description":"Request validation failed. Please see data for additional information.","type":"string"},"statusCode":{"example":400,"description":"400","type":"number"},"data":{"type":"array","items":{"type":"object","required":["target"],"properties":{"target":{"type":"object","additionalProperties":true,"description":"Request object present in the body of the HTTP request","example":{"property":12345}},"value":{"type":"number","description":"Value of the target object which validation is wrong. Can be of any data type, example here is using type number.","example":12345},"property":{"type":"string","description":"Property name of the target object which validation is wrong","example":"property1"},"constraints":{"type":"object","additionalProperties":true,"description":"Object of failed constraints for the target object. Key is the constraint, value is detailed description of the failed constraint.","example":{"min":"property1 must not be less than 50000"}}}}}},"required":["errorCode","message","statusCode","data"],"type":"object"},"Error401Invalid":{"properties":{"errorCode":{"example":"subscription.invalid","description":"subscription.invalid","type":"string"},"message":{"example":"Unable to find valid subscription for '${apiKey}'","description":"Unable to find valid subscription for '${apiKey}'","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error401NotActive":{"properties":{"errorCode":{"example":"subscription.not.active","description":"subscription.not.active","type":"string"},"message":{"example":"Subscription not active anymore.","description":"Subscription not active anymore.","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ComplianceBtc":{"properties":{"errorCode":{"description":"compliance.country.btc.not.supported","example":"compliance.country.btc.not.supported","type":"string"},"message":{"description":"Customer country not supported for BTC.","example":"Customer country not supported for BTC.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Libra":{"properties":{"errorCode":{"description":"libra.request.failed","example":"libra.request.failed","type":"string"},"message":{"description":"${error}","example":"${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthBroadcast":{"properties":{"errorCode":{"description":"ethereum.broadcast.failed","example":"ethereum.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxNotFound":{"properties":{"errorCode":{"description":"tx.missing","example":"tx.missing","type":"string"},"message":{"description":"No such tx.","example":"No such tx.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error404TxNotFound":{"properties":{"errorCode":{"description":"tx.not.found","example":"tx.not.found","type":"string"},"message":{"description":"Transaction not found. Possible not exists or is still pending.","example":"Transaction not found. Possible not exists or is still pending.","type":"string"},"statusCode":{"description":"404","example":404,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20Unsupported":{"properties":{"errorCode":{"description":"eth.erc20.unsupported","example":"eth.erc20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxHash":{"properties":{"errorCode":{"description":"eth.transaction.hash","example":"eth.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxSign":{"properties":{"errorCode":{"description":"eth.transaction.sign","example":"eth.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20TxSign":{"properties":{"errorCode":{"description":"eth.erc20.sign","example":"eth.erc20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc721TxSign":{"properties":{"errorCode":{"description":"eth.erc721.sign","example":"eth.erc721.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc721Call":{"properties":{"errorCode":{"description":"eth.erc721.failed","example":"eth.erc721.failed","type":"string"},"message":{"description":"Unable to obtain information for token. ${error}","example":"Unable to obtain information for token. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthGasCalculation":{"properties":{"errorCode":{"description":"eth.transaction.gas","example":"eth.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxBody":{"properties":{"errorCode":{"description":"ethereum.transaction.body","example":"ethereum.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthScBody":{"properties":{"errorCode":{"description":"ethereum.sc.invalid","example":"ethereum.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ComplianceEth":{"properties":{"errorCode":{"description":"compliance.country.eth.not.supported","example":"compliance.country.eth.not.supported","type":"string"},"message":{"description":"Customer country not supported for ETH.","example":"Customer country not supported for ETH.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountTestnet":{"properties":{"errorCode":{"description":"account.blockchain.testnet","example":"account.blockchain.testnet","type":"string"},"message":{"description":"Unable to create account, unsupported testnet blockchain.","example":"Unable to create account, unsupported testnet blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountXpub":{"properties":{"errorCode":{"description":"account.xpub.present","example":"account.xpub.present","type":"string"},"message":{"description":"Unable to create ${account.currency} account with xpub.","example":"Unable to create ${account.currency} account with xpub.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressXpub":{"properties":{"errorCode":{"description":"account.xpub.present","example":"account.xpub.present","type":"string"},"message":{"description":"Xpub assigned to account, it is not possible to assign address. Use generateAddress method instead.","example":"Xpub assigned to account, it is not possible to assign address. Use generateAddress method instead.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCurrency":{"properties":{"errorCode":{"description":"ledger.currency.invalid","example":"ledger.currency.invalid","type":"string"},"message":{"description":"Unable to create an account, unsupported currency.","example":"Unable to create an account, unsupported currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountIncompatibleXpub":{"properties":{"errorCode":{"description":"account.xpub.incompatible","example":"account.xpub.incompatible","type":"string"},"message":{"description":"Xpub not compatible with account currency.","example":"Xpub not compatible with account currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountIncompatibleXpubBtc":{"properties":{"errorCode":{"description":"Address.generation.failed.wrong.xpub","example":"address.generation.failed.wrong.xpub","type":"string"},"message":{"description":"Unable to generate address, wrong xpub and account type.","example":"Unable to generate address, wrong xpub and account type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountAddressGeneral":{"properties":{"errorCode":{"description":"Address.generation.failed","example":"address.generation.failed","type":"string"},"message":{"description":"Unable to generate address.","example":"Unable to generate address.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbFailed":{"properties":{"errorCode":{"description":"bnb.failed","example":"bnb.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbAddressFailed":{"properties":{"errorCode":{"description":"Address.bnb.generation.failed.wrong.xpub","example":"address.bnb.generation.failed.wrong.xpub","type":"string"},"message":{"description":"Unable to generate BNB address, wrong xpub and account type.","example":"Unable to generate BNB address, wrong xpub and account type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbBroadcatSigFailed":{"properties":{"errorCode":{"description":"bnb.broadcast.bad.signature","example":"bnb.broadcast.bad.signature","type":"string"},"message":{"description":"Unable to broadcast BNB transaction, bad signature.","example":"Unable to broadcast BNB transaction, bad signature.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbTxStateFailed":{"properties":{"errorCode":{"description":"bnb.broadcast.failed.tx.state","example":"bnb.broadcast.failed.tx.state","type":"string"},"message":{"description":"Unable to broadcast BNB transaction, tx ${hash} state not OK.","example":"Unable to broadcast BNB transaction, tx ${hash} state not OK.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbTxFailed":{"properties":{"errorCode":{"description":"bnb.transfer.failed","example":"bnb.transfer.failed","type":"string"},"message":{"description":"Unable to transfer funds. ${error}","example":"Unable to transfer funds. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTxFailed":{"properties":{"errorCode":{"description":"transaction.failed","example":"transaction.failed","type":"string"},"message":{"description":"No spendable inputs.","example":"No spendable inputs.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTx":{"properties":{"errorCode":{"description":"transaction.invalid.body","example":"transaction.invalid.body","type":"string"},"message":{"description":"Either UTXO, or addresses must be present.","example":"Either UTXO, or addresses must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountNotExists":{"properties":{"errorCode":{"description":"account.not.exists","example":"account.not.exists","type":"string"},"message":{"description":"No such account.","example":"No such account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockageNotExists":{"properties":{"errorCode":{"description":"blockage.not.exists","example":"blockage.not.exists","type":"string"},"message":{"description":"No such blockage.","example":"No such blockage.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockageAmount":{"properties":{"errorCode":{"description":"blockage.amount.exceeded","example":"blockage.amount.exceeded","type":"string"},"message":{"description":"Amount to transfer is greater then amount of the blockage.","example":"Amount to transfer is greater then amount of the blockage.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionNotExists":{"properties":{"errorCode":{"description":"subscription.not.exists","example":"subscription.not.exists","type":"string"},"message":{"description":"No such subscription.","example":"No such subscription.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionType":{"properties":{"errorCode":{"description":"subscription.type.invalid","example":"subscription.type.invalid","type":"string"},"message":{"description":"Invalid subscription type.","example":"Invalid subscription type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionCurrency":{"properties":{"errorCode":{"description":"subscription.attr.currency.invalid","example":"subscription.attr.currency.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'currency'.","example":"Invalid subscription attribute 'currency'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionInterval":{"properties":{"errorCode":{"description":"subscription.attr.interval.invalid","example":"subscription.attr.interval.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'interval'.","example":"Invalid subscription attribute 'interval'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionBalance":{"properties":{"errorCode":{"description":"subscription.attr.balance.invalid","example":"subscription.attr.balance.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'limit' or 'typeOfBalance'.","example":"Invalid subscription attribute 'limit' or 'typeOfBalance'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionId":{"properties":{"errorCode":{"description":"subscription.attr.incoming.invalid","example":"subscription.attr.incoming.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'id' or 'url'.","example":"Invalid subscription attribute 'id' or 'url'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionPendingId":{"properties":{"errorCode":{"description":"subscription.attr.pending.invalid","example":"subscription.attr.pending.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'id' or 'url'.","example":"Invalid subscription attribute 'id' or 'url'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ReportNotAvailable":{"properties":{"errorCode":{"description":"report.invalid","example":"report.invalid","type":"string"},"message":{"description":"Unsupported report type.","example":"Unsupported report type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountInactive":{"properties":{"errorCode":{"description":"account.inactive","example":"account.inactive","type":"string"},"message":{"description":"Unable to deactivate inactive account.","example":"Unable to deactivate inactive account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountActive":{"properties":{"errorCode":{"description":"account.active","example":"account.active","type":"string"},"message":{"description":"Unable to activate active account.","example":"Unable to activate active account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountFrozen":{"properties":{"errorCode":{"description":"account.frozen","example":"account.frozen","type":"string"},"message":{"description":"Unable to freeze frozen account.","example":"Unable to freeze frozen account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountNotFrozen":{"properties":{"errorCode":{"description":"account.not.frozen","example":"account.not.frozen","type":"string"},"message":{"description":"Unable to unfreeze unfrozen account.","example":"Unable to unfreeze unfrozen account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerInternalNotExists":{"properties":{"errorCode":{"description":"customer.internal.not.exists","example":"customer.internal.not.exists","type":"string"},"message":{"description":"No such customer.","example":"No such customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerActive":{"properties":{"errorCode":{"description":"customer.active","example":"customer.active","type":"string"},"message":{"description":"Unable to activate active customer.","example":"Unable to activate active customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerInactive":{"properties":{"errorCode":{"description":"customer.inactive","example":"customer.inactive","type":"string"},"message":{"description":"Unable to perform operation on inactive customer.","example":"Unable to perform operation on inactive customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerDisabled":{"properties":{"errorCode":{"description":"customer.disabled","example":"customer.disabled","type":"string"},"message":{"description":"Unable to disable disabled customer.","example":"Unable to disable disabled customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerEnabled":{"properties":{"errorCode":{"description":"customer.enabled","example":"customer.enabled","type":"string"},"message":{"description":"Unable to enable enabled customer.","example":"Unable to enable enabled customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerDeactivateActiveAccounts":{"properties":{"errorCode":{"description":"customer.deactivate.account.active","example":"customer.deactivate.account.active","type":"string"},"message":{"description":"Unable to deactivate customer, accounts not deactivated.","example":"Unable to deactivate customer, accounts not deactivated.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerNotExists":{"properties":{"errorCode":{"description":"customer.not.exists","example":"customer.not.exists","type":"string"},"message":{"description":"No customer with given external ID ${externalId} exists.","example":"No customer with given external ID ${externalId} exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockDelete":{"properties":{"errorCode":{"description":"customer.blockage.inactive","example":"customer.blockage.inactive","type":"string"},"message":{"description":"Unable to delete blockages on account for inactive customer.","example":"Unable to delete blockages on account for inactive customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerNotActive":{"properties":{"errorCode":{"description":"customer.not.active","example":"customer.not.active","type":"string"},"message":{"description":"Customer not active.","example":"Customer not active.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCNoAccount":{"properties":{"errorCode":{"description":"virtual.account.notValid","example":"virtual.account.notValid","type":"string"},"message":{"description":"Unable to perform operation on virtual currency, account does not exists.","example":"Unable to perform operation on virtual currency, account does not exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCTxFailed":{"properties":{"errorCode":{"description":"virtual.tx.failed","example":"virtual.tx.failed","type":"string"},"message":{"description":"Unable to perform operation on virtual currency, impossible to store transaction.","example":"Unable to perform operation on virtual currency, impossible to store transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCRevokeBalance":{"properties":{"errorCode":{"description":"virtual.account.balance","example":"virtual.account.balance","type":"string"},"message":{"description":"Insufficient balance to revoke virtual currency on account.","example":"Insufficient balance to revoke virtual currency on account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCCreateFailed":{"properties":{"errorCode":{"description":"virtual.creation.error","example":"virtual.creation.error","type":"string"},"message":{"description":"It is not possible to create virtual currency.","example":"It is not possible to create virtual currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCPrefix":{"properties":{"errorCode":{"description":"virtual.name.prefix","example":"virtual.name.prefix","type":"string"},"message":{"description":"Virtual currency has wrong name, must start with VC_.","example":"Virtual currency has wrong name, must start with VC_.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCDuplicate":{"properties":{"errorCode":{"description":"virtual.duplicate","example":"virtual.duplicate","type":"string"},"message":{"description":"Virtual currency with given name already exists.","example":"Virtual currency with given name already exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCustomerInactive":{"properties":{"errorCode":{"description":"account.customer.inactive","example":"account.customer.inactive","type":"string"},"message":{"description":"Unable to activate account, customer inactive.","example":"Unable to activate account, customer inactive.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountBalanceNonZero":{"properties":{"errorCode":{"description":"account.balance.non.zero","example":"account.balance.non.zero","type":"string"},"message":{"description":"Unable to deactivate account with non-zero balance.","example":"Unable to deactivate account with non-zero balance.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TradeBalanceNonZero":{"properties":{"errorCode":{"description":"account.trade.non.zero","example":"account.trade.non.zero","type":"string"},"message":{"description":"Unable to deactivate account with non-zero exchange trades.","example":"Unable to deactivate account with non-zero exchange trades.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AmountFormat":{"properties":{"errorCode":{"description":"amount.format","example":"amount.format","type":"string"},"message":{"description":"Amount has incorrect format.","example":"Amount has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403RecipientFormat":{"properties":{"errorCode":{"description":"withdrawal.recipient.format","example":"withdrawal.recipient.format","type":"string"},"message":{"description":"Recipient blockchain address has incorrect format.","example":"Recipient blockchain address has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCurrencyVC":{"properties":{"errorCode":{"description":"account.currency.missing","example":"account.currency.missing","type":"string"},"message":{"description":"No such virtual currency ${currency} for account ${account}.","example":"No such virtual currency ${currency} for account ${account}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCNotFound":{"properties":{"errorCode":{"description":"vc.not.found","example":"vc.not.found","type":"string"},"message":{"description":"No such virtual currency.","example":"No such virtual currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressUsed":{"properties":{"errorCode":{"description":"Address.used","example":"address.used","type":"string"},"message":{"description":"Address and currency already in use.","example":"Address and currency already in use.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressNotFound":{"properties":{"errorCode":{"description":"Address.not.found","example":"address.not.found","type":"string"},"message":{"description":"No such address exists.","example":"No such address exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressAccountXpubMissing":{"properties":{"errorCode":{"description":"account.xpub.missing","example":"account.xpub.missing","type":"string"},"message":{"description":"No xpub assigned to account, it is not possible to generate address. Use assignAddress method instead.","example":"No xpub assigned to account, it is not possible to generate address. Use assignAddress method instead.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressIndexUsed":{"properties":{"errorCode":{"description":"Address.index.used","example":"address.index.used","type":"string"},"message":{"description":"Unable to create address, derivation index is already used.","example":"Unable to create address, derivation index is already used.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcBlockchain":{"properties":{"errorCode":{"description":"blockchain.error.code","example":"blockchain.error.code","type":"string"},"message":{"description":"${error.message} Code: ${error.code}","example":"${error.message} Code: ${error.code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error404BlockNotExists":{"properties":{"errorCode":{"description":"block.hash.not.exists","example":"block.hash.not.exists","type":"string"},"message":{"description":"No such block.","example":"No such block.","type":"string"},"statusCode":{"description":"404","example":404,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Broadcast":{"properties":{"errorCode":{"description":"blockchain.broadcast.error","example":"blockchain.broadcast.error","type":"string"},"message":{"description":"Unable to broadcast transaction, wrong input data.","example":"Unable to broadcast transaction, wrong input data.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockchainPrivateFailed":{"properties":{"errorCode":{"description":"key.generation.failed.wrong.mnemonic","example":"key.generation.failed.wrong.mnemonic","type":"string"},"message":{"description":"Unable to generate address, wrong mnemonic and index.","example":"Unable to generate address, wrong mnemonic and index.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcUTXO":{"properties":{"errorCode":{"description":"tx.hash.index.spent","example":"tx.hash.index.spent","type":"string"},"message":{"description":"No such UTXO for transaction and index.","example":"No such UTXO for transaction and index.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BcashBroadcast":{"properties":{"errorCode":{"description":"bch.broadcast.failed","example":"bch.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction. Error from blockchain: ${error}","example":"Unable to broadcast transaction. Error from blockchain: ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalNotFound":{"properties":{"errorCode":{"description":"withdrawal.missing","example":"withdrawal.missing","type":"string"},"message":{"description":"No such withdrawal.","example":"No such withdrawal.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KMSNotExists":{"properties":{"errorCode":{"description":"kms.missing","example":"kms.missing","type":"string"},"message":{"description":"No such KMS signature with id '{id}'.","example":"No such KMS signature with id '{id}'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainNotCancelled":{"properties":{"errorCode":{"description":"withdrawal.not.cancelled.transaction.failed","example":"withdrawal.not.cancelled.transaction.failed","type":"string"},"message":{"description":"Unable to broadcast transaction, and impossible to cancel withdrawal. ID is attached, \"${withdrawalId}\", cancel it manually.","example":"Unable to broadcast transaction, and impossible to cancel withdrawal. ID is attached, \"${withdrawalId}\", cancel it manually.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XlmFailed":{"properties":{"errorCode":{"description":"xlm.failed","example":"xlm.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpFailed":{"properties":{"errorCode":{"description":"xrp.failed","example":"xrp.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpCode":{"properties":{"errorCode":{"description":"xrp.account.failed","example":"xrp.account.failed","type":"string"},"message":{"description":"${error} Code: ${code}","example":"${error} Code: ${code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpLedger":{"properties":{"errorCode":{"description":"xrp.ledger.failed","example":"xrp.ledger.failed","type":"string"},"message":{"description":"${error} Code: ${code}","example":"${error} Code: ${code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpBroadcast":{"properties":{"errorCode":{"description":"xrp.broadcast.failed","example":"xrp.broadcast.failed","type":"string"},"message":{"description":"Xrp submit tx failed. ${error}","example":"Xrp submit tx failed. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpMultiple":{"properties":{"errorCode":{"description":"xrp.settings.multiple","example":"xrp.settings.multiple","type":"string"},"message":{"description":"It is possible to set 1 parameter at a time.","example":"It is possible to set 1 parameter at a time.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpAttr":{"properties":{"errorCode":{"description":"attr.wrong.format","example":"attr.wrong.format","type":"string"},"message":{"description":"Wrong attr of withdrawal, should be of uint32 type.","example":"Wrong attr of withdrawal, should be of uint32 type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpFee":{"properties":{"errorCode":{"description":"xrp.fee","example":"xrp.fee","type":"string"},"message":{"description":"Unable to calculate fee.","example":"Unable to calculate fee.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpSign":{"properties":{"errorCode":{"description":"xrp.sign.failed","example":"xrp.sign.failed","type":"string"},"message":{"description":"Unable to sign tx. ${error}","example":"Unable to sign tx. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XlmTxFailed":{"properties":{"errorCode":{"description":"xlm.tx.failed","example":"xlm.tx.failed","type":"string"},"message":{"description":"Unable to construct transaction. ${error}","example":"Unable to construct transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetFailed":{"properties":{"errorCode":{"description":"vet.failed","example":"vet.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetGas":{"properties":{"errorCode":{"description":"vet.transaction.gas","example":"vet.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetTxHash":{"properties":{"errorCode":{"description":"vet.transaction.hash","example":"vet.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash.","example":"Unable to calculate transaction hash.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransactionFeeEgldBlockchain":{"type":"object","properties":{"sender":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"receiver":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"value":{"type":"string","description":"Value to be sent.","example":"0.1"},"data":{"type":"string","description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"}},"required":["sender","receiver","value"]},"Error403EgldGasCalculation":{"properties":{"errorCode":{"description":"egld.transaction.gas","example":"egld.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainBroadcastState":{"properties":{"errorCode":{"description":"withdrawal.unexpected.state","example":"withdrawal.unexpected.state","type":"string"},"message":{"description":"Unable to complete withdrawal, which is not in InProgress state.","example":"Unable to complete withdrawal, which is not in InProgress state.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainCancelled":{"properties":{"errorCode":{"description":"withdrawal.prepare.failed","example":"withdrawal.prepare.failed","type":"string"},"message":{"description":"Unable to prepare transaction, withdrawal cancelled.","example":"Unable to prepare transaction, withdrawal cancelled.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainNotSupported":{"properties":{"errorCode":{"description":"offchain.not.supported","example":"offchain.not.supported","type":"string"},"message":{"description":"Offchain not supported for account with ${account.currency} currency.","example":"Offchain not supported for account with ${account.currency} currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressAccountXpubUsed":{"properties":{"errorCode":{"description":"xpub.used","example":"xpub.used","type":"string"},"message":{"description":"XPub already used registered within Tatum","example":"XPub already used registered within Tatum","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403RateNotFound":{"properties":{"errorCode":{"description":"rate.not.found","example":"rate.not.found","type":"string"},"message":{"description":"No such currency rate.","example":"No such currency rate.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainBroadcast":{"properties":{"errorCode":{"description":"broadcast.failed.withdrawalId","example":"broadcast.failed.withdrawalId","type":"string"},"message":{"description":"WithdrawalId must be present.","example":"WithdrawalId must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainCheck":{"properties":{"errorCode":{"description":"withdrawal.check.currency","example":"withdrawal.check.currency","type":"string"},"message":{"description":"Withdrawal check available only for ETH based currencies.","example":"Withdrawal check available only for ETH based currencies.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTxUtxoFailed":{"properties":{"errorCode":{"description":"transaction.preparation.failed.utxo","example":"transaction.preparation.failed.utxo","type":"string"},"message":{"description":"Impossible to find last UTXO.","example":"Impossible to find last UTXO.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcMnemonicTxFailed":{"properties":{"errorCode":{"description":"transaction.preparation.failed","example":"transaction.preparation.failed","type":"string"},"message":{"description":"Impossible to prepare transaction. Either mnemonic or keyPair and attr must be present.","example":"Impossible to prepare transaction. Either mnemonic or keyPair and attr must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalFailed":{"properties":{"errorCode":{"description":"withdrawal.failed.transaction.failed","example":"withdrawal.failed.transaction.failed","type":"string"},"message":{"description":"Unable to store withdrawal, it is impossible to create transaction.","example":"Unable to store withdrawal, it is impossible to create transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalCancelled":{"properties":{"errorCode":{"description":"withdrawal.not.cancelled.transaction.failed","example":"withdrawal.not.cancelled.transaction.failed","type":"string"},"message":{"description":"Unable to cancel withdrawal ${id}, it is impossible to create refund transaction.","example":"Unable to cancel withdrawal ${id}, it is impossible to create refund transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FeeFormat":{"properties":{"errorCode":{"description":"fee.format","example":"fee.format","type":"string"},"message":{"description":"Fee has incorrect format.","example":"Fee has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderNotFound":{"properties":{"errorCode":{"description":"senderAccount.not.exists","example":"senderAccount.not.exists","type":"string"},"message":{"description":"Unable to find sender account ${transaction.senderAccountId}.","example":"Unable to find sender account ${transaction.senderAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderFrozen":{"properties":{"errorCode":{"description":"senderAccount.frozen","example":"senderAccount.frozen","type":"string"},"message":{"description":"Sender account ${transaction.senderAccountId} is frozen, unable to perform payment.","example":"Sender account ${transaction.senderAccountId} is frozen, unable to perform payment.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderCustomerDisabled":{"properties":{"errorCode":{"description":"senderAccount.customer.disabled","example":"senderAccount.customer.disabled","type":"string"},"message":{"description":"Sender accounts customer ${senderAccount.customerId} is disabled, unable to perform payment.","example":"Sender accounts customer ${senderAccount.customerId} is disabled, unable to perform payment.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxRecipientNotFound":{"properties":{"errorCode":{"description":"recipientAccount.not.exists","example":"recipientAccount.not.exists","type":"string"},"message":{"description":"Unable to find recipient account ${transaction.recipientAccountId}.","example":"Unable to find recipient account ${transaction.recipientAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxCurrency":{"properties":{"errorCode":{"description":"transaction.currency.incompatible","example":"transaction.currency.incompatible","type":"string"},"message":{"description":"Incompatible currencies for sender account ${transaction.senderAccountId} and recipient account ${transaction.recipientAccountId}.","example":"Incompatible currencies for sender account ${transaction.senderAccountId} and recipient account ${transaction.recipientAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxBalance":{"properties":{"errorCode":{"description":"balance.insufficient","example":"balance.insufficient","type":"string"},"message":{"description":"Insufficient balance for account ${transaction.senderAccountId} and payment amount ${transaction.amount}. Sender balance is ${senderAccount.balance.availableBalance as string}, amount is ${amount}","example":"Insufficient balance for account ${transaction.senderAccountId} and payment amount ${transaction.amount}. Sender balance is ${senderAccount.balance.availableBalance as string}, amount is ${amount}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountBtc":{"properties":{"errorCode":{"description":"amount.btc","example":"amount.btc","type":"string"},"message":{"description":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","example":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountBtcOffchain":{"properties":{"errorCode":{"description":"transaction.amount.btc","example":"transaction.amount.btc","type":"string"},"message":{"description":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","example":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountAda":{"properties":{"errorCode":{"description":"transaction.amount.ada","example":"transaction.amount.ada","type":"string"},"message":{"description":"ADA payment amount must be at least 0.000001, not ${transaction.amount}.","example":"ADA payment amount must be at least 0.000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountAdaOffchain":{"properties":{"errorCode":{"description":"amount.ada","example":"amount.ada","type":"string"},"message":{"description":"ADA payment amount must be at least 0.000000000001, not ${transaction.amount}.","example":"ADA payment amount must be at least 0.000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalPending":{"properties":{"errorCode":{"description":"withdrawal.pending","example":"withdrawal.pending","type":"string"},"message":{"description":"Unable to prepare withdrawal, last withdrawal with id ${id} is not yet processed by blockchain.","example":"Unable to prepare withdrawal, last withdrawal with id ${id} is not yet processed by blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountEth":{"properties":{"errorCode":{"description":"amount.eth","example":"amount.eth","type":"string"},"message":{"description":"ETH payment amount must be at least 0.000000000001, not ${transaction.amount}.","example":"ETH payment amount must be at least 0.000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountEthOffchain":{"properties":{"errorCode":{"description":"transaction.amount.eth","example":"transaction.amount.eth","type":"string"},"message":{"description":"ETH payment amount must be at least 0.000000000000000001, not ${transaction.amount}.","example":"ETH payment amount must be at least 0.000000000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxNotCompliant":{"properties":{"errorCode":{"description":"transaction.not.compliant","example":"transaction.not.compliant","type":"string"},"message":{"description":"Transaction not compliant, recipient account customer country is not defined.","example":"Transaction not compliant, recipient account customer country is not defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalVC":{"properties":{"errorCode":{"description":"withdrawal.account.virtual","example":"withdrawal.account.virtual","type":"string"},"message":{"description":"Sender account cannot be virtual.","example":"Sender account cannot be virtual.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20Prefix":{"properties":{"errorCode":{"description":"erc20.symbol.prefix","example":"erc20.symbol.prefix","type":"string"},"message":{"description":"ERC20 token cannot start with VC_.","example":"ERC20 token cannot start with VC_.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20XpubBoth":{"properties":{"errorCode":{"description":"erc20.address.xpub.both","example":"erc20.address.xpub.both","type":"string"},"message":{"description":"Either xpub or address must be present, not both.","example":"Either xpub or address must be present, not both.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20XpubMissing":{"properties":{"errorCode":{"description":"erc20.address.xpub.missing","example":"erc20.address.xpub.missing","type":"string"},"message":{"description":"Either xpub or address must be present.","example":"Either xpub or address must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20NameDuplicate":{"properties":{"errorCode":{"description":"erc20.duplicate.name","example":"erc20.duplicate.name","type":"string"},"message":{"description":"ERC20 token with given name already exists.","example":"ERC20 token with given name already exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1NotFound":{"properties":{"errorCode":{"description":"trade.currency1AccountId.not.exists","example":"trade.currency1AccountId.not.exists","type":"string"},"message":{"description":"Unable to find currency1 account ${trade.currency1AccountId}.","example":"Unable to find currency1 account ${trade.currency1AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderFeeNotFound":{"properties":{"errorCode":{"description":"trade.feeAccount","example":"trade.feeAccount","type":"string"},"message":{"description":"Unable to find fee account ${trade.feeAccountId}.","example":"Unable to find fee account ${trade.feeAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderFeeIncompatible":{"properties":{"errorCode":{"description":"trade.currency.fee","example":"trade.currency.fee","type":"string"},"message":{"description":"Incompatible currencies for currency1 and fee account.","example":"Incompatible currencies for currency1 and fee account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Frozen":{"properties":{"errorCode":{"description":"trade.currency1AccountId.frozen","example":"trade.currency1AccountId.frozen","type":"string"},"message":{"description":"Currency1 account ${trade.currency1AccountId} is frozen, unable to perform trade.","example":"Currency1 account ${trade.currency1AccountId} is frozen, unable to perform trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1CustomerDisabled":{"properties":{"errorCode":{"description":"trade.currency1AccountId.customer.disabled","example":"trade.currency1AccountId.customer.disabled","type":"string"},"message":{"description":"Currency1 account's customer ${currency1Account.customerId} is disabled, unable to perform exchange trade.","example":"Currency1 account's customer ${currency1Account.customerId} is disabled, unable to perform exchange trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2NotFound":{"properties":{"errorCode":{"description":"trade.currency2AccountId.not.exists","example":"trade.currency2AccountId.not.exists","type":"string"},"message":{"description":"Unable to find currency2 account ${trade.currency2AccountId}.","example":"Unable to find currency2 account ${trade.currency2AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Frozen":{"properties":{"errorCode":{"description":"trade.currency2AccountId.frozen","example":"trade.currency2AccountId.frozen","type":"string"},"message":{"description":"Currency2 account ${trade.currency2AccountId} is frozen, unable to perform trade.","example":"Currency2 account ${trade.currency2AccountId} is frozen, unable to perform trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2CustomerDisabled":{"properties":{"errorCode":{"description":"trade.currency2AccountId.customer.disabled","example":"trade.currency2AccountId.customer.disabled","type":"string"},"message":{"description":"Currency2 account's customer ${currency2Account.customerId} is disabled, unable to perform exchange trade.","example":"Currency2 account's customer ${currency2Account.customerId} is disabled, unable to perform exchange trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Pair":{"properties":{"errorCode":{"description":"trade.currency1.pair","example":"trade.currency1.pair","type":"string"},"message":{"description":"Incompatible currencies for currency1 account ${trade.currency1AccountId} and trading pair.","example":"Incompatible currencies for currency1 account ${trade.currency1AccountId} and trading pair.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Pair":{"properties":{"errorCode":{"description":"trade.currency2.pair","example":"trade.currency2.pair","type":"string"},"message":{"description":"Incompatible currencies for currency2 account ${trade.currency2AccountId} and trading pair.","example":"Incompatible currencies for currency2 account ${trade.currency2AccountId} and trading pair.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Balance":{"properties":{"errorCode":{"description":"trade.currency1.balance","example":"trade.currency1.balance","type":"string"},"message":{"description":"Insufficient balance on currency1 account ${trade.currency1AccountId}.","example":"Insufficient balance on currency1 account ${trade.currency1AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Balance":{"properties":{"errorCode":{"description":"trade.currency2.balance","example":"trade.currency2.balance","type":"string"},"message":{"description":"Insufficient balance on currency2 account ${trade.currency2AccountId}.","example":"Insufficient balance on currency2 account ${trade.currency2AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error500":{"properties":{"message":{"example":"Internal server error","description":"Internal server error","type":"string"},"statusCode":{"example":500,"description":"500","type":"number"}},"required":["statusCode","message"],"type":"object"},"Error403":{"properties":{"message":{"example":"Forbidden","description":"Forbidden","type":"string"},"statusCode":{"example":403,"description":"403","type":"number"}},"required":["statusCode","message"],"type":"object"},"Error401":{"properties":{"message":{"example":"Unauthorized","description":"Unauthorized","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["statusCode","message"],"type":"object"},"FeeEvmBased":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"number","description":"Gas limit for transaction in gas price.","example":40000},"gasPrice":{"type":"number","description":"Gas price in Gwei.","example":20}}},"FeeBtcBased":{"type":"object","required":["fast","medium","slow"],"properties":{"fast":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 1-2 blocks.","example":"0.006584"},"medium":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 5-6 blocks.","example":"0.004584"},"slow":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 7+ blocks.","example":"0.002584"}}},"EstimateFee":{"type":"object","required":["chain","type"],"properties":{"chain":{"type":"string","description":"The blockchain to estimate the fee for","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"The type of the transaction","enum":["DEPLOY_ERC20","DEPLOY_NFT","MINT_NFT","BURN_NFT","TRANSFER_NFT","TRANSFER_ERC20","DEPLOY_AUCTION","DEPLOY_MARKETPLACE"]},"sender":{"type":"string","maxLength":42,"minLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the sender address"},"recipient":{"description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the recipient address","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"contractAddress":{"description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the smart address of the fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"(Only if type=TRANSFER_ERC20
) The amount of the fungible token to be sent","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}}},"EstimateFeeDeployCustodialWallet":{"type":"object","required":["chain","type","batchCount"],"properties":{"chain":{"type":"string","description":"Blockchain to estimate fee for.","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"Type of transaction","enum":["DEPLOY_CUSTODIAL_WALLET_BATCH"]},"batchCount":{"description":"Number of addresses to create","example":10,"minimum":1,"maximum":300,"type":"number"}}},"EstimateFeeBatchMintNft":{"type":"object","required":["chain","type","sender","recipients","tokenIds","urls","contractAddress"],"properties":{"chain":{"type":"string","description":"Blockchain to estimate fee for.","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"Type of transaction","enum":["MINT_NFT_BATCH"]},"sender":{"type":"string","maxLength":42,"minLength":43,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","description":"Address of the minter"},"recipients":{"type":"array","description":"Blockchain addresses to mint tokens to","items":{"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":43,"type":"string"}},"contractAddress":{"description":"Contract address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":43,"type":"string"},"tokenIds":{"type":"array","description":"Token IDs","items":{"example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"urls":{"type":"array","description":"Metadata URLs","items":{"example":"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}}}},"EstimateFeeTransferFromCustodial":{"type":"object","required":["chain","type","sender","recipient","custodialAddress","amount","tokenType"],"properties":{"chain":{"type":"string","description":"The blockchain to estimate the fee for","enum":["CELO","ETH","BSC","XDC","KLAY","ONE","MATIC"]},"type":{"type":"string","description":"The type of the transaction","enum":["TRANSFER_CUSTODIAL"]},"sender":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"The blockchain address of the sender"},"recipient":{"description":"The blockchain address of the recipient","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"contractAddress":{"description":"Contract address of the token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"custodialAddress":{"description":"The blockchain address of the custodial wallet contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"tokenType":{"description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"type":"number","minimum":0,"maximum":3,"enum":[0,1,2,3]},"amount":{"description":"1
.100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","marketplaceFee","fromPrivateKey"]},"GenerateMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"description":"The address that will be the owner of the marketplace","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the blockchain address from which the fee will be deducted"}},"required":["chain","marketplaceFee","from","fromPrivateKey"]},"GenerateMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"description":"The address that will be the owner of the marketplace","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"}},"required":["chain","marketplaceFee","from","signatureId"]},"GenerateMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","marketplaceFee","chain","feeCurrency","fromPrivateKey"]},"GenerateMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","chain","marketplaceFee","signatureId"]},"GenerateMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","marketplaceFee","chain","feeCurrency","signatureId"]},"GenerateAuction":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","auctionFee","fromPrivateKey"]},"GenerateAuctionCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","auctionFee","chain","feeCurrency","fromPrivateKey"]},"GenerateAuctionKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","auctionFee","signatureId"]},"GenerateAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","auctionFee","chain","feeCurrency","signatureId"]},"GenerateMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"feeRecipient":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","from","feeRecipient","marketplaceFee","fromPrivateKey"]},"GenerateMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"feeRecipient":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","from","feeRecipient","marketplaceFee","signatureId"]},"SellAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of native currency cashback. In case of ERC-1155 this field is required and must be greater than 0","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the seller's blockchain address"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","fromPrivateKey"]},"SellAssetOnMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"nftAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset to sell","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the seller","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"authorityPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the seller"}},"required":["chain","contractAddress","nftAddress","price","from","fromPrivateKey"]},"SellAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"nftAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset to sell","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the seller","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller"}},"required":["chain","contractAddress","nftAddress","price","from","signatureId"]},"SellAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of native currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the seller's blockchain address"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","feeCurrency","fromPrivateKey"]},"SellAssetOnMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of natiev currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller's blockchain address"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","signatureId"]},"SellAssetOnMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of natiev currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller's blockchain address"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","feeCurrency","signatureId"]},"WithdrawFromMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the marketplace fee recipient","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"amount":{"description":"Amount of funds to withdraw.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketplace fee recipient"}},"required":["chain","contractAddress","nftAddress","amount","from","fromPrivateKey"]},"WithdrawFromMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the marketplace fee recipient","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"amount":{"description":"Amount of funds to withdraw.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketplace fee recipient"}},"required":["chain","contractAddress","nftAddress","amount","from","signatureId"]},"CreateAuction":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","fromPrivateKey"]},"CreateAuctionCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","feeCurrency","fromPrivateKey"]},"CreateAuctionKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","signatureId"]},"CreateAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","feeCurrency","signatureId"]},"SellAssetOnMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"nftAddress":{"maxLength":34,"minLength":34,"description":"Address of the NFT asset to sell smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"seller":{"maxLength":34,"minLength":34,"description":"Address of the seller of the NFT asset.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","fromPrivateKey"]},"SellAssetOnMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nftAddress":{"maxLength":34,"minLength":34,"description":"Address of the NFT asset to sell smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"seller":{"maxLength":34,"minLength":34,"description":"Address of the seller of the NFT asset.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","from","signatureId"]},"BuyAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"The ID of the listing with the asset that you want to buy","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"amount":{"description":"(Only if you pay with the native blockchain currency) The price of the asset that you want to buy plus the marketplace fee. Do not use if you pay with fungible tokens.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"(Only if you pay with the fungible tokens) The blockchain address of the fungible tokens. Do not use if you pay with the native blockchain currency.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"buyer":{"maxLength":42,"minLength":42,"description":"(Only if you want to buy the asset on behalf of someone else and this person wants to pay with the fungible tokens; for example, for buying the asset from a custodial wallet address) The blockchain address of the buyer on whose behalf you are buying the assetrequiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the buyer"}},"required":["chain","contractAddress","listingId","from","fromPrivateKey"]},"BuyAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"The blockchain address of the listing with the asset that you want to buy","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the buyer","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the buyer"}},"required":["chain","contractAddress","listingId","from","signatureId"]},"BuyAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"The ID of the listing with the asset that you want to buy","minLength":1,"maxLength":200},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"amount":{"description":"(Only if you pay with the native blockchain currency) The price of the asset that you want to buy plus the marketplace fee. Do not use if you pay with fungible tokens.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"(Only if you pay with the fungible tokens) The blockchain address of the fungible tokens. Do not use if you pay with the native blockchain currency.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"buyer":{"maxLength":42,"minLength":42,"description":"(Only if you want to buy the asset on behalf of someone else and this person wants to pay with the fungible tokens; for example, for buying the asset from a custodial wallet address) The blockchain address of the buyer on whose behalf you are buying the asset100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","fromPrivateKey"]},"UpdateFeeSolana":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The new percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketspace authority"}},"required":["chain","contractAddress","marketplaceFee","from","fromPrivateKey"]},"UpdateFeeSolanaKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The new percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketspace authority"}},"required":["chain","contractAddress","marketplaceFee","from","signatureId"]},"UpdateFeeCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","feeCurrency","fromPrivateKey"]},"UpdateFeeKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","marketplaceFee","signatureId","contractAddress"]},"UpdateFeeCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","feeCurrency","signatureId"]},"UpdateFeeTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","marketplaceFee","fromPrivateKey"]},"UpdateFeeTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","marketplaceFee","from","signatureId"]},"UpdateFeeAuction":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","fromPrivateKey"]},"UpdateFeeAuctionKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","auctionFee","signatureId","contractAddress"]},"UpdateFeeAuctionCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","feeCurrency","fromPrivateKey"]},"UpdateFeeAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","feeCurrency","signatureId"]},"UpdateMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketplace authority"}},"required":["chain","contractAddress","from","fromPrivateKey"]},"UpdateMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketplace authority"}},"required":["chain","contractAddress","from","signatureId"]},"CancelSellAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["chain","contractAddress","listingId","fromPrivateKey"]},"CancelSellAssetOnMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"Blockchain address of the listing","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset owner","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authorityPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the asset owner"}},"required":["chain","contractAddress","listingId","from","fromPrivateKey"]},"CancelSellAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"Blockchain address of the listing","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset owner","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the asset owner"}},"required":["chain","contractAddress","listingId","from","signatureId"]},"CancelSellAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","listingId","feeCurrency","fromPrivateKey"]},"CancelSellAssetOnMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","listingId","signatureId","contractAddress"]},"CancelSellAssetOnMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","listingId","feeCurrency","signatureId"]},"CancelSellAssetOnMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","listingId","fromPrivateKey"]},"CancelSellAssetOnMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","listingId","from","signatureId"]},"ApproveTransferCustodialWallet":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","fromPrivateKey","tokenAddress"]},"ApproveTransferCustodialWalletCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","fromPrivateKey","tokenAddress"]},"ApproveTransferCustodialWalletCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","signatureId","tokenAddress"]},"ApproveTransferCustodialWalletKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","signatureId","tokenAddress"]},"TransferCustodialWallet":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","fromPrivateKey"]},"TransferCustodialWalletCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","fromPrivateKey"]},"TransferCustodialWalletCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","signatureId"]},"TransferCustodialWalletKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","signatureId"]},"TransferCustodialWalletTronKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["TRON"],"example":"TRON","type":"string"},"custodialAddress":{"maxLength":34,"minLength":34,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"type":"string","minLength":34,"maxLength":34,"description":"The blockchain address that owns the gas pump address (\"master address\") in the Base58 format","example":"TBAYy8ykFZqdzxMwaqacHvUvUzUTp6ZR5U"},"recipient":{"maxLength":34,"minLength":34,"description":"The blockchain address that receives the asset","example":"TYMcTVBz48okKLRczhwiDu22V6XG3yk6W9","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,3]},"tokenAddress":{"maxLength":34,"minLength":34,"description":"(Only if the asset is a fungible token or NFT) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"TYMG3ykLRczh6W9cTVBz48wiDu22V6XokK","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is an NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeLimit":{"type":"number","minimum":0,"description":"The maximum amount to be paid as the gas fee (in TRX)","example":10}},"required":["custodialAddress","chain","contractType","feeLimit","from","recipient","signatureId"]},"TransferCustodialWalletTron":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["TRON"],"example":"TRON","type":"string"},"custodialAddress":{"maxLength":34,"minLength":34,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"recipient":{"maxLength":34,"minLength":34,"description":"The blockchain address that receives the asset","example":"TYMcTVBz48okKLRczhwiDu22V6XG3yk6W9","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,3]},"tokenAddress":{"maxLength":34,"minLength":34,"description":"(Only if the asset is a fungible token or NFT) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"TYMG3ykLRczh6W9cTVBz48wiDu22V6XokK","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is an NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeLimit":{"type":"number","minimum":0,"description":"The maximum amount to be paid as the gas fee (in TRX)","example":10}},"required":["custodialAddress","chain","contractType","feeLimit","recipient","fromPrivateKey"]},"TransferCustodialWalletBatch":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the assets; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"type":"array","description":"The blockchain address that receives the assets","items":{"maxLength":42,"minLength":42,"example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"}},"contractType":{"type":"array","description":"The type of the assets to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\nsignatureId
parameter that you provided in the request body. The signatureId
parameter in the request body specifies the signature ID associated with the private key in KMS.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"required":["signatureId"]},"OffchainTransactionResult":{"type":"object","properties":{"id":{"description":"ID of withdrawal. If transaction is not valid in blockchain, use this id to cancel withdrawal.","example":"5e68c66581f2ee32bc354087","type":"string"},"txId":{"description":"TX hash of successful transaction.","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"completed":{"description":"If set to \"true\", the withdrawal has been completed in the virtual account; if set to \"false\", the withdrawal has not been completed and you have to complete it manually","example":true,"type":"boolean"}},"required":["txId","id","completed"]},"OffchainTransactionSignatureResult":{"type":"object","properties":{"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","format":"uuid","type":"string"}},"required":["id","signatureId"]},"Url":{"properties":{"url":{"description":"QR Code as data URL","type":"string"}},"type":"object"},"VirtualCurrency":{"properties":{"name":{"description":"Virtual currency name. Must be prefixed with 'VC_'.","example":"VC_VIRTUAL","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"Supply of virtual currency.","maxLength":38,"minLength":1,"example":"1000000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"description":{"description":"Used as a description within Tatum system.","example":"My Virtual Token description.","maxLength":100,"minLength":1,"type":"string"},"accountCode":{"description":"For bookkeeping to distinct account purpose.","maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"},"accountNumber":{"description":"Account number from external system.","example":"1234567890","type":"string","minLength":1,"maxLength":50},"accountingCurrency":{"description":"All transaction will be billed in this currency for created account associated with this currency. If not set, EUR is used. ISO-4217","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["basePair","name","supply"],"type":"object"},"VC":{"properties":{"name":{"description":"Virtual currency name. Must be prefixed with 'VC_'.","example":"VC_VIRTUAL","type":"string"},"supply":{"description":"Supply of virtual currency.","example":"1000000","type":"string"},"accountId":{"description":"Virtual currency account.","example":"5e68c66581f2ee32bc354087","type":"string"},"baseRate":{"type":"number","default":1,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"precision":{"type":"number","example":6,"description":"Number of decimal places of this virtual currency."},"trcType":{"type":"string","example":"TRC20","description":"Type of Tron token.","enum":["TRC10","TRC20"]},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC","type":"string"},"customerId":{"description":"ID of customer associated with virtual currency.","type":"string","example":"5e68c66581f2ee32bc354087"},"description":{"description":"Used as a description within Tatum system.","example":"My Virtual Token description.","type":"string"},"erc20Address":{"description":"Address of ERC20 token, when virtual currency is based on the Ethereum blockchain.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"issuerAccount":{"description":"Blockchain account for XLM or XRP based virtual currencies, which is marked as the issuer of the custom blockchain asset.","example":"GDKYMXOAJ5MK4EVIHHNWRGAAOUZMNZYAETMHFCD6JCVBPZ77TUAZFPKT","type":"string"},"chain":{"description":"Blockchain, on which this virtual currency is paired on. Not present, when Tatum's private ledger is used as a base ledger.","example":"ETH","type":"string","enum":["ETH","XRP","XLM"]},"initialAddress":{"description":"Ethereum address, where initial supply was minted, when virtual currency is based on the Ethereum blockchain.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"}},"required":["basePair","baseRate","name","accountId","supply"],"type":"object"},"VirtualCurrencyUpdate":{"properties":{"name":{"description":"Virtual currency name, which will be updated. It is not possible to update the name of the virtual currency.","example":"VC_VIRTUAL","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"}},"required":["name"],"type":"object"},"VirtualCurrencyOperation":{"properties":{"accountId":{"description":"Ledger account with currency of the virtual currency, on which the operation will be performed.","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"amount":{"description":"Amount of virtual currency to operate within this operation.","maxLength":38,"example":"1.5","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"paymentId":{"description":"Identifier of the payment, shown for created Transaction within Tatum sender account.","example":"My Payment","maxLength":100,"minLength":1,"type":"string"},"reference":{"description":"Reference of the payment.","example":"akjsndakjsdn-asd-kjasnd-asdkn-asdjnasjkdn","maxLength":100,"minLength":1,"type":"string"},"transactionCode":{"description":"For bookkeeping to distinct transaction purpose.","example":"1_01_EXTERNAL_CODE","maxLength":100,"minLength":1,"type":"string"},"recipientNote":{"description":"Note visible to both, sender and recipient. Available for both Mint and Revoke operations","example":"Private note","maxLength":500,"minLength":1,"type":"string"},"counterAccount":{"description":"External account identifier. By default, there is no counterAccount present in the transaction.","example":"5e6645712b55823de7ea82f1","maxLength":24,"minLength":24,"type":"string"},"senderNote":{"description":"Note visible to sender. Available in Revoke operation.","example":"Sender note","maxLength":500,"minLength":1,"type":"string"}},"required":["accountId","amount"],"type":"object"},"Wallet":{"type":"object","required":["mnemonic","xpub"],"properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"xpub":{"description":"Generated Extended public key for wallet with derivation path according to BIP44. This key can be used to generate addresses.","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"}}},"GeneratedAddressEth":{"type":"object","properties":{"address":{"type":"string","description":"Ethereum address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"GeneratedAddressBtc":{"type":"object","properties":{"address":{"type":"string","description":"Bitcoin address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"Withdrawal":{"properties":{"senderAccountId":{"description":"Sender account ID","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"address":{"description":"Blockchain address to send assets to. For BTC, LTC, DOGE and BCH, it is possible to enter list of multiple recipient blockchain addresses as a comma separated string.","example":"mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7","maxLength":10000,"minLength":1,"type":"string"},"amount":{"description":"Amount to be withdrawn to blockchain.","maxLength":38,"example":"0.001","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"attr":{"description":"Used to parametrize withdrawal. Used for XRP withdrawal to define destination tag of recipient, or XLM memo of the recipient, if needed.
\nFor Bitcoin, Litecoin, Bitcoin Cash, used as a change address for left coins from transaction.
Used to parametrize withdrawal. Used for XRP withdrawal to define destination tag of recipient, or XLM memo of the recipient, if needed.
\nFor Bitcoin, Litecoin, Bitcoin Cash, used as a change address for left coins from transaction.
from
parameter","minimum":0,"example":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","fromPrivateKey"]},"ActivateGasPumpTatum":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","MATIC","KLAY","ONE"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feesCovered":{"type":"boolean","example":true,"description":"Set to \"true\" to cover the gas fee by credits from your monthly credit allowance."}},"required":["chain","owner","from","to","feesCovered"]},"ActivateGasPumpKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic"}},"required":["chain","owner","from","to","signatureId"]},"ActivateGasPumpCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeCurrency":{"type":"string","description":"The currency in which the gas fee will be paid","example":"CELO","enum":["CELO","CUSD","CEUR"]},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","fromPrivateKey","feeCurrency"]},"ActivateGasPumpCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeCurrency":{"type":"string","description":"The currency in which the gas fee will be paid","example":"CELO","enum":["CELO","CUSD","CEUR"]},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address that will pay the gas fee that was generated from the mnemonic"}},"required":["chain","owner","from","to","signatureId","feeCurrency"]},"ActivateGasPumpTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the gas fee (in TRX)","example":600},"fromPrivateKey":{"type":"string","maxLength":64,"example":"e26c1595086cd52f2bc61774c7228b841db66b4b9b0ed36dc29dbc90595dd5b6","minLength":64,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","feeLimit","fromPrivateKey"]},"ActivateGasPumpTronKMS":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the gas fee (in TRX)","example":600},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic"}},"required":["chain","owner","from","to","feeLimit","signatureId"]},"CreateGasPump":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","MATIC","KLAY","ONE","TRON"]},"owner":{"type":"string","description":"The blockchain address that will own the precalculated gas pump addresses and will be used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to precalculate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to precalculate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":1000}},"required":["chain","owner","from","to"]},"GasPumpTrxOut":{"type":"object","properties":{"valid":{"type":"array","description":"Activated gas pump addresses","items":{"$ref":"#/components/schemas/ValidGasPumpAddress"}},"invalid":{"type":"array","description":"Not activated gas pump addresses","items":{"$ref":"#/components/schemas/InvalidGasPumpAddress"}}}},"ValidGasPumpAddress":{"type":"object","properties":{"index":{"type":"number","description":"The index of the activated gas pump address","example":1},"address":{"type":"string","description":"The activated gas pump address","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea"}}},"InvalidGasPumpAddress":{"type":"object","properties":{"address":{"type":"string","description":"The not activated gas pump address","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"reason":{"type":"string","description":"The reason why the gas pump address did not get activated","example":"Wallet already exists"}}},"SolanaMarketplaceTransactionHash":{"type":"object","properties":{"txId":{"description":"The hash (ID) of the transaction","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"contractAddress":{"description":"The address of deployed marketplace contract","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5","type":"string"},"feeAccount":{"description":"The blockchain address of the fee account","example":"B2va8BWefHKhKnejxiKxLxWYbpzwJWPsNGzEPCiYHQDH","type":"string"},"treasuryAccount":{"description":"The blockchain address of the treasury account","example":"9MLntRkghAgC7ZR1RQouE9EkXwjTfZxbi9nBziofPTjM","type":"string"}},"required":["txId","contractAddress","feeAccount","treasuryAccount"]},"SolanaMarketplaceSellTransactionHash":{"type":"object","properties":{"txId":{"description":"The hash (ID) of the transaction","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"listingId":{"description":"The ID of the listing","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5","type":"string"}},"required":["txId","listingId"]},"EvmListingData":{"type":"object","properties":{"amount":{"type":"string","description":"Amount of NFTs to sold in this listing. Valid only for ERC1155 listings.","example":"1"},"buyer":{"type":"string","description":"Address of the buyer, if exists.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"erc20Address":{"type":"string","description":"Address of the ERC20 token smart contract, which should be used for paying for the asset","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155","example":true},"listingId":{"type":"string","description":"ID of the listing.","example":"12345"},"nftAddress":{"type":"string","description":"Address of the NFT smart contract.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"price":{"type":"string","description":"Price of the NFT asset in native currency or ERC20 token based on the presence of erc20Address field.","example":"1.234"},"seller":{"type":"string","description":"Address of the seller.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"state":{"type":"string","description":"State of the listing. 0 - available, 1 - sold, 2 - cancelled","enum":["0","1","2"],"example":"1"}}},"SolanaListingData":{"type":"object","required":["amount","listingId","nft","price","seller","state","createdAt"],"properties":{"amount":{"type":"string","description":"Amount of NFTs to sold in this listing.","example":"1"},"buyer":{"type":"string","description":"Address of the buyer, if exists.","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"listingId":{"type":"string","description":"ID of the listing","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"nft":{"type":"object","required":["address","data"],"properties":{"address":{"type":"string","description":"NFT Address","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"data":{"$ref":"#/components/schemas/SolanaNftMetadata"}}},"price":{"type":"string","description":"Price of the NFT asset in native currency or ERC20 token based on the presence of erc20Address field.","example":"1.234"},"seller":{"type":"string","description":"Address of the seller.","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"state":{"type":"string","description":"State of the listing. 0 - available, 1 - sold, 2 - cancelled","enum":["0","1","2"],"example":"1"},"createdAt":{"type":"number","description":"Timestamp when this listing was created","example":1669751911},"purchasedAt":{"type":"number","description":"Timestamp when this listing was purchased","example":1669751911},"cancelledAt":{"type":"number","description":"Timestamp when this listing was cancelled","example":1669751911}}},"FlowAddressXpub":{"type":"object","properties":{"txId":{"type":"string","example":"d1c75a84e4bdf0dd9bf1bcd0ce4fb25f89e2ed3c5e9574dbca2760b52c428717","description":"The ID of the transaction"},"address":{"type":"string","example":5695321609876367000,"description":"The generated blockchain address"}},"required":["txId","address"]},"CountryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"FiatCurrency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DOGE","DZD","EGP","ERN","ETB","ETH","EUR","FJD","FKP","FLOW","FUSD","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZMW","ZWL"]},"FiatOrCryptoCurrency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","ALGO","ADA","BAM","BAT","BBD","BCH","BDT","BGN","BHD","BIF","BMD","BNB","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DOGE","DZD","EGP","ERN","ETB","ETH","EUR","FJD","FKP","FLOW","FUSD","FREE","GMC","GMC_BSC","RMD","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LEO","LINK","LKR","LRD","LSL","LTC","LTL","LVL","LYD","MAD","MATIC","MDL","MGA","MKD","MKR","MMK","MMY","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PAX","PAXG","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TRON","TUSD","BUSD","TWD","TZS","UAH","UGX","UNI","USD","USDC","USDC_MATIC","USDC_MATIC_NATIVE","USDT","USDT_TRON","USDT_MATIC","UYU","UZS","VEF","VND","VUV","WBTC","WST","XAF","XAG","XAU","XCD","XCON","XDR","XOF","XPF","XRP","YER","ZAR","ZMK","ZMW","ZWL"]},"GasEstimated":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in wei)","example":"10000000000"},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"21000"}}},"Erc20Currency":{"enum":["BAT","BUSD","COIIN","ETH","FREE","GMC","LATOKEN","LEO","LINK","MATIC_ETH","MKR","MMY","PAX","PAXG","PLTC","REVV","SAND","TUSD","UNI","USDC","USDT","WBTC","XCON"],"example":"ETH","type":"string"},"NodeRpcPutChains":{"type":"string","example":"algorand-testnet-algod","enum":["algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","egld-mainnet","egld-testnet","stellar-mainnet","stellar-testnet","bnb-mainnet","bnb-testnet"]},"NodeRpcGetChains":{"type":"string","example":"algorand-testnet-algod","enum":["algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","egld-mainnet","egld-testnet","lisk-mainnet","lisk-testnet","stellar-mainnet","stellar-testnet","tezos-mainnet","tezos-testnet","tron-mainnet","tron-testnet","flow-mainnet","flow-testnet","bnb-mainnet","bnb-testnet","kadena-mainnet","kadena-testnet","iota-mainnet"]},"NodeRpcPostChains":{"type":"string","example":"ethereum-sepolia","enum":["ethereum-sepolia","ethereum-mainnet","ethereum-holesky","polygon-amoy","polygon-mainnet","klaytn-baobab","klaytn-cypress","solana-devnet","solana-mainnet","celo-mainnet","celo-testnet","lisk-mainnet","lisk-testnet","algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","bitcoin-mainnet","bitcoin-testnet","litecoin-core-mainnet","litecoin-core-testnet","kcs-testnet","kcs-mainnet","cardano-preprod","cardano-mainnet","vechain-testnet","vechain-mainnet","ripple-mainnet","ripple-testnet","flare-mainnet","flare-coston","flare-coston2","flare-songbird","flow-mainnet","flow-testnet","xdc-mainnet","xdc-testnet","tron-mainnet","tron-testnet","bsc-mainnet","bsc-testnet","bch-mainnet","bch-testnet","stellar-mainnet","stellar-testnet","bnb-mainnet","bnb-testnet","egld-mainnet","egld-testnet","doge-mainnet","doge-testnet","one-mainnet-s0","one-testnet-s0","eos-mainnet","eos-testnet","avax-mainnet","avax-testnet","avax-x-mainnet","avax-x-testnet","avax-p-mainnet","avax-p-testnet","fantom-mainnet","fantom-testnet","arb-nova-mainnet","arb-one-mainnet","arb-testnet","optimism-mainnet","optimism-testnet","near-mainnet","near-testnet","cro-mainnet","cro-testnet","rsk-mainnet","rsk-testnet","aurora-mainnet","aurora-testnet","gno-mainnet","gno-testnet","dot-mainnet","dot-testnet","ksm-mainnet","ksm-testnet","oasis-mainnet","oasis-testnet","tezos-mainnet","tezos-testnet","zcash-mainnet","zcash-testnet","palm-mainnet","palm-testnet","zilliqa-mainnet","zilliqa-testnet","ethereum-classic-mainnet","ethereum-classic-testnet","base-mainnet","base-sepolia","chiliz-mainnet","chiliz-testnet","kadena-mainnet","kadena-testnet","rostrum-mainnet","cosmos-mainnet","haqq-mainnet","haqq-testnet","eon-mainnet","eon-testnet","iota-mainnet"]},"EthTestnetType":{"type":"string","default":"ethereum-sepolia","enum":["ethereum-sepolia","ethereum-holesky"]},"TestnetType":{"type":"string","description":"Specifies the testnet type. The default is ethereum-sepolia for Ethereum (ETH) currency and flare-coston for Flare (FLR) currency. Valid testnet types depend on the specified currency.","enum":["ethereum-sepolia","ethereum-holesky","flare-coston","flare-coston2","flare-songbird"]},"FlareTestnetType":{"type":"string","default":"flare-coston","enum":["flare-coston","flare-coston2","flare-songbird"]},"TransferManagedAddress":{"type":"object","properties":{"chain":{"type":"string","description":"Blockchain to work on","example":"SOL","enum":["SOL"]},"txData":{"type":"string","minLength":1,"maxLength":500000,"description":"Hex serialized data representing transaction, which should be signed using one of the managed wallets.","example":"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000"},"walletIds":{"type":"array","items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string","description":"Wallet ID of wallet, which should be used for signing. In case of RAW type of the wallet, this represents the private key which will be used for signatures.","example":"0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4"},"type":{"type":"string","example":"MANAGED","description":"Type of the wallet to be used - RAW represents native private key, MANAGED represents ID of the managed wallet.","enum":["MANAGED","RAW"]}}}}},"required":["chain","txData","walletIds"]},"CustodialManagedAddress":{"type":"object","required":["address","walletId","chain"],"properties":{"address":{"type":"string","description":"Blockchain address","example":"8oJ8KRL87ja7DjPSsmBG1KtfrpsfLGDMJDGzev68DGqx"},"walletId":{"type":"string","format":"uuid","example":"52901013-94ab-4124-8645-acba4ee90bb8","description":"Unique identifier of the managed address"},"chain":{"type":"string","description":"Blockchain of the address","example":"SOL","enum":["BSC","ETH","KLAY","ONE","CELO","MATIC","SOL","LTC","BTC"]},"privateKey":{"type":"string","example":"4jCFiqh3tLxKxt3vYW478qodivkCkSzqtpG4wqEaYkgdVC1o79a1VJTc5UiCmCmZBwoJmjaenfYH1ML7ra8vbNpA","description":"Private key of the address. Not present by default."}}},"AlgoWallet":{"type":"object","properties":{"address":{"maxLength":58,"minLength":58,"description":"address of Algorand account.","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"secret":{"maxLength":103,"minLength":103,"description":"secretKey can generate Mnemonic, similar to private Key.","type":"string","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"},"mnemonic":{"description":"Mnemonic of the wallet.","type":"string","example":"work syrup plug fluid moon regret wolf visa muffin supply erode lemon absurd voyage plastic blade baby stable burger glue dynamic expire cabin abandon pilot"}}},"AlgoBlock":{"type":"object","properties":{"genesisHash":{"description":"hash to which this block belongs","type":"string","example":"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI="},"genesisId":{"description":"ID to which this block belongs","type":"string","example":"testnet-v1.0"},"previousBlockHash":{"description":"Previous block hash","type":"string","example":"JeLGQTbqnBsD3NXE8Bf1TpPFMFadEVVyHhkcD61ljAU="},"rewards":{"description":"rewards","type":"object","example":{"fee-sink":"A7NMWS3NT3IUDMLVO26ULGXGIIOUQ3ND2TXSER6EBGRZNOBOUIQXHIBGDE","rewards-calculation-round":17000000,"rewards-level":27521,"rewards-pool":"7777777777777777777777777777777777777777777777777774MSJUVU","rewards-rate":0,"rewards-residue":2020197303}},"round":{"description":"Current round on which this block was appended to the chain","type":"number","example":16775567},"seed":{"description":"Sortition seed.","type":"string","example":"VPBpyrHyqbfqrHqJ3l39LXGN4qgEdNnE5kpJfk3vJtA="},"timestamp":{"description":"Block creation timestamp in seconds since eposh","type":"number","example":1632167753},"txns":{"description":"Array of transactions","type":"array","items":{"$ref":"#/components/schemas/AlgoTx"}},"txn":{"description":"TransactionsRoot authenticates the set of transactions appearing in the block.","type":"string","example":"++MWW82yIvYQ0AEoPP0aDGGHGk/dSp5WHlbkf9SVU1U="},"txnc":{"description":"TxnCounter counts the number of transations committed in the ledger","type":"number","example":27814470},"upgradeState":{"description":"upgrade state","type":"object","example":{"current-protocol":"https://github.com/algorandfoundation/specs/tree/abc54f79f9ad679d2d22f0fb9909fb005c16f8a1","next-protocol-approvals":0,"next-protocol-switch-on":0,"next-protocol-vote-before":0}},"upgradeVote":{"description":"upgrade vote","type":"object","example":{"upgrade-approve":false,"upgrade-delay":0}}}},"AlgoTx":{"type":"object","properties":{"closeRewards":{"description":"rewards applied to close-remainder-to account.","type":"number","example":0},"closingAmount":{"description":"closing amount for transaction.","type":"number","example":0},"confirmedRound":{"description":"Round when the transaction was confirmed.","type":"number","example":16775567},"fee":{"description":"Transaction fee","type":"number","example":0.001},"firstValid":{"description":"First valid round for this transaction.","type":"number","example":16775565},"genesisHash":{"description":"Hash of genesis block","type":"string","example":"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI="},"genesisId":{"description":"genesis block ID.","type":"string","example":"testnet-v1.0"},"id":{"description":"transaction ID","type":"string","example":"HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ"},"intraRoundOffset":{"description":"Offset into the round where this transaction was confirmed.","type":"number","example":1},"lastValid":{"description":"Last valid round for this transaction.","type":"number","example":16775571},"note":{"description":"Free form data","type":"string","example":"cGluZ3Bvbmf0Jyl21QrtLw=="},"paymentTransaction":{"description":"payment Transaction","type":"object"},"receiverRewards":{"description":"rewards applied to receiver account.","type":"number","example":0},"roundTime":{"description":"Time when the block this transaction is in was confirmed.","type":"number","example":1632167753},"sender":{"description":"Sender's address","type":"string","example":"U6QEM4KM7KKGCLH4FELZBGJEVVSF556ELXHUOZC4ESPFS4O4V4VQXKQRXQ"},"senderRewards":{"description":"rewards applied to sender account.","type":"number","example":0},"signature":{"description":"signature","type":"object"},"txType":{"description":"indicates what type of transaction this is. Different types have differnet fields.","type":"string","example":"pay"}}},"AlgoTxsWithPagination":{"type":"object","properties":{"nextToken":{"description":"Used for pagination, when making another request provide this token with the next parameter.","type":"string","example":"ywAAAAAAAAAAAAAA"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/AlgoTx"}}}},"TransferAlgorandBlockchain":{"type":"object","properties":{"from":{"description":"The blockchain address of the sender","type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"to":{"description":"The blockchain address of the recipient","type":"string","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"amount":{"description":"The amount to send in Algos","type":"string","example":"1"},"note":{"description":"The note for the recipient; must not contain spaces","type":"string","example":"Helloworld"},"fromPrivateKey":{"description":"Private key of sender address. Private key, or signature Id must be present.","type":"string","example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI"}},"required":["from","to","amount","fromPrivateKey"]},"ReceiveAlgorandAsset":{"type":"object","properties":{"assetId":{"description":"AssetID of the asset you wanna enable for the sender.","type":"number","example":116363571},"fromPrivateKey":{"description":"Private key of sender address. Private key, or signature Id must be present.","type":"string","example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["assetId","fromPrivateKey"]},"ReceiveAlgorandAssetKMS":{"type":"object","properties":{"from":{"description":"Blockchain sender address.","type":"string","minLength":58,"maxLength":58,"example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"assetId":{"description":"AssetID of the asset you wanna enable for the sender.","type":"number","example":98745612},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["assetId","from","signatureId"]},"AlgoTransactionHashKMS":{"type":"object","properties":{"txId":{"description":"TX hash of transaction.","example":"GTNOIDCIHZLESKNQPJXOXE476ODYDNNQBA3N2Q75MYQ4SI4XL5SA","type":"string"},"assetIndex":{"description":"If transaction created new ASA asset, this value is the index of the asset on the network.","example":87751984,"type":"number"},"confirmed":{"example":false,"type":"boolean","description":"If transaction was not confirmed within 5 rounds, result is false.","default":false},"failed":{"description":"In case of the transaction was broadcast to the blockchain, but it was not possible to complete Tatum KMS signature, reponse is marked as failed and must be marked manually.","example":false,"type":"boolean"}},"required":["txId"]},"TransferAlgorandBlockchainKMS":{"type":"object","properties":{"from":{"description":"The blockchain address of the sender","type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"to":{"description":"The blockchain address of the recipient","type":"string","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"amount":{"description":"The amount to send in Algos","type":"string","example":"1"},"note":{"description":"The note for the recipient; must not contain spaces","type":"string","example":"Helloworld"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["from","to","amount","signatureId"]},"MaticBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in MATIC","example":"10.52"}}},"GeneratedAddressMatic":{"type":"object","properties":{"address":{"type":"string","description":"Polygon address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"PolygonBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/PolygonTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"baseFeePerGas":{"description":"Represents the current per-unit gas price, set by the Ethereum protocol, to be burned for transaction processing.","type":"number","example":78890946115}}},"PolygonTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/PolygonTxLog"}}}},"PolygonTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403PolygonBroadcast":{"properties":{"errorCode":{"description":"polygon.broadcast.failed","example":"polygon.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20Unsupported":{"properties":{"errorCode":{"description":"polygon.bep20.unsupported","example":"polygon.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxHash":{"properties":{"errorCode":{"description":"polygon.transaction.hash","example":"polygon.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxSign":{"properties":{"errorCode":{"description":"polygon.transaction.sign","example":"polygon.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonErc20TxSign":{"properties":{"errorCode":{"description":"polygon.bep20.sign","example":"polygon.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonGasCalculation":{"properties":{"errorCode":{"description":"polygon.transaction.gas","example":"polygon.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxBody":{"properties":{"errorCode":{"description":"polygon.transaction.body","example":"polygon.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonScBody":{"properties":{"errorCode":{"description":"polygon.sc.invalid","example":"polygon.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferBep20Blockchain":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send HRM20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of HRM20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that HRM20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","digits","fromPrivateKey","amount"]},"TransferBep20BlockchainKMS":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send HRM20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of HRM20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that HRM20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","signatureId","digits","amount"]},"CallPolygonSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallPolygonSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"CallPolygonSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallPolygonSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferPolygonBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Polygon Blockchain Account. ERC20 tokens like USDC_MATIC, USDT_MATIC, GAMEE, INTENT, EURTENT, GOLDAX are available only for mainnet use.","enum":["MATIC","USDC_MATIC","USDT_MATIC","GAMEE","INTENT","EURTENT","GOLDAX"],"example":"MATIC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"PolygonEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in MATIC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferPolygonBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Polygon Blockchain Account. ERC20 tokens like USDC_MATIC, USDT_MATIC, GAMEE, INTENT, EURTENT, GOLDAX are available only for mainnet use.","enum":["MATIC","USDC_MATIC","USDT_MATIC","GAMEE","INTENT","EURTENT","GOLDAX"],"example":"MATIC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"DeployBep20":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Kcs blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Kcs account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["name","symbol","address","supply","fromPrivateKey","digits"]},"DeployBep20KMS":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Kcs blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["name","symbol","address","supply","signatureId","digits"]},"CronosBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/CronosTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"CronosTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403CronosBroadcast":{"properties":{"errorCode":{"description":"cronos.broadcast.failed","example":"cronos.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20Unsupported":{"properties":{"errorCode":{"description":"cronos.bep20.unsupported","example":"cronos.bep20.unsupported","type":"string"},"message":{"description":"Unsupported CRO ERC20 blockchain.","example":"Unsupported CRO ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxHash":{"properties":{"errorCode":{"description":"cronos.transaction.hash","example":"cronos.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxSign":{"properties":{"errorCode":{"description":"cronos.transaction.sign","example":"cronos.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosErc20TxSign":{"properties":{"errorCode":{"description":"cronos.bep20.sign","example":"cronos.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosGasCalculation":{"properties":{"errorCode":{"description":"cronos.transaction.gas","example":"cronos.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxBody":{"properties":{"errorCode":{"description":"cronos.transaction.body","example":"cronos.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosScBody":{"properties":{"errorCode":{"description":"cronos.sc.invalid","example":"cronos.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallCronosSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallCronosSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallCronosSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferCronosBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Cronos Blockchain Account.","enum":["CRO"],"example":"CRO","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"CronosEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Cronos.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferCronosBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Cronos Blockchain Account.","enum":["CRO"],"example":"CRO","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressCronos":{"type":"object","properties":{"address":{"type":"string","description":"Cronos address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"CronosBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in CRO","example":"10.52"}}},"CallCronosSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"KlaytnBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/KlaytnTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"KlaytnTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"type":{"description":"Type of Klaytn Transaction","type":"string","example":"TxTypeLegacyTransaction"},"typeInt":{"description":"Type of Klaytn Transaction","type":"number","example":0},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in peb.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in peb.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403KlaytnBroadcast":{"properties":{"errorCode":{"description":"klaytn.broadcast.failed","example":"klaytn.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20Unsupported":{"properties":{"errorCode":{"description":"klaytn.bep20.unsupported","example":"klaytn.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxHash":{"properties":{"errorCode":{"description":"klaytn.transaction.hash","example":"klaytn.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxSign":{"properties":{"errorCode":{"description":"klaytn.transaction.sign","example":"klaytn.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnErc20TxSign":{"properties":{"errorCode":{"description":"klaytn.bep20.sign","example":"klaytn.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnGasCalculation":{"properties":{"errorCode":{"description":"klaytn.transaction.gas","example":"klaytn.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxBody":{"properties":{"errorCode":{"description":"klaytn.transaction.body","example":"klaytn.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnScBody":{"properties":{"errorCode":{"description":"klaytn.sc.invalid","example":"klaytn.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferKlay20Blockchain":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","contractAddress","digits","fromPrivateKey","amount"]},"CallKlaytnSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallKlaytnSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallKlaytnSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferKlaytnBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Klaytn Blockchain Account.","enum":["KLAY"],"example":"KLAY","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"KlaytnEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in KLAY.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferKlaytnBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Klaytn Blockchain Account.","enum":["KLAY"],"example":"KLAY","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent in Ether.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"SolBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in SOL","example":"10.52"}}},"SolanaWallet":{"type":"object","properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"address":{"description":"Generated account address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"privateKey":{"description":"Generated private key for account.","example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","type":"string"}}},"SolanaBlockReward":{"type":"object","properties":{"commission":{"type":"string","format":"nullable"},"lamports":{"type":"number","example":7},"postBalance":{"type":"number","example":10149491708073344},"pubkey":{"type":"string","example":"ETSKPSzESbVdmtUn67LA2p9J1gPCSEgYvmJS9pNNWQqR"},"rewardType":{"type":"string","example":"Rent"}}},"TokenBalance":{"type":"object","properties":{"accountIndex":{"description":"Index of the account in which the token balance is provided for.","type":"number","example":1},"mint":{"description":"Pubkey of the token's mint.","type":"string","example":"So11111111111111111111111111111111111111112"},"owner":{"description":"Pubkey of token balance's owner.","type":"string","example":"BYM81n8HvTJuqZU1PmTVcwZ9G8uoji7FKM6EaPkwphPt"},"programId":{"description":"Pubkey of the Token program that owns the account.","type":"string","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},"uiTokenAmount":{"$ref":"#/components/schemas/UiTokenAmount"}}},"UiTokenAmount":{"type":"object","properties":{"amount":{"description":"Raw amount of tokens as a string, ignoring decimals.","type":"string","example":2653579503},"decimals":{"description":"Number of decimals configured for token's mint.","type":"number","example":9},"uiAmount":{"description":"Token amount as a float, accounting for decimals.","type":["number","null"],"example":2.653579503},"uiAmountString":{"description":"Token amount as a string, accounting for decimals.","type":"string","example":2.653579503}}},"SolanaTxMeta":{"type":"object","properties":{"err":{"type":"object"},"fee":{"type":"number","example":5000},"innerInstructions":{"type":"array","items":{"type":"object"}},"logMessages":{"type":"array","items":{"type":"string","example":"Program Vote111111111111111111111111111111111111111 invoke [1]"}},"postBalances":{"type":"array","items":{"type":"number","example":1101768559544744}},"postTokenBalances":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}},"preBalances":{"type":"array","items":{"type":"number","example":1101768559549744}},"preTokenBalances":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}},"rewards":{"type":"array","items":{"type":"object"}},"status":{"type":"object","properties":{"Ok":{"type":"string","format":"nullable"}}}}},"SolanaTxMessageHeader":{"type":"object","properties":{"numReadonlySignedAccounts":{"type":"number","example":0},"numReadonlyUnsignedAccounts":{"type":"number","example":3},"numRequiredSignatures":{"type":"number","example":1}}},"SolanaTxMessageInstruction":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"number","example":1}},"data":{"type":"string","example":"2ZjTR1vUs2pHXyTM4rXnJowxekwfBcBJwsE4EameG3Sapvgfit27vrBd8k8QYCoTtMgfHEJLDqWEWBYUYVd"},"programIdIndex":{"type":"number","example":4}}},"SolanaTxMessage":{"type":"object","properties":{"header":{"$ref":"#/components/schemas/SolanaTxMessageHeader"},"accountKeys":{"type":"array","items":{"type":"string","example":"0974de54f77afa9ad3d474909f6ce095b9623a359a5d08cc807b8a92dd5e1f96"}},"recentBlockhash":{"type":"string","example":"C3vsoVwVWx7yPRhsNoKpcm2CJTrnVcvimdC4bd3jTPbj"},"instructions":{"type":"array","items":{"$ref":"#/components/schemas/SolanaTxMessageInstruction"}},"indexToProgramIds":{"type":"object"}}},"SolanaTxTransaction":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/SolanaTxMessage"},"signatures":{"type":"array","items":{"type":"string","example":"5FPSzkTsjZDBigU3ZagvkcwSPimt4K6voqrN9uUNVzWDBeRXWVH3uMarDPpSfrS7sFQeyKyDd5KpbdCrL3EWEP59"}}}},"SolanaBlockTx":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/SolanaTxMeta"},"transaction":{"$ref":"#/components/schemas/SolanaTxTransaction"}}},"SolanaTx":{"type":"object","properties":{"blockTime":{"type":"number","example":1638279975},"meta":{"$ref":"#/components/schemas/SolanaTxMeta"},"transaction":{"$ref":"#/components/schemas/SolanaTxTransaction"},"slot":{"type":"number","example":97744333}}},"SolanaBlock":{"type":"object","properties":{"blockHeight":{"type":"number","example":94778421},"blockTime":{"type":"number","example":1638279333},"blockhash":{"type":"string","example":"Ch7qVhCkSqEvhWE8xzJZbJKRcsH6wtTjfiMJdt9eKiD7"},"parentSlot":{"type":"number","example":97742681},"previousBlockhash":{"type":"string","example":"C3vsoVwVWx7yPRhsNoKpcm2CJTrnVcvimdC4bd3jTPbj"},"rewards":{"type":"array","items":{"$ref":"#/components/schemas/SolanaBlockReward"}},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/SolanaBlockTx"}}}},"Error403SolanaBroadcast":{"properties":{"errorCode":{"description":"solana.broadcast.failed","example":"Solana.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaBroadcastConfirm":{"properties":{"errorCode":{"description":"solana.broadcast.confirm.failed","example":"Solana.broadcast.confirm.failed","type":"string"},"message":{"description":"Unexpected error occurred. Reason: ${error}.","example":"Unexpected error occurred. Reason: ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxHash":{"properties":{"errorCode":{"description":"solana.transaction.hash","example":"solana.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxSign":{"properties":{"errorCode":{"description":"solana.transaction.sign","example":"solana.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxBody":{"properties":{"errorCode":{"description":"solana.transaction.body","example":"Solana.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferSolanaBlockchain":{"type":"object","properties":{"from":{"description":"Blockchain address to send assets from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"to":{"description":"Blockchain address to send assets to","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"amount":{"description":"Amount to be sent in SOL.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"Private key of sender address. Private key, or signature Id must be present."},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["to","amount","from","fromPrivateKey"]},"TransferSolanaBlockchainKMS":{"type":"object","properties":{"from":{"description":"Blockchain address to send assets from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"to":{"description":"Blockchain address to send assets to","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"amount":{"description":"Amount to be sent in SOL.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["to","amount","from","signatureId"]},"SolanaBroadcastConfirmOptions":{"description":"Options for sending and waiting for a transaction","type":"object","properties":{"commitment":{"type":"string","description":"Commitment to waiting for transaction confirmation","example":"confirmed","enum":["confirmed","finalized"]},"preflightCommitment":{"type":"string","description":"Preflight Commitment.","example":"finalized","enum":["confirmed","finalized","processed","recent","single","singleGossip","max"]}}},"SolanaBroadcastConfirm":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"01de391b34567fc65080dfe9e27170e2f9ac1cd1719878719feb74bb422d1795201df71fcf7349f5","maxLength":500000,"minLength":1,"type":"string"},"options":{"$ref":"#/components/schemas/SolanaBroadcastConfirmOptions"}},"required":["txData"],"type":"object"},"SolanaTransactionHashWithConfirm":{"type":"object","properties":{"txId":{"description":"TX hash of successful transaction.","example":"5Sh63rNFg6iR9YUGPwEkbAg4kYSWnf5eRS2wcLG1Gc6psj27SGK3LNuN9jNSPKn3JoChgmq8pSirHWsPPWzy2PFw","type":"string"},"confirmed":{"description":"Indicates whether or not the transferred commitment has been fulfilled","example":false,"type":"boolean"}},"required":["txId","confirmed"]},"FlareBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/FlareTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"FlareTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403FlareBroadcast":{"properties":{"errorCode":{"description":"flare.broadcast.failed","example":"flare.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20Unsupported":{"properties":{"errorCode":{"description":"flare.bep20.unsupported","example":"flare.bep20.unsupported","type":"string"},"message":{"description":"Unsupported FLR ERC20 blockchain.","example":"Unsupported FLR ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxHash":{"properties":{"errorCode":{"description":"flare.transaction.hash","example":"flare.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxSign":{"properties":{"errorCode":{"description":"flare.transaction.sign","example":"flare.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareErc20TxSign":{"properties":{"errorCode":{"description":"flare.bep20.sign","example":"flare.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareGasCalculation":{"properties":{"errorCode":{"description":"flare.transaction.gas","example":"flare.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxBody":{"properties":{"errorCode":{"description":"flare.transaction.body","example":"flare.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareScBody":{"properties":{"errorCode":{"description":"flare.sc.invalid","example":"flare.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallFlareSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallFlareSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallFlareSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferFlareBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Flare Blockchain Account.","enum":["FLR"],"example":"FLR","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"FlareEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Flare.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferFlareBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Flare Blockchain Account.","enum":["FLR"],"example":"FLR","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressFlare":{"type":"object","properties":{"address":{"type":"string","description":"Flare address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"FlareBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in FLR","example":"10.52"}}},"CallFlareSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"BaseBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/BaseTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"BaseTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403BaseBroadcast":{"properties":{"errorCode":{"description":"base.broadcast.failed","example":"base.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20Unsupported":{"properties":{"errorCode":{"description":"base.bep20.unsupported","example":"base.bep20.unsupported","type":"string"},"message":{"description":"Unsupported BASE ERC20 blockchain.","example":"Unsupported BASE ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxHash":{"properties":{"errorCode":{"description":"base.transaction.hash","example":"base.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxSign":{"properties":{"errorCode":{"description":"base.transaction.sign","example":"base.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseErc20TxSign":{"properties":{"errorCode":{"description":"base.bep20.sign","example":"base.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseGasCalculation":{"properties":{"errorCode":{"description":"base.transaction.gas","example":"base.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxBody":{"properties":{"errorCode":{"description":"base.transaction.body","example":"base.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseScBody":{"properties":{"errorCode":{"description":"base.sc.invalid","example":"base.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallBaseSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallBaseSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallBaseSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferBaseBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Base Blockchain Account.","enum":["BASE"],"example":"BASE","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"BaseEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Base.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferBaseBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Base Blockchain Account.","enum":["BASE"],"example":"BASE","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressBase":{"type":"object","properties":{"address":{"type":"string","description":"Base address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"BaseBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in BASE","example":"10.52"}}},"CallBaseSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"Error403Celo":{"properties":{"errorCode":{"description":"celo.error","example":"celo.error","type":"string"},"message":{"description":"Unexpected error occurred. Reason: ${reason}","example":"Unexpected error occurred. Reason: ${reason}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferErc721Celo":{"type":"object","properties":{"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","tokenId","fromPrivateKey"]},"TransferErc721KMSCelo":{"type":"object","properties":{"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","feeCurrency","signatureId","tokenId"]},"MintErc721Celo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","example":"https://my_token_data.com","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","url","feeCurrency","contractAddress","fromPrivateKey","tokenId"]},"MintErc721KMSCelo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","example":"https://my_token_data.com","type":"string","maxLength":256},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","url","feeCurrency","contractAddress","signatureId","tokenId"]},"MintErc20Celo":{"type":"object","properties":{"amount":{"description":"Amount to be minted and transfered to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","amount","feeCurrency","contractAddress","fromPrivateKey"]},"MintErc20KMSCelo":{"type":"object","properties":{"amount":{"description":"Amount to be minted and transfered to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","amount","feeCurrency","contractAddress","signatureId"]},"MintMultipleErc721Celo":{"type":"object","properties":{"to":{"type":"array","description":"Blockchain address to send ERC721 token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["100000"],"items":{"type":"string","maxLength":32}},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","url","fromPrivateKey","feeCurrency","tokenId"]},"MintMultipleErc721KMSCelo":{"type":"object","properties":{"to":{"type":"array","description":"Blockchain address to send ERC721 token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["100000"],"items":{"type":"string","maxLength":32}},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","feeCurrency","tokenId","url","signatureId"]},"BurnErc721Celo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","feeCurrency","fromPrivateKey","tokenId"]},"BurnErc721KMSCelo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeCurrency","contractAddress","tokenId","signatureId"]},"BurnErc20Celo":{"type":"object","properties":{"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","feeCurrency","fromPrivateKey","amount"]},"BurnErc20KMSCelo":{"type":"object","properties":{"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeCurrency","contractAddress","tokenId","amount"]},"TransferCeloBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"type":"string","description":"Currency of the transaction.","enum":["CELO","CUSD","CEUR"]},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","fromPrivateKey","currency","feeCurrency"]},"TransferCeloBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"currency":{"type":"string","description":"Currency of the transaction.","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","feeCurrency","currency","amount","signatureId"]},"CeloEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"CeloBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/CeloTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"CeloTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"feeCurrency":{"type":"string","description":"Address of the currency used to pay for gas.","example":"0xef4229c8c3250c675f21bcefa42f58efbff6002a"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"DeployErc721Celo":{"type":"object","properties":{"name":{"description":"Name of the ERC721 token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the ERC721 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of Celo account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","feeCurrency","fromPrivateKey"]},"DeployErc721CeloKMS":{"type":"object","properties":{"name":{"description":"Name of the ERC721 token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the ERC721 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","feeCurrency","signatureId"]},"DeployErc20Celo":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Celo blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Celo account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","address","supply","fromPrivateKey","digits","feeCurrency"]},"DeployErc20KMSCelo":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Celo blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","address","supply","signatureId","digits","feeCurrency"]},"CallCeloSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","feeCurrency"]},"CallCeloReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."}},"required":["contractAddress","params","methodABI","methodName"]},"CallCeloSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName","feeCurrency"]},"TransferErc20Celo":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","digits","feeCurrency","fromPrivateKey","amount"]},"TransferErc20CeloKMS":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","signatureId","digits","amount","feeCurrency"]},"Error403CeloGasCalculation":{"properties":{"errorCode":{"description":"celo.transaction.gas","example":"celo.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CeloTxBody":{"properties":{"errorCode":{"description":"celo.transaction.body","example":"celo.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"EgldBlock":{"type":"object","properties":{"nonce":{"description":"The block height.","type":"number","example":5440076},"round":{"description":"The round number.","type":"number","example":186582},"hash":{"description":"Hash of the block.","type":"string","example":"bd2de3618929b696807f6ef8a619f93d29d639aec9277f9c6f8569a8487141b1"},"prevBlockHash":{"description":"Hash of the previous block.","type":"string","example":"2a11aad21e933be58200839ff875f0ca7e955b8c483a0e117cb92409e5d2a5da"},"epoch":{"description":"An epoch is a sequence of consecutive rounds during which the configuration of the network does not change (currently aprox. 24 hrs in length).","type":"number","example":18},"numTxs":{"description":"Number of transactions in current block.","type":"number","example":8},"shardBlocks":{"description":"Array of shard blocks","type":"array","items":{"$ref":"#/components/schemas/EgldShardBlock"}},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/EgldTx"}}}},"EgldShardBlock":{"type":"object","properties":{"hash":{"description":"The block hash.","type":"string","example":"a6f2ac15a6b1bafdde9afff2297cef49c4c523c516f8ee12fed54be070e9512b"},"nonce":{"description":"The block height.","type":"number","example":5440070},"shard":{"description":"The shard number.","type":"number","example":1}}},"EgldTx":{"type":"object","properties":{"type":{"type":"string","description":"Type of transaction.","example":null},"nonce":{"type":"number","description":"Nonce of the transaction.","example":2},"round":{"type":"number","description":"The round number.","example":186580},"epoch":{"type":"number","description":"An epoch is a sequence of consecutive rounds during which the configuration of the network does not change (currently aprox. 24 hrs in length).","example":12},"value":{"type":"string","description":"Transferred value.","example":"1000000000000000000"},"receiver":{"type":"string","description":"Address of the receiver.","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"},"sender":{"type":"string","description":"Address of the sender.","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq1"},"gasPrice":{"type":"number","description":"Gas price provided by the sender","example":1000000000},"gasLimit":{"type":"number","description":"Gas provided by the sender","example":70000},"data":{"type":"string","description":"Data field in transaction.","example":"Zm9yIHRlc3Rz"},"signature":{"type":"string","description":"Signature of the transaction.","example":"c6ab10b401f14b122caf9d2ef80d532b986aa82b589dac77d77929da27ae2382c6ab10b401f14b122caf9d2ef80d532b986aa82b589dac77d77929da27ae238"},"sourceShard":{"type":"number","description":"Source shard.","example":2},"destinationShard":{"type":"number","description":"Destination shard.","example":1},"blockNonce":{"type":"number","description":"Nonce of block which contains current transaction.","example":186535},"blockHash":{"type":"string","description":"Hash of block which contains current transaction.","example":"bd2de3618929b696807f6ef8a619f93d29d639aec9277f9c6f8569a8487141b1"},"miniblockHash":{"type":"string","description":"Miniblock hash.","example":"7cb0a10cf9e9ec9ff719ffe99349db3feac3ec217b6de62f6cf7756647194bbf"},"timestamp":{"type":"number","description":"The unix timestamp for when the block was collated.","example":1569600592},"status":{"type":"string","description":"Status of the transaction.","example":"Success"},"hyperblockNonce":{"type":"number","description":"Nonce of the hyperblockwhere this transaction was in.","example":123321},"hyperblockHash":{"type":"string","description":"Hash of the hyperblock where this transaction was in.","example":"715224f1f7d8330e3837500d1f82431954e30db6149f3ee4644d0950576d8dfe"}}},"Error403EgldBroadcast":{"properties":{"errorCode":{"description":"egld.broadcast.failed","example":"egld.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EgldTxHash":{"properties":{"errorCode":{"description":"egld.transaction.hash","example":"egld.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EgldTxSign":{"properties":{"errorCode":{"description":"egld.transaction.sign","example":"egld.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferEgldBlockchain":{"type":"object","properties":{"from":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"to":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"amount":{"type":"string","description":"Value to be sent.","example":"0"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction. If transfer to a smart contract, then 500000 + an appropriate amount for the method call","example":"500000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price.","example":"1000000000","pattern":"^[+]?\\d+$"}}},"data":{"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","type":"string","example":"4d79206e6f746520746f2074686520726563697069656e74"},"fromPrivateKey":{"type":"string","maxLength":64,"minLength":64,"example":"0cd8e6217b4a218807b858ffb508483cdcdadbb7a21196727f764a510a692760","description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["fromPrivateKey","from","to","amount"]},"TransferEgldBlockchainKMS":{"type":"object","properties":{"from":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"to":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"amount":{"type":"string","description":"Value to be sent.","example":"0"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction.","example":"500000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price.","example":"1000000000","pattern":"^[+]?\\d+$"}}},"data":{"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","type":"string","example":"4d79206e6f746520746f2074686520726563697069656e74"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["signatureId","from","to","amount"]},"TransferTronBlockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","to","amount"]},"TransferTronBlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["from","signatureId","to","amount"]},"TransferTronTrc10Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenId":{"type":"string","minLength":1,"maxLength":100,"description":"ID of the token to transfer.","example":"1000538"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","tokenId","to","amount"]},"TransferTronTrc10BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenId":{"type":"string","minLength":1,"maxLength":100,"description":"ID of the token to transfer.","example":"1000538"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","tokenId","to","amount"]},"TransferTronTrc20Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenAddress":{"type":"string","minLength":34,"maxLength":34,"description":"Address of the TRC20 token to transfer.","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW"},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","tokenAddress","to","amount","feeLimit"]},"TransferTronTrc20BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenAddress":{"type":"string","minLength":34,"maxLength":34,"description":"Address of the TRC20 token to transfer.","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW"},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","tokenAddress","to","amount","feeLimit"]},"CreateTronTrc20Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC20 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"symbol":{"type":"string","minLength":1,"maxLength":100,"description":"Symbol of the token.","example":"SYM"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":30,"description":"Number of decimal places of the token.","example":10}},"required":["fromPrivateKey","name","recipient","symbol","totalSupply","decimals"]},"CreateTronTrc20BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC20 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"symbol":{"type":"string","minLength":1,"maxLength":100,"description":"Symbol of the token.","example":"SYM"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":30,"description":"Number of decimal places of the token.","example":10}},"required":["from","signatureId","name","recipient","symbol","totalSupply","decimals"]},"CreateTronTrc10Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC 10 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"abbreviation":{"type":"string","minLength":1,"maxLength":100,"description":"Abbreviation of the token.","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"Description of the token.","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"URL of the token.","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":5,"description":"Number of decimal places of the token.","example":10}},"required":["fromPrivateKey","recipient","name","abbreviation","description","url","totalSupply","decimals"]},"CreateTronTrc10BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC 10 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"abbreviation":{"type":"string","minLength":1,"maxLength":100,"description":"Abbreviation of the token.","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"Description of the token.","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"URL of the token.","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":5,"description":"Number of decimal places of the token.","example":10}},"required":["from","signatureId","recipient","name","abbreviation","description","url","totalSupply","decimals"]},"TronTrc10Detail":{"type":"object","properties":{"ownerAddress":{"type":"string","minLength":34,"maxLength":34,"description":"The address of the TRC-10 token's owner in the hexadecimal format","example":"41d2803f9c22aa429d71554c9427e97ffedcec17c7"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"The name of the TRC-10 token","example":"My token"},"abbr":{"type":"string","minLength":1,"maxLength":100,"description":"The abbreviated name of the TRC-10 token","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"The description of the TRC-10 token","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"The URL of the TRC-10 token","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"The total supply of tokens in the TRC-10 token","example":100000},"precision":{"type":"number","minimum":0,"maximum":5,"description":"The number of decimal places","example":10},"id":{"type":"number","description":"The ID of the TRC-10 token","example":1000540}}},"FreezeTron":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"resource":{"type":"string","description":"Resource to obtain, BANDWIDTH or ENERGY.","example":"ENERGY","enum":["BANDWIDTH","ENERGY"]},"amount":{"description":"Amount to be frozen in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","resource","amount"]},"FreezeTronKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"resource":{"type":"string","description":"Resource to obtain, BANDWIDTH or ENERGY.","example":"ENERGY","enum":["BANDWIDTH","ENERGY"]},"amount":{"description":"Amount to be frozen in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","resource","amount"]},"Error403Tron":{"properties":{"errorCode":{"description":"tron.failed","example":"tron.failed","type":"string"},"message":{"description":"Unable to communicate to blockchain. ${error}","example":"Unable to communicate to blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TronWallet":{"type":"object","required":["mnemonic","xpub"],"properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"xpub":{"description":"Generated Extended public key for wallet with derivation path according to BIP44. This key can be used to generate addresses.","example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","type":"string"}}},"TronBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"},"blockNumber":{"type":"number","description":"Block number.","example":26585295},"timestamp":{"type":"number","description":"Time of the block in UTC millis.","example":1610134209000},"parentHash":{"type":"string","description":"Hash of the parent block.","example":"000000000195a8ce6003aa8b6443c52734b80aefdcd079bf40e7f165b046370e"},"witnessAddress":{"type":"string","description":"Witness address.","example":"4118e2e1c6cdf4b74b7c1eb84682e503213a174955"},"witnessSignature":{"type":"string","description":"Witness signature.","example":"e20cb7a1f01d279ebe9c20baa0d747bea160042639ba0be63460cbb21ae63f072520e7766cb7aa1bd4e74bebbdea64be431ecf52c2aa2123ca0b1d7495bd581d00"},"transactions":{"type":"array","description":"Transactions that occurs in this block.","items":{"$ref":"#/components/schemas/TronTx"}}}},"TronBroadcast":{"type":"object","required":["txData"],"properties":{"txData":{"type":"string","description":"Raw signed transaction to be published to network.","minLength":1,"maxLength":50000,"example":"{\"raw_data\": \"{\\\"contract\\\":[{\\\"parameter\\\":{\\\"value\\\":{\\\"amount\\\":1000,\\\"owner_address\\\":\\\"41608f8da72479edc7dd921e4c30bb7e7cddbe722e\\\",\\\"to_address\\\":\\\"41e9d79cc47518930bc322d9bf7cddd260a0260a8d\\\"},\\\"type_url\\\":\\\"type.googleapis.com/protocol.TransferContract\\\"},\\\"type\\\":\\\"TransferContract\\\"}],\\\"ref_block_bytes\\\":\\\"5e4b\\\",\\\"ref_block_hash\\\":\\\"47c9dc89341b300d\\\",\\\"expiration\\\":1591089627000,\\\"timestamp\\\":1591089567635}\",\"raw_data_hex\": \"0a025e4b220847c9dc89341b300d40f8fed3a2a72e5a66080112620a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412310a1541608f8da72479edc7dd921e4c30bb7e7cddbe722e121541e9d79cc47518930bc322d9bf7cddd260a0260a8d18e8077093afd0a2a72e\"}"}}},"TronTx":{"type":"object","required":["txID","signature","blockNumber","ret","rawData"],"properties":{"ret":{"type":"array","description":"Result of the smart contract invocation.","items":{"properties":{"contractRet":{"type":"string","description":"Returns the value of the smart contract invocation.","example":"SUCCESS"}}},"required":["contractRet"]},"signature":{"type":"array","description":"List of signatures of the transaction.","items":{"type":"string","example":"91fa5d81f9578970d21fdcde4ebb849674d437b62774f34e8d9e4cb50960c0031362cbcb649553b1f5f9daf19495ae46e517d4401172b5e53bb06bfe6896e2e300"}},"blockNumber":{"type":"number","description":"The block in which the transaction was included.","example":11223344},"txID":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"netUsage":{"type":"number","description":"Usage of the network.","example":0},"rawData":{"type":"object","description":"Raw data of the transaction.","required":["expiration","timestamp","contract"],"properties":{"contract":{"type":"array","description":"Smart contract invocations details.","items":{"type":"object","properties":{"parameter":{"type":"object","properties":{"value":{"type":"object","properties":{"data":{"type":"string","format":"hex","description":"The amount transferred within the transaction.","example":"0x000002e917e68b4e"},"amount":{"type":"number","description":"The amount transferred within the transaction.","example":1000000},"owner_address":{"type":"string","example":"418632237fd33f62c549ee044dd3da779aba947dcc","description":"Address of the sender."},"to_address":{"type":"string","description":"Address of the recipient.","example":"41a614f803b6fd780986a42c78ec9c7f77e6ded13c"},"ownerAddressBase58":{"type":"string","example":"TNCmcTdyrYKMtmE1KU2itzeCX76jGm5Not","description":"Address of the sender in Base58 encoding."},"toAddressBase58":{"type":"string","example":"TRwS7apsNdRGzMBfhB2hVC4RhqfubUYZ8P","description":"Address of the recipient in Base58 encoding."}}},"type_url":{"type":"string","example":"type.googleapis.com/protocol.TriggerSmartContract","description":"Type of the smart contract event."}}},"type":{"example":"TriggerSmartContract","type":"string","description":"Type of the Smart contract."}}}},"ref_block_bytes":{"type":"number","description":"The height of the transaction reference block.","example":4946},"ref_block_hash":{"type":"number","description":"The hash of the transaction reference block.","example":"6d0c1a0af5a52f17"},"expiration":{"description":"Expiration of the transaction.","type":"number","example":1610067216000},"timestamp":{"description":"Time of the transaction.","type":"number","example":1609980816000}}}}},"TronInternalTx":{"type":"object","required":["internal_tx_id","tx_id","to_address","from_address"],"properties":{"tx_id":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"internal_tx_id":{"type":"string","description":"Internal TX ID.","example":"e1543ab5ac85e8fbf2397f30f19dc5b7a32abd508a57ff0c13642c9963d9f312"},"to_address":{"type":"string","description":"Recipient address.","example":"41a614f803b6fd780986a42c78ec9c7f77e6ded13c"},"from_address":{"type":"string","description":"Sender address.","example":"41a2726afbecbd8e936000ed684cef5e2f5cf43008"}}},"TronTx20":{"type":"object","required":["txID","to","tokenInfo","type","value","from"],"properties":{"txID":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"tokenInfo":{"type":"object","required":["symbol","decimals","address","name"],"properties":{"symbol":{"type":"string","example":"USDT"},"address":{"type":"string","example":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"},"decimals":{"type":"number","example":6},"name":{"type":"string","example":"Tether USD"}}},"from":{"type":"string","example":"TPn72oEg7WPaffgNBf62vGx8G1s4chx2fp"},"to":{"type":"string","example":"TJyhbP1bQfo8tLPxEVjaka9gh2qkN7MvD3"},"type":{"type":"string","example":"Transfer"},"value":{"type":"string","example":"1800"}}},"TronAccount":{"type":"object","required":["address","freeNetUsage","balance","bandwidth","trc10","trc20","createTime"],"properties":{"address":{"type":"string","description":"Account address","example":"TGDqQAP5bduoPKVgdbk7fGyW4DwEt3RRn8"},"balance":{"type":"number","description":"Balance of the TRX, in SUN. SUN is 1/1000000 TRX.","example":2342342},"trc10":{"type":"array","items":{"type":"object","description":"Balance of the TRC10 assets.","properties":{"key":{"type":"string","description":"Name of the TRC10 asset.","example":"TEST_TRC_10"},"value":{"type":"number","description":"Balance of the TRC10 asset.","example":123}},"required":["key","value"]}},"trc20":{"type":"array","items":{"type":"object","description":"Balance of the TRC20 assets. It is structured as key value array, where key is the address of the TRC20 and value is the balance.","example":{"TRkuKAxmWZ4G74MvZnFpoosQZsfvtNpmwH":"30958","TVKXY8DJ9aVTcg3wwVrRRs2FbTUwi4UZWR":"70000"}}},"createTime":{"type":"number","description":"Date of creation of the account in UTC millis.","example":1602848895000},"assetIssuedId":{"type":"string","description":"ID of the issued TRC10 token, if any.","example":"1003475"},"assetIssuedName":{"type":"number","description":"Balance of the issued TRC10 token, if any.","example":100},"freeNetUsage":{"type":"number","description":"Free usage of the network.","example":1000},"freeNetLimit":{"type":"number","description":"Free usage limit of the network.","example":1500},"netUsage":{"type":"number","description":"Extra usage of the network.","example":5000},"netLimit":{"type":"number","description":"Extra usage limit of the network.","example":5000},"bandwidth":{"type":"number","description":"Remaining usage of the network, equal to freeNetLimit - freeNetUsed + netLimit - netUsed.","example":1500}}},"BscBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in BNB","example":"10.52"}}},"GeneratedAddressBsc":{"type":"object","properties":{"address":{"type":"string","description":"BSC address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"BscBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/BscTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"BscTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/BscTxLog"}}}},"BscTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403BscBroadcast":{"properties":{"errorCode":{"description":"bsc.broadcast.failed","example":"bsc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such BEP20 currency ${name}.","example":"No such BEP20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"BEP20 address was already set.","example":"BEP20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20Unsupported":{"properties":{"errorCode":{"description":"bsc.bep20.unsupported","example":"bsc.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH BEP20 blockchain.","example":"Unsupported ETH BEP20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxHash":{"properties":{"errorCode":{"description":"bsc.transaction.hash","example":"bsc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxSign":{"properties":{"errorCode":{"description":"bsc.transaction.sign","example":"bsc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscErc20TxSign":{"properties":{"errorCode":{"description":"bsc.bep20.sign","example":"bsc.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscGasCalculation":{"properties":{"errorCode":{"description":"bsc.transaction.gas","example":"bsc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxBody":{"properties":{"errorCode":{"description":"bsc.transaction.body","example":"bsc.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscScBody":{"properties":{"errorCode":{"description":"bsc.sc.invalid","example":"bsc.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallBscSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"CallBscSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallBscSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallBscSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferBscBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"(Only for BSC transactions) Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from BSC Blockchain Account. BEP20 tokens like BETH, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE are available only for mainnet use.","enum":["BSC","BETH","BBTC","RMD","USDC_BSC","B2U_BSC","BADA","WBNB","GMC_BSC","BDOT","BXRP","BLTC","BBCH","HAG","CAKE","BUSD_BSC"],"example":"BSC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"BscEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in BSC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferBscBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"(Only for BSC transactions) Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from BSC Blockchain Account. BEP20 tokens like BETH, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE are available only for mainnet use.","enum":["BETH","BBTC","BADA","WBNB","BDOT","BXRP","BLTC","BBCH","BSC"],"example":"BSC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"KcsBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/KcsTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"KcsTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403KcsBroadcast":{"properties":{"errorCode":{"description":"kcs.broadcast.failed","example":"kcs.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20Unsupported":{"properties":{"errorCode":{"description":"kcs.bep20.unsupported","example":"kcs.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxHash":{"properties":{"errorCode":{"description":"kcs.transaction.hash","example":"kcs.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxSign":{"properties":{"errorCode":{"description":"kcs.transaction.sign","example":"kcs.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsErc20TxSign":{"properties":{"errorCode":{"description":"kcs.bep20.sign","example":"kcs.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsGasCalculation":{"properties":{"errorCode":{"description":"kcs.transaction.gas","example":"kcs.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxBody":{"properties":{"errorCode":{"description":"kcs.transaction.body","example":"kcs.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsScBody":{"properties":{"errorCode":{"description":"kcs.sc.invalid","example":"kcs.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallKcsSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallKcsSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallKcsSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferKcsBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Kcs Blockchain Account.","enum":["KCS"],"example":"KCS","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"KcsEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in KCS.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferKcsBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Kcs Blockchain Account.","enum":["KCS"],"example":"KCS","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"OneBlockCurrent":{"type":"object","properties":{"shardID":{"type":"number","description":"Shard ID","example":0},"blockNumber":{"type":"number","description":"Current block number in this shard","example":6491272}}},"OneBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in ONE","example":"10.52"}}},"GeneratedAddressOne":{"type":"object","properties":{"address":{"type":"string","description":"ONE address","example":"one15annzcwtlcq3dfx7nc6plpr9jsxzyyw5xc8pjn"}}},"OneBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/OneTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"OneTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0x4fb94db21613051e6241f456dcc7da5789faae6a434ecd59c7ac4162e591ce1d"},"ethHash":{"type":"string","description":"Eth Hash representation of the transaction.","example":"0xb2a66a105f05304afc7194063b36cae2a8f14edf1e06fc1e185cfea635cf09bb"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/OneTxLog"}}}},"OneTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403OneBroadcast":{"properties":{"errorCode":{"description":"bsc.broadcast.failed","example":"bsc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such HRM20 currency ${name}.","example":"No such HRM20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"HRM20 address was already set.","example":"HRM20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20Unsupported":{"properties":{"errorCode":{"description":"bsc.bep20.unsupported","example":"bsc.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH HRM20 blockchain.","example":"Unsupported ETH HRM20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxHash":{"properties":{"errorCode":{"description":"bsc.transaction.hash","example":"bsc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxSign":{"properties":{"errorCode":{"description":"bsc.transaction.sign","example":"bsc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneErc20TxSign":{"properties":{"errorCode":{"description":"bsc.bep20.sign","example":"bsc.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneGasCalculation":{"properties":{"errorCode":{"description":"bsc.transaction.gas","example":"bsc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxBody":{"properties":{"errorCode":{"description":"bsc.transaction.body","example":"bsc.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneScBody":{"properties":{"errorCode":{"description":"bsc.sc.invalid","example":"bsc.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallOneSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallOneReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallOneSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferOneBlockchain":{"type":"object","properties":{"amount":{"description":"The amount to transfer","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"currency":{"type":"string","description":"The currency of the amount to transfer","example":"ONE","enum":["ONE"]},"to":{"description":"The blockchain address to transfer the amount to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"fee":{"$ref":"#/components/schemas/CustomFee"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["to","amount","currency","fromPrivateKey"]},"OneEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":66,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":66,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in One.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"}},"required":["to","amount","from"]},"TransferOneBlockchainKMS":{"type":"object","properties":{"amount":{"description":"The amount to transfer","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"currency":{"type":"string","description":"The currency of the amount to transfer","example":"ONE","enum":["ONE"]},"to":{"description":"The blockchain address to transfer the amount to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"fee":{"$ref":"#/components/schemas/CustomFee"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["to","amount","currency","signatureId"]},"XdcBlock":{"type":"object","properties":{"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"receiptsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/XdcTx"}},"uncles":{"description":"Array of uncle hashes.","type":"array","items":{"type":"string"},"example":["0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"]}}},"XdcTx":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}},"logsBloom":{"type":"string","format":"DATA, 256 Bytes","description":"Bloom filter for light clients to quickly retrieve related logs.","example":null},"root":{"type":"string","description":"32 bytes of post-transaction stateroot (pre Byzantium)","example":null}}},"Error403XdcBroadcast":{"properties":{"errorCode":{"description":"xdc.broadcast.failed","example":"xdc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcErc20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcTxHash":{"properties":{"errorCode":{"description":"xdc.transaction.hash","example":"xdc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcTxSign":{"properties":{"errorCode":{"description":"xdc.transaction.sign","example":"xdc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcErc20TxSign":{"properties":{"errorCode":{"description":"xdc.erc20.sign","example":"xdc.erc20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcGasCalculation":{"properties":{"errorCode":{"description":"xdc.transaction.gas","example":"xdc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallXdcSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallXdcReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."}},"required":["contractAddress","params","methodABI","methodName"]},"CallXdcSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferXdcBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"currency":{"type":"string","description":"Currency of the transfer. ERC20 tokens are available only for mainnet use.","example":"XDC","enum":["XDC"]},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","currency","amount","fromPrivateKey"]},"XdcEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":43,"example":"xdcfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in XDC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["to","amount","from"]},"TransferXdcBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"currency":{"type":"string","description":"Currency of the transfer. ERC20 tokens are available only for mainnet use.","example":"XDC","enum":["XDC"]},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent in XDC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","signatureId","currency"]},"TransferMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"Amount of token.","example":"100000","type":"string","maxLength":256},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","amount","feeCurrency"]},"MultiTx":{"type":"object","properties":{"blockNumber":{"type":"number","example":6541235,"description":"Block number"},"txId":{"type":"string","example":"0x955c1037608c7aecb6d1a3f150ce7d0a80536bcabb0deb69d62f55292cc4c372","description":"Transaction ID"},"contractAddress":{"type":"string","example":"0x4f54fAD27F7F46C102Cd49b8E75C5593397cd9c3","description":"Contract address"},"tokenId":{"type":"string","example":"1","description":"ID of the token"},"amount":{"type":"string","example":"1","description":"Amount of tokens transferred."},"from":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Sender"},"operator":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Operator"},"to":{"type":"string","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea","description":"recipient"}},"required":["blockNumber","txId","contractAddress","tokenId","from","to","amount","operator"]},"TransferMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"Amount of token to be transferred","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","amounts","fromPrivateKey","feeCurrency"]},"DeployMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"uri":{"description":"URI of the Multi Token contract","example":"example.com","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC1155 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","uri","feeCurrency","fromPrivateKey"]},"DeployMultiTokenCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"uri":{"description":"URI of the Multi Token contract","example":"example.com","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","uri","feeCurrency","signatureId"]},"MintMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","tokenId","amounts","signatureId"]},"BurnMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId","amount","account"]},"BurnMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId","amounts","account"]},"BurnMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","amount","signatureId","account"]},"AddMultiTokenMinterKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","MATIC","KCS","KLAY","CELO","ONE","BSC"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of MultiToken token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"Address of MultiToken minter","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Ethereum transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas, only valid for CELO chain.","enum":["CELO","CUSD","CEUR"]}},"required":["chain","url","contractAddress","minter","signatureId"]},"AddMultiTokenMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","MATIC","KCS","KLAY","CELO","ONE","BSC","FLR","CRO","BASE"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of MultiToken token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"Address of MultiToken minter","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Ethereum transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas, only valid for CELO chain.","enum":["CELO","CUSD","CEUR"]}},"required":["minter","chain","url","contractAddress","fromPrivateKey"]},"BurnMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","amounts","account","signatureId"]},"TransferMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":256},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","signatureId","tokenId","amount"]},"TransferMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string"}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","items":{"type":"string"}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","signatureId","tokenId","amounts"]},"MintMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amount","feeCurrency","contractAddress","fromPrivateKey"]},"MintMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"to":{"maxLength":42,"minLength":42,"description":"The blockchain address to send the Multi Tokens to","example":["0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amounts","feeCurrency","contractAddress","fromPrivateKey"]},"MintMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amount","feeCurrency","contractAddress","signatureId"]},"TransferMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","fromPrivateKey","amount"]},"TransferMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":256}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","maxLength":256,"items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","amounts","fromPrivateKey"]},"DeployMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"uri":{"description":"URI of the Multi Token token","example":"example.com","type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC1155 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["uri","chain","fromPrivateKey"]},"DeployMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"uri":{"description":"URI of the Multi Token token","example":"example.com","type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["uri","chain","signatureId"]},"TransferMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","signatureId","tokenId","amount"]},"TransferMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":256}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","maxLength":256,"items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","signatureId","tokenId","amounts"]},"MintMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId","amount"]},"MintMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","signatureId","tokenId","amount"]},"MintMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId","amounts"]},"MintMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","url","signatureId","amounts"]},"BurnMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","contractAddress","fromPrivateKey","tokenId","amount"]},"BurnMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["1000","1001"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["10","10"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","amounts","chain","url","contractAddress","fromPrivateKey","tokenId"]},"BurnMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","amount","contractAddress","tokenId","signatureId"]},"BurnMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100","101"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["10","10"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","amounts","contractAddress","tokenId","signatureId"]},"Erc20BalanceForAddress":{"type":"object","properties":{"contractAddress":{"type":"string","description":"The address of the smart contract that the fungible tokens were minted on"},"amount":{"type":"string","description":"The number of the fungible tokens","example":"10"}}},"Erc20Balance":{"type":"object","properties":{"balance":{"type":"string","description":"The number of fungible tokens in the smallest token unit (for example, if the token has 10 decimal places, the number is returned as 9*10^10)","example":"10"}}},"ChainDeployErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits"]},"ChainDeploySolanaSpl":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"supply":{"description":"Initial supply of SPL token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":0,"type":"number"},"address":{"description":"Address on Solana blockchain, where all created SPL tokens will be transferred.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"from":{"description":"Address on Solana blockchain, from which the fee for the deployment of SPL will be paid.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"freezeAuthority":{"description":"Address on Solana blockchain which which can freeze token accounts. Default to the 'from'","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"description":"Private key of Solana account address, from which the fee for the deployment of SPL will be paid. Private key, or signature Id must be present.","type":"string","example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","maxLength":103,"minLength":128},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["chain","from","address","supply","fromPrivateKey","digits"]},"ChainDeploySolanaSplKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"supply":{"description":"Initial supply of SPL token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":0,"type":"number"},"address":{"description":"Address on Solana blockchain, where all created SPL tokens will be transferred.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"from":{"description":"Address on Solana blockchain, from which the fee for the deployment of SPL will be paid.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"freezeAuthority":{"description":"Address on Solana blockchain which which can freeze token accounts. Default to the 'from'","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["chain","from","address","supply","signatureId","digits"]},"FungibleTx":{"type":"object","properties":{"blockNumber":{"type":"number","example":6541235,"description":"Block number"},"txId":{"type":"string","example":"0x955c1037608c7aecb6d1a3f150ce7d0a80536bcabb0deb69d62f55292cc4c372","description":"Transaction ID"},"contractAddress":{"type":"string","example":"0x4f54fAD27F7F46C102Cd49b8E75C5593397cd9c3","description":"Contract address"},"amount":{"type":"string","example":"1","description":"Amount of tokens transferred, in smallest decimals"},"from":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Sender"},"to":{"type":"string","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea","description":"recipient"}},"required":["txId","blockNumber","contractAddress","amount","from","to"]},"ChainDeployErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits"]},"ChainDeployKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits"]},"ChainDeployKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits"]},"ChainDeployAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":8,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":32,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":1,"maximum":15,"minimum":0,"type":"number"},"url":{"description":"The URL pointing to the metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"GDNQECUM2JDPTA4KXNSXHQBAYL56FDZ73NXCQ2OLB32PN2G5BLNO5GY3QD2BQOYVBPYPMMETQUGTJUQ7W3V2K4NRJFHAVVWVZVBG5G2","maxLength":103,"minLength":103},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","name","symbol","supply","fromPrivateKey","digits","fee"]},"ChainDeployAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":8,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":32,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":15,"minimum":0,"type":"number"},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to create token from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"url":{"description":"The URL pointing to the metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in ALGO","type":"string","example":"0.001"}},"required":["chain","name","symbol","supply","signatureId","digits","from"]},"ChainDeployCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits","feeCurrency"]},"ChainDeployCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits","feeCurrency"]},"ChainMintErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","fromPrivateKey"]},"ChainMintKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","fromPrivateKey"]},"ChainMintErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","signatureId"]},"ChainMintKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","signatureId"]},"ChainMintCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","amount","feeCurrency","contractAddress","fromPrivateKey"]},"ChainMintCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","amount","feeCurrency","contractAddress","signatureId"]},"ApproveErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","ONE","FLR","CRO","BASE"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":43,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the smart contract's owner; the fee will be deducted from the owner's address"},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","contractAddress","fromPrivateKey"]},"ApproveErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","ONE"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":43,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the smart contract's owner; the fee will be deducted from the owner's address"},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","contractAddress","signatureId"]},"ApproveCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the smart contract's owner; the fee will be deducted from the owner's address"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","feeCurrency","contractAddress","fromPrivateKey"]},"ApproveCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the smart contract's owner; the fee will be deducted from the owner's address"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","feeCurrency","contractAddress","signatureId"]},"ChainBurnErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","fromPrivateKey","amount"]},"ChainBurnErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","signatureId","amount"]},"ChainBurnKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","fromPrivateKey","amount"]},"ChainBurnKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","signatureId","amount"]},"ChainBurnCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","amount"]},"ChainBurnCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]}},"required":["chain","contractAddress","feeCurrency","signatureId","amount"]},"ChainTransferAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"to":{"maxLength":58,"minLength":42,"description":"The blockchain address to send the fungible tokens to","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"The asset ID (the ID of the fungible tokens)","example":"1","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI","minLength":103,"description":"The private key of the blockchain address from which the fee will be deducted"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","to","contractAddress","amount","digits","fromPrivateKey"]},"ChainTransferAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"to":{"maxLength":58,"minLength":42,"description":"The blockchain address to send the fungible tokens to","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"from":{"maxLength":58,"minLength":58,"description":"The blockchain address to send the fungible tokens from","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"The asset ID (the ID of the fungible tokens)","example":"1","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","currency","to","contractAddress","signatureId","amount","from"]},"ChainBurnAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"Chain to work with.","enum":["ALGO"]},"contractAddress":{"maxLength":43,"minLength":1,"description":"assetIndex - asset index uniquely specifying the asset","example":"1","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI","minLength":103,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","contractAddress","fromPrivateKey"]},"ChainBurnAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"Chain to work with.","enum":["ALGO"]},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to send ERC20 token from","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"assetIndex - asset index uniquely specifying the asset","example":"1","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","contractAddress","signatureId","from"]},"ChainTransferEthErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferSolanaSpl":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"description":"The blockchain address to send the fungible tokens from","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"to":{"description":"The blockchain address to send the fungible tokens to","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the fungible tokens","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":0,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"The private key of the blockchain address that you are sending the fungible tokens from (the address that you specified in the from
parameter); the transaction fee will be deducted from this address"},"feePayer":{"description":"The blockchain address from which the fee will be deducted; if not set, defaults to the address that you specified in the from
parameter","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"The private key of the blockchain address that you specified in the feePayer
parameter; if not set, defaults to the private key that you specified in the fromPrivateKey
parameter"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","from","amount"]},"ChainTransferSolanaSplKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"description":"The blockchain address to send the fungible tokens from","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"to":{"description":"The blockchain address to send the fungible tokens to","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the fungible tokens","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":0,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you are sending the fungible tokens from (the address that you specified in the from
parameter); the transaction fee will be deducted from this address"},"feePayer":{"description":"The blockchain address from which the fee will be deducted; if not set, defaults to the address that you specified in the from
parameter","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you specified in the feePayer
parameter; if not set, defaults to the signature ID that you specified in the signatureId
parameter"}},"required":["chain","currency","to","contractAddress","digits","signatureId","from","amount"]},"ChainTransferEthErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","signatureId","amount"]},"ChainTransferKcsEthErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferKcsEthErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","signatureId","amount"]},"ChainTransferBscBep20":{"type":"object","properties":{"chain":{"type":"string","example":"BSC","description":"The blockchain to work with","enum":["BSC"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferBscBep20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"BSC","description":"The blockchain to work with","enum":["BSC"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","signatureId","amount"]},"ChainTransferCeloErc20Token":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","feeCurrency","fromPrivateKey","amount"]},"ChainTransferCeloErc20TokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","feeCurrency","signatureId","amount"]},"ChainCallSmartContractMethod":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","XDC"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","params","methodABI","fromPrivateKey","methodName"]},"NftMetadataErc721":{"type":"object","properties":{"data":{"type":"string","description":"Metadata associated with token.","example":"https://my_token_data.com"}}},"NftMetadataErc721OnchainSolana":{"type":"object","properties":{"onchainData":{"type":"object","description":"(Solana) Metadata associated with token.","properties":{"name":{"type":"string","example":"My token"},"symbol":{"type":"string","example":"symbol"},"uri":{"type":"string","example":"http://google.com"}}}}},"NftMetadataErc721OnchainFlow":{"type":"array","description":"(Flow) Token ids","items":{"type":"string","example":"3654"}},"NftMetadataErc721OnchainAlgo":{"type":"object","properties":{"onchainData":{"type":"string","description":"(ALGO) Metadata associated with token.","example":"https://my_token_data.com"}}},"NftRoyaltyErc721":{"type":"object","properties":{"addresses":{"type":"array","description":"The blockchain addresses where the royalty cashback will be sent every time the NFT is transferred","items":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326"}},"values":{"type":"array","description":"The amounts of the royalties that will be paid to the authors of the NFT every time the NFT is transferred; the royalties are paid as a percentage of the NFT price (on Solana) or in a native blockchain currency (on the other supported blockchains)\n","items":{"type":"string","example":"0.2"}}}},"NftTokenByAddressErc721":{"type":"object","required":["contractAddress","balances","metadata"],"properties":{"contractAddress":{"type":"string","example":"43821281","description":"On Algorand, this is the asset ID (the ID of the NFT); on the other blockchains, this is the address of the NFT smart contract."},"balances":{"type":"array","description":"On Algorand, this is either an array of \"1\" to indicate that the NFTs with the specified IDs exist, or an array with the number of NFT fractions if the NFTs are fractional; on the other blockchains, this is an array of the IDs of the NFTs.","items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"blockNumber":{"type":"array","description":"(EVM-based blockchains only) An array of the numbers of the blocks in which the NFT was received by the address","items":{"type":"number","example":13816552}},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/NftTokenByAddressErc721TokenMetadata"}},"supply":{"type":"number","example":10,"description":"(Algorand only) The number of fractions in the NFT if the NFT is fractional"},"decimals":{"type":"number","example":1,"description":"(Algorand only) The number of decimal places in an NFT fraction if the NFT is fractional"}}},"NftTokenByAddressErc721TokenMetadata":{"type":"object","properties":{"tokenId":{"description":"(EVM-based blockchains only) The ID of the NFT owned by this address","type":"string","maxLength":78,"example":"123","format":"uint256"},"url":{"description":"The URL pointing to the NFT metadata; the URL may not be present, and if it is not returned, you can get it by calling the NFT Contract.tokenURI() method","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"},"metadata":{"$ref":"#/components/schemas/NftTokenByAddressErc721Metadata"}}},"NftTokenByAddressErc721Metadata":{"type":"object","description":"The metadata scheme obtained from the metadata URL; the scheme may not be present, and if it is not returned, you can get it using the NFT metadata API","example":{"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}},"NftTokenByCollectionErc721":{"type":"object","required":["tokenId"],"properties":{"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"metadata":{"$ref":"#/components/schemas/NftTokenByCollectionErc721TokenMetadata"}}},"NftTokenByCollectionErc721TokenMetadata":{"type":"object","required":["tokenID"],"properties":{"tokenId":{"description":"TokenID of the NFT token owned by this address.","type":"string","maxLength":78,"example":"123","format":"uint256"},"url":{"description":"Metadata URL of the TokenID. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"},"metadata":{"type":"object","description":"Metadata scheme obtained from the url. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.","example":{"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}}}},"TransferNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send NFT token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","feeCurrency"]},"TransferNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"from":{"maxLength":36,"minLength":36,"description":"Blockchain address that owns the NFT token","example":"tz1LszyhzQS6JgySBSNkM55szM18inGwEgPa","type":"string"},"to":{"maxLength":36,"minLength":36,"description":"Blockchain address to send NFT token to","example":"tz1LszyhzQS6JgySBSNkM55szM18inGwEgPa","type":"string"},"contractAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address of the NFT smart contract","example":"KT1PemxAAhNkjvt49gBtFHn4JEm49Z3HA8TX","type":"string"},"tokenId":{"description":"The ID of the NFT","type":"string","maxLength":78,"example":"123","format":"uint256"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4jTb","minLength":64,"description":"The private key of the blockchain address that owns the token or has rights to transfer the token. This address will pay the fee for the transaction,"}},"required":["chain","from","to","tokenId","contractAddress","fromPrivateKey"]},"TransferNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"maxLength":34,"minLength":34,"description":"Blockchain address to send NFT token to","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","feeLimit"]},"FlowMintedMultipleResult":{"type":"object","properties":{"txId":{"type":"string","description":"Transaction ID","example":"d67787399d205139f4d6f42c2aa4fffdf6f247411fae3706e874fbba0ce04b1b"},"tokenId":{"type":"array","items":{"description":"ID of the minted token.","type":"string","maxLength":78,"example":"123","format":"uint256"}}}},"FlowMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"Transaction ID","example":"d67787399d205139f4d6f42c2aa4fffdf6f247411fae3706e874fbba0ce04b1b"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"}}},"SolanaMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"The ID of the transaction","example":"4kiRkAWjjr5t3rBKmYQ5d2e3xjgnRRttB5GtUz2F4sz5wwC7NnV74qCZ1KN1b37qsnjkKknsJPGXdcPhzHpkiMAs"},"nftAddress":{"type":"string","description":"The blockchain address of the minted NFT","example":"4afZBmAneN2j6gDHH8zdrNWkCqfMC3XPH2cpFKtYMSVe"},"nftAccountAddress":{"type":"string","description":"The blockchain address that received the minted NFT; this address was created under the recipient's account address (the one in the to
parameter of the request body), is owned by the recipient's address, and has the same private key","example":"A8BSHPJcB5ZGCT6yo6pz2RYqnypTSpzTAFSBhtTQmsEE"}}},"AlgorandMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"The ID of the transaction","example":"HQ32RQPJ7EAASLHPG5TTQEGETOEMN7BPND2TQMUMZWLIZBJWJ23A"},"assetIndex":{"type":"number","description":"The ID of the minted NFT","example":88885810},"confirmed":{"type":"boolean","description":"If set to \"true\", the transaction was included in the block within five rounds; otherwise, returned set to \"false\". \"false\" does not mean that the transaction was not included in the block; the Tatum API just does not wait for that much time to return the response.","example":true}}},"MintMultipleNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","url","fromPrivateKey","feeCurrency","tokenId"]},"MintMultipleNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ"],"items":{"maxLength":34,"minLength":34,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","contractAddress","url","fromPrivateKey","feeLimit","tokenId"]},"DeployNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","feeCurrency","fromPrivateKey"]},"DeployNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"ownerAddress":{"description":"Public address that will be admin of the contract. Must be a valid address of the Tezos blockchain.","example":"tz1cCRCbBwnazV6howgD84a6fuhikKTnsWHZ","type":"string"},"metadata":{"description":"Object of key-value pairs representing metadata of the contract. Keys must be strings, values can be strings, numbers, or booleans.","example":{"name":"My NFT"},"type":"object"},"fromPrivateKey":{"description":"Private key of account address, from which fee and storage costs for deployment of Tzip12 contract will be paid.","type":"string","example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc"}},"required":["chain","ownerAddress","metadata","fromPrivateKey"]},"DeployNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX); deployment of a smart contract on TRON costs around 580 TRX","example":600}},"required":["chain","name","symbol","feeLimit","fromPrivateKey"]},"DeployNftCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","feeCurrency","signatureId"]},"DeployNftTronKMS":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX); deployment of a smart contract on TRON costs around 580 TRX","example":600}},"required":["chain","name","from","symbol","feeLimit","signatureId"]},"MintMultipleNftKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","tokenId","url","signatureId"]},"MintMultipleNftKMSTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ"],"items":{"maxLength":34,"minLength":34,"type":"string"}},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","from","contractAddress","feeLimit","tokenId","url","signatureId"]},"BurnNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId"]},"BurnNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"KT1KVGCm3WTQndN8WLvdYWAaCJheWj7oudY7","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4","minLength":66,"description":"Private key of sender address."},"ownerAddress":{"maxLength":36,"minLength":36,"description":"Public address of the owner. Owner is admin and minter of the token. Must be a valid address of the Tezos blockchain.","example":"tz1cCRCbBwnazV6howgD84a6fuhikKTnsWHZ","type":"string"}},"required":["chain","tokenId","contractAddress","fromPrivateKey","ownerAddress"]},"BurnNftAlgo":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The ID of the NFT to burn; this is the ID from the assetIndex
parameter returned in the response body of the minting call","example":"116363571","type":"string"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"46OPDKNDLB35M3QMRRZEAW2HDTDT2LFHRUCHDE5FJZAJOV7GDPCC6AYZ6KCUULTHA4QL6YPHN2PNEXHPJMUZGHYJXQK6SUL2HQ2MLXQ","minLength":103,"description":"The private key of the blockchain address from which the fee will be deducted"}},"required":["chain","contractAddress","fromPrivateKey"]},"BurnNftAlgoKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"contractAddress":{"maxLength":265,"description":"The ID of the NFT to burn; this is the ID from the assetIndex
parameter returned in the response body of the minting call","example":"116363571","type":"string"},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to burn NFT token from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["chain","contractAddress","signatureId","from"]},"BurnNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","contractAddress","feeLimit","fromPrivateKey","tokenId"]},"BurnNftSolana":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":128,"description":"The private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["from","chain","contractAddress","fromPrivateKey"]},"BurnNftSolanaKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["from","chain","contractAddress","signatureId"]},"BurnNftKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","signatureId"]},"BurnNftKMSTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","feeLimit","contractAddress","tokenId","signatureId","from"]},"BurnNftFlowPK":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"privateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, mnemonic and index or signature Id must be present."}},"required":["chain","contractAddress","account","privateKey","tokenId"]},"BurnNftFlowMnemonic":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"mnemonic":{"type":"string","maxLength":500,"example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","minLength":1,"description":"Mnemonic to generate private key of sender address."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","mnemonic","index","tokenId"]},"BurnNftFlowKMS":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","signatureId","tokenId"]},"MintMultipleNftFlowPK":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"privateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, mnemonic and index or signature Id must be present."}},"required":["chain","contractAddress","account","privateKey","to","url"]},"MintMultipleNftFlowMnemonic":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"mnemonic":{"type":"string","maxLength":500,"example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","minLength":1,"description":"Mnemonic to generate private key of sender address."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","mnemonic","index","to","url"]},"MintMultipleNftFlowKMS":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","signatureId","to","url"]},"MintNftFlowPK":{"description":"The MintNftFlowPK
schema lets you mint NFTs natively on Flow and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftFlowMnemonic
schema lets you mint NFTs natively on Flow and sign the transaction with your wallet mnemonic.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftFlowKMS
schema lets you mint NFTs natively on Flow and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftCelo
schema lets you mint NFTs natively on Celo and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftTron
schema lets you mint NFTs natively on TRON and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftKMSCelo
schema lets you mint NFTs natively on Celo and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftKMSTron
schema lets you mint NFTs natively on TRON and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"to":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT to","example":"9pSkqSG71Sb25ia9WBFhoeBYjp8dhUf7fRux9xrDq89b","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":128,"description":"The private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["to","from","chain","contractAddress","fromPrivateKey"]},"TransferNftAlgoKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"from":{"maxLength":58,"minLength":58,"description":"The blockchain address to transfer the NFT from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"to":{"maxLength":58,"minLength":58,"description":"The blockchain address to transfer the NFT to","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"contractAddress":{"description":"The asset ID (the ID of the NFT)","example":"100000","type":"string","maxLength":256},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the sender's blockchain address"},"amount":{"description":"(For fractional NFTs only) The number of NFT fractions to transfer; if not set, defaults to 1, which means that one fraction of the NFT will be transferred","example":1,"default":1,"type":"number","minimum":0}},"required":["to","chain","contractAddress","from","signatureId"]},"TransferNftSolanaKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"to":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT to","example":"9pSkqSG71Sb25ia9WBFhoeBYjp8dhUf7fRux9xrDq89b","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["to","from","chain","contractAddress","signatureId"]},"DeployNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","ZEN","FLR","CRO","BASE"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","chain","symbol","fromPrivateKey"]},"DeployNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","chain","symbol","signatureId"]},"TransferNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send NFT token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","contractAddress","signatureId","tokenId"]},"MintNft":{"description":"The MintNft
schema lets you mint NFTs natively on BNB Smart Chain, Ethereum, Harmony, Klaytn, KuCoin Community Chain, Polygon and Horizen Eon and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftMinter
schema lets you mint NFTs on BNB Smart Chain, Celo, Ethereum, Harmony, Klaytn, Polygon and Horizen Eon using the NTF minter, a special blockchain address provided by Tatum that will cover the minting fees.
For more information, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
The MintNftExpress
schema lets you mint NFTs on BNB Smart Chain, Celo, Ethereum, Harmony, Klaytn, and Polygon using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
The MintNftExpressAlgorand
schema lets you mint NFTs on Algorand using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftAlgorand
schema lets you mint NFTs natively on Algorand and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftAlgorandKMS
schema lets you mint NFTs natively on Algorand and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftExpressTezos
schema lets you mint NFTs on Tezos using NTF Express. You don't need to provide the private key and Tatum will cover the minting fees. The price of the mint operation will be deducted from your credits. In order to use the mint you need to first deploy the smartcontract using NFT Express
The MintNftTezos
schema lets you mint NFTs on Tezos.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
","type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"url":{"description":"The URL pointing to the NFT metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"contractAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address of the smart contract to build the NFT on","example":"KT1PemxAAhNkjvt49gBtFHn4JEm49Z3HA8TX","type":"string"},"ownerAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address to send the NFT to","example":"tz1f1nboqWEhZJHwZnxnokQ9QoTiT21qMZxG","type":"string"},"tokenId":{"description":"The ID of the NFT","type":"string","maxLength":78,"example":"123","format":"uint256"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4jTb","minLength":64,"description":"The private key of the blockchain address that will pay the fee for the transaction"}},"required":["tokenId","chain","url","ownerAddress","contractAddress","fromPrivateKey"]},"MintNftKMS":{"description":"
The MintNftKMS
schema lets you mint NFTs natively on BNB Smart Chain, Ethereum, Harmony, Klaytn, KuCoin Community Chain, and Polygon and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftSolana
schema lets you mint NFTs natively on Solana and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
collection
parameter in the metadata
section of the request body. To know more about Solana collections and verification, refer to the Solana user documentation."},"metadata":{"$ref":"#/components/schemas/SolanaNftMetadata"}},"required":["to","chain","fromPrivateKey","from","metadata"]},"VerifySolanaNFT":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"nftAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT to verify","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"collectionAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT should be verified in. The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program.","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the collection verifier on behalf of whom the transaction will be originated. The transaction fee will be paid from this address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":64,"description":"The private key of the collection verifier's address"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["collectionAddress","chain","fromPrivateKey","from","nftAddress"]},"VerifySolanaNFTKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"nftAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT to verify","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"collectionAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT should be verified in. The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program.","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the collection verifier on behalf of whom the transaction will be originated. The transaction fee will be paid from this address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["collectionAddress","chain","signatureId","from","nftAddress"]},"MintNftExpressSolana":{"description":"The MintNftExpressSolana
schema lets you mint NFTs on Solana using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
The MintNftSolanaKMS
schema lets you mint NFTs natively on Solana and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. Specify the private key of the collection verifier in the collectionVerifierPrivateKey
parameter of the request body to get the NFT verified in the collection after the NFT has been minted. To know more about Solana collections and verification, refer to the Solana user documentation.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"SolanaNftMetadataKMS":{"type":"object","required":["name","symbol","uri","sellerFeeBasisPoints"],"properties":{"name":{"type":"string","description":"The name of the NFT","example":"My NFT","maxLength":32},"symbol":{"type":"string","description":"The symbol or abbreviated name of the NFT","example":"NFT_SYMBOL","maxLength":10},"sellerFeeBasisPoints":{"type":"number","description":"The royalty that will be paid to the authors of the minted NFT every time the NFT is transferred100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. The minted NFT will get verified in the collection on behalf of the blockchain address specified in the from
parameter. To know more about Solana collections and verification, refer to the Solana user documentation and NFT verification API.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"SolanaNftExpressMetadata":{"type":"object","required":["name","symbol","uri","sellerFeeBasisPoints"],"properties":{"name":{"type":"string","description":"The name of the NFT","example":"My NFT","maxLength":32},"symbol":{"type":"string","description":"The symbol or abbreviated name of the NFT","example":"NFT_SYMBOL","maxLength":10},"sellerFeeBasisPoints":{"type":"number","description":"The royalty that will be paid to the authors of the minted NFT every time the NFT is transferred100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. By default, the NFT is minted as not verified (is not considered a part of the collection). To verify the NFT in the collection, use the NFT verification API. To know more about Solana collections and verification, refer to the Solana user documentation.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"MintMultipleNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","FLR","CRO","BASE"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"erc20":{"type":"string","maxLength":42,"minLength":42,"description":"The blockchain address of the custom fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId"]},"MintMultipleNftMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","CELO","KCS","ONE","KLAY","BSC"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"minter":{"maxLength":42,"minLength":43,"description":"Address of NFT minter, which will be used to mint the tokens. From this address, transaction fees will be deducted.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"(Celo only) The currency in which the transaction fee will be paid","enum":["CELO"]}},"required":["to","chain","url","contractAddress","minter","tokenId"]},"MintMultipleNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"erc20":{"type":"string","maxLength":42,"minLength":42,"description":"The blockchain address of the custom fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","contractAddress","tokenId","url","signatureId"]},"BurnNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","ZEN","FLR","CRO","BASE"]},"tokenId":{"description":"The ID of the NFT to burn","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":1,"description":"The blockchain address of the NFT to burn","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId"]},"AddNftMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","KLAY","KCS","MATIC","ONE","ZEN","FLR","CRO","BASE"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the NFT smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"The blockchain address to add to the smart contract as an NFT minter1
to indicate that the NFT with the specified ID exists","items":{"type":"string","example":"1"}},"metadata":{"type":"array","items":{"type":"object","properties":{"url":{"description":"The URL pointing to the NFT metadata; may not be present","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"}}}}}}}}},"BalanceItem":{"oneOf":[{"$ref":"#/components/schemas/NativeTokenBalance"},{"$ref":"#/components/schemas/NftBalance"},{"$ref":"#/components/schemas/FungibleTokenBalance"}]},"NativeTokenBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"native"},"address":{"type":"string"},"balance":{"type":"string"}},"required":["chain","type","address","balance"]},"NftBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"nft"},"address":{"type":"string"},"balance":{"type":"string"},"tokenAddress":{"type":"string"},"tokenId":{"type":"string"},"metadataURI":{"type":"string"},"lastUpdatedBlockNumber":{"type":"integer"},"metadata":{"type":"object"}},"required":["chain","type","address","balance","tokenAddress","lastUpdatedBlockNumber"]},"FungibleTokenBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"fungible"},"address":{"type":"string"},"balance":{"type":"string"},"tokenAddress":{"type":"string"},"lastUpdatedBlockNumber":{"type":"integer"}},"required":["chain","type","address","balance","tokenAddress","lastUpdatedBlockNumber"]},"TokenType":{"type":"string","enum":["native","fungible","nft","multitoken"],"description":"Enum representing the type of token.","example":"nft"},"BlockItem":{"type":"object","properties":{"blockNumber":{"type":"integer","description":"The block number in the blockchain.","example":10},"blockTimestamp":{"type":"integer","format":"int64","description":"The timestamp when the block was created, in milliseconds since Unix epoch.","example":1598671520000},"hash":{"type":"string","description":"The hash of the block.","example":"0xec1a2d906f34e1981b2b1a15dbe5e10cf640e8b4b27dc056ebb65c0409b5a9af"},"eventIngestedSize":{"type":"integer","description":"The number of ingested events in the block.","example":0},"nftIngestedSize":{"type":"integer","description":"The number of ingested NFTs in the block.","example":0},"txHashes":{"type":"array","items":{"type":"string"},"description":"The array of transaction hashes included in the block.","example":["0x19eaae1f7bdd28605f4175d7e87c9de68431bf76e85a262e268252a84bfc3984"]}}},"Event":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"address":{"type":"string","description":"The address associated with the event."},"blockNumber":{"type":"integer","description":"The block number where the event was recorded."},"timestamp":{"type":"integer","description":"The timestamp of the event in UNIX format."},"decoded":{"oneOf":[{"$ref":"#/components/schemas/FungibleTransfer"},{"$ref":"#/components/schemas/StablecoinTransfer"},{"$ref":"#/components/schemas/NftTransfer"},{"$ref":"#/components/schemas/MultitokenTransferSingle"},{"$ref":"#/components/schemas/MultitokenTransferBatch"},{"$ref":"#/components/schemas/UniswapTradeV2"},{"$ref":"#/components/schemas/UniswapTradeV3"}],"description":"The decoded event data based on the given models."},"raw":{"$ref":"#/components/schemas/RawData"},"txHash":{"type":"string","description":"The transaction hash related to the event."},"txIndex":{"type":"integer","description":"The transaction index within the block."},"logIndex":{"type":"integer","description":"The log index within the transaction."}}},"DecodedDataCommon":{"type":"object","description":"Common properties for decoded data events.","properties":{"label":{"type":"string","description":"The label of the event.","example":"Transfer"},"type":{"type":"string","description":"The type of the event.","example":"FungibleTransfer"},"subtype":{"type":"string","description":"The subtype of the event.","example":"ERC20"},"from":{"type":"string","description":"The sender address of the event.","example":"0x742d35cc6634c0532925a3b844bc454e4438f44e"},"to":{"type":"string","description":"The receiver address of the event.","example":"0xb7d49e5aa39ff1e5d1b33286c3a8e5515b6a4e1a"}}},"FungibleTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"decimals":{"type":"integer","description":"The number of decimal places for the transferred token.","example":18},"value":{"type":"string","description":"The value of the transferred token.","example":"1000"}}}]},"StablecoinTransfer":{"allOf":[{"$ref":"#/components/schemas/FungibleTransfer"},{"type":"object","properties":{"stablecoin":{"type":"string","description":"The address of the stablecoin being transferred.","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}]},"NftTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"tokenId":{"type":"string","description":"The unique identifier of the NFT being transferred.","example":"101"}}}]},"MultitokenTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"operator":{"type":"string","description":"The address of the operator initiating the transfer.","example":"0x742d35cc6634c0532925a3b844bc454e4438f44e"}}}]},"MultitokenTransferSingle":{"allOf":[{"$ref":"#/components/schemas/MultitokenTransfer"},{"type":"object","properties":{"multitokenId":{"type":"string","description":"The unique identifier of the single multitoken being transferred.","example":"1"},"multitokenValue":{"type":"string","description":"The value of the single multitoken being transferred.","example":"100"}}}]},"MultitokenTransferBatch":{"allOf":[{"$ref":"#/components/schemas/MultitokenTransfer"},{"type":"object","properties":{"multitokenIds":{"type":"array","items":{"type":"string"},"description":"The unique identifiers of the multitokens being transferred.","example":["1","2","3"]},"multitokenValues":{"type":"array","items":{"type":"string"},"description":"The values of the multitokens being transferred.","example":["100","200","300"]}}}]},"UniswapTrade":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"token0":{"type":"string","description":"The address of the first token involved in the trade.","example":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"},"token1":{"type":"string","description":"The address of the second token involved in the trade.","example":"0x6b175474e89094c44da98b954eedeac495271d0f"},"partiallyRaw":{"type":"boolean","description":"Indicates whether the trade data is partially raw or not.","example":false}}}]},"UniswapTradeV2":{"allOf":[{"$ref":"#/components/schemas/UniswapTrade"},{"type":"object","properties":{"amount0In":{"type":"string","description":"The input amount of the first token in the trade.","example":"0.5"},"amount1In":{"type":"string","description":"The input amount of the second token in the trade.","example":"0.0"},"amount0Out":{"type":"string","description":"The output amount of the first token in the trade.","example":"0.0"},"amount1Out":{"type":"string","description":"The output amount of the second token in the trade.","example":"1.0"}}}]},"UniswapTradeV3":{"allOf":[{"$ref":"#/components/schemas/UniswapTrade"},{"type":"object","properties":{"amount0":{"type":"string","description":"The net amount of the first token involved in the trade.","example":"0.5"},"amount1":{"type":"string","description":"The net amount of the second token involved in the trade.","example":"1.0"},"sqrtPriceX96":{"type":"string","description":"The square root price of the trading pair scaled by 2^96.","example":"79228162514264337593543950336"},"liquidity":{"type":"string","description":"The liquidity of the trading pair at the time of the trade.","example":"1000"},"tick":{"type":"integer","description":"The tick index of the Uniswap V3 pool at the time of the trade.","example":1000}}}]},"RawData":{"type":"object","description":"Raw data associated with the event, including topics and data.","required":["topic_0"],"properties":{"topic_0":{"type":"string","description":"The first topic of the event, if present.","example":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},"topic_1":{"type":"string","description":"The second topic of the event, if present.","example":"0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e"},"topic_2":{"type":"string","description":"The third topic of the event, if present.","example":"0x000000000000000000000000b7d49e5aa39ff1e5d1b33286c3a8e5515b6a4e1a"},"topic_3":{"type":"string","description":"The fourth topic of the event, if present.","example":""},"data":{"type":"string","description":"The data associated with the event, if present.","example":"0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"}}},"TxData":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/ChainEnum"},"hash":{"type":"string","description":"The transaction hash.","example":"0x549447710026cef714da21fb29cbfae1f689bd3246f2fa0a5081149c4aeb3bb3"},"address":{"type":"string","description":"The address involved in the transaction.","example":"0xdef1c0ded9bec7f1a1670819833240f027b25eff"},"counterAddress":{"type":"string","description":"The counter address involved in the transaction (optional).","example":"0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"},"tokenAddress":{"type":"string","description":"The token address involved in the transaction (optional).","example":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"},"tokenId":{"type":"string","description":"The ID of the token involved in the transaction (optional).","example":33},"blockNumber":{"type":"number","description":"The block number in which the transaction occurred.","example":16819465},"transactionIndex":{"type":"number","description":"The transaction index within the block.","example":84},"transactionType":{"$ref":"#/components/schemas/TxType"},"transactionSubtype":{"$ref":"#/components/schemas/TxSubtype"},"amount":{"type":"string","description":"The amount transferred in the transaction.","example":0.9909237063720822},"timestamp":{"type":"number","description":"The timestamp when the transaction occurred.","example":1678715303000}}},"TxType":{"type":"string","description":"The type of the transaction.","enum":["fungible","nft","multitoken","native"]},"TxSubtype":{"type":"string","description":"The subtype of the transaction.","enum":["incoming","outgoing","zero-transfer"]},"FungibleInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the fungible token.","example":"USDC"},"name":{"type":"string","description":"The full name of the fungible token.","example":"USD Coin"},"supply":{"type":"string","description":"The total supply of the fungible token.","example":"1000000000"},"decimals":{"type":"number","description":"The number of decimal places for the fungible token.","example":6},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC20, BEP20).","example":"ERC20"},"cap":{"type":"string","description":"The maximum supply cap of the fungible token.","example":"2000000000"}}},"FungibleInfoTezos":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the fungible token.","example":"USDC"},"name":{"type":"string","description":"The full name of the fungible token.","example":"USD Coin"},"description":{"type":"string","description":"The describtion of the fungible token.","example":"USD Coin"},"supply":{"type":"string","description":"The total supply of the fungible token.","example":"1000000000"},"decimals":{"type":"number","description":"The number of decimal places for the fungible token.","example":6},"tokenType":{"type":"string","description":"The type of the token (e.g., fungible, nft).","example":"fungible"}}},"NftInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the NFT collection.","example":"ART"},"name":{"type":"string","description":"The full name of the NFT collection.","example":"Art Collection"},"supply":{"type":"string","description":"The total supply of the NFT collection.","example":"5000"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"}}},"NftInfoTezos":{"type":"object","properties":{"name":{"type":"string","description":"The full name of the NFT collection.","example":"Art Collection"},"description":{"type":"string","description":"The total supply of the NFT collection.","example":"5000"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"},"contractMetadata":{"type":"object","description":"Additional information about the contract"}}},"MultitokenInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the multitoken collection.","example":"GAME"},"name":{"type":"string","description":"The full name of the multitoken collection.","example":"Game Assets"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC1155).","example":"ERC1155"}}},"NftTokenInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the NFT token.","example":"ART"},"name":{"type":"string","description":"The name of the NFT token.","example":"Mona Lisa"},"metadata":{"type":"object","description":"The metadata associated with the NFT token.","example":{"artist":"Leonardo da Vinci","year":1503}},"metadataURI":{"type":"string","description":"The URI of the metadata associated with the NFT token.","example":"https://example.com/metadata/123"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"}}},"Token":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"tokenId":{"$ref":"#/components/schemas/TokenId"},"tokenAddress":{"$ref":"#/components/schemas/TokenAddress"},"tokenType":{"$ref":"#/components/schemas/TokenType"},"metadataURI":{"$ref":"#/components/schemas/NftMetadataURI"},"metadata":{"$ref":"#/components/schemas/NftMetadata"}}},"TokenTezos":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"tokenId":{"$ref":"#/components/schemas/TokenId"},"tokenAddress":{"$ref":"#/components/schemas/TokenAddress"},"tokenType":{"$ref":"#/components/schemas/TokenType"},"creator":{"type":"string","description":"Address of the token creator.","example":"tz1hkNPg5jQ66pJpZH2boiF5AnbAcd1dt5KS"},"name":{"type":"string","description":"Name of the token.","example":"My token 1"}}},"Chain":{"type":"string","description":"Name of the chain.","example":"ethereum"},"ChainEnum":{"type":"string","example":"ethereum","enum":["ethereum","ethereum-sepolia","ethereum-holesky","celo","celo-testnet","bsc","bsc-testnet","polygon","eon","chiliz"]},"ChainEnumExtended":{"type":"string","example":"ethereum","enum":["ethereum","ethereum-sepolia","celo","celo-testnet","bsc","bsc-testnet","polygon","tezos","eon","chiliz"]},"ChainUtxoEnum":{"description":"The blockchain to work with.","type":"string","example":"bitcoin","enum":["bitcoin","bitcoin-mainnet","bitcoin-testnet","litecoin","litecoin-mainnet","litecoin-testnet","doge","doge-mainnet","doge-testnet","cardano","cardano-mainnet","cardano-preprod"]},"Utxo":{"type":"object","required":["chain","address","txHash","index","value","valueAsString"],"properties":{"chain":{"$ref":"#/components/schemas/ChainUtxoEnum"},"address":{"type":"string","description":"Address of the UTXO","example":"bc1qmfp2r68cde646jv5ns7x2qvah8v5qtfw8gznj2"},"txHash":{"type":"string","description":"Hash of the transaction this UTXO is present in","example":"0x1b5b3e8a671434bf5d0d38e3e52dcafac484441a48bfae4a3f71e5b0b3093d8e"},"index":{"type":"number","description":"Index of the UTXO in the transaction","example":0},"value":{"type":"number","description":"Value of the UTXO, in BTC, LTC or DOGE.","example":0.0001},"valueAsString":{"type":"string","description":"String representation of the value of the UTXO, in BTC, LTC or DOGE.","example":"0.0001"}}},"TokenId":{"type":"string","description":"ID of the token.","maxLength":78,"example":"3","format":"uint256"},"TokenIds":{"type":"string","description":"IDs of the token.","maxLength":78,"example":"3,4","format":"uint256"},"TokenAddress":{"type":"string","description":"Contract address of the token.","example":"0xba30E5F9Bb24caa003E9f2f0497Ad287FDF95623"},"ExcludeMetadata":{"type":"boolean","example":false},"NftMetadataURI":{"type":"string","description":"Metadata URL of the token. This data doesn't have to be present.\nThe safest way to obtain them in that case is from the NFT Contract.tokenURI() method call.\n","example":"ipfs://QmTDcCdt3yb6mZitzWBmQr65AW6Wska295Dg9nbEYpSUDR/3"},"NftMetadata":{"type":"object","description":"Metadata scheme obtained from the url. This data don't have to be present.\nThe safest way to obtain them in that case is from the NFT Contract.tokenURI() method call.\n","example":{"image":"ipfs://QmamEqaaVttv9AvfgM4Wa7d9Ettonep1NBQSDCtM7THUSX","attributes":[{"trait_type":"Background","value":"Club Exterior"},{"trait_type":"Fur","value":"Radioactive"},{"trait_type":"Back","value":"Beer Kegs"},{"trait_type":"Mouth","value":"Goofball"},{"trait_type":"Eyes","value":"Closed"}]}},"BlockNumber":{"type":"number","example":16499510,"minimum":0},"BlockNumberTo":{"type":"number","example":16779230,"minimum":0},"PageSize":{"type":"number","example":10,"minimum":1,"maximum":50},"Cursor":{"type":"string","description":"Cursor pagination, used to get next page or previous page of results. The size of result is defined by the `pageSize` parameter. \nThe cursor is a base64 encoded string, user can get the value from a response in the `nextPage` or `prevPage` field. \nIf the nextPage or prevPage fields are not present in the response body, pagination is usually available with the `offset` and `pageSize` parameters. \n","example":"MzYxNTQ3MHwyNDV8cHJldg=="},"Offset":{"type":"number","example":0}},"securitySchemes":{"X-API-Key":{"type":"apiKey","name":"x-api-key","in":"header","description":"The **API key** represents your [pricing plan](https://tatum.io/pricing) and defines how many API calls \nyou can make per second and what the total number of API calls per month is available for you.\n\nOne API key must be used by only one person.\n\nChoose one of the following authentication methods:\n\n* **Provide the API key in each API call.**\n\n To obtain the API key, [create a Tatum account](https://dashboard.tatum.io/sign-up). Once you are logged in,\n you are automatically assigned the Free plan.\n\n With the Free plan:\n * You get two API keys, one tied to the testnet of a blockchain and the other to the mainnet.\n * You can make up to five API calls per second.\n * The number of API calls per month is not limited.\n\n When making an API call, provide the appropriate API key (testnet or mainnet) as either an HTTP header\n or a path parameter of the API call.\n\n If you ever need your API keys, you can find them in [your Tatum account](https://dashboard.tatum.io/).\n\n For more information about the Free plan and paid plans, refer to [this article](https://docs.tatum.io/payments/plans-and-pricing).\n\n* **Get an auto-generated API key attached to API calls.**\n\n Make an API call without any API key provided. The API key will be generated and tied to your IP address.\n This API key is stored within the Tatum platform and is automatically attached to all your API calls.\n\n With the auto-generated API key:\n * You can make up to five API calls per second.\n * You get 10,000,000 credits to spend on API calls within a month.\n\n The number of credits is reset on the first day of a month. The unused credits from the current month are not\n rolled over to the next month.\n\n These limits are applied to both the testnet and mainnet.\n\n By default, API calls with the auto-generated API key are executed against the mainnet.\n To make an API call to the testnet, add the `type` query parameter set to `testnet` to the endpoint URL,\n for example:\n\n `https://api.tatum.io/v3/ledger/account?type=testnet`\n"}},"parameters":{"EthTestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of Ethereum testnet in query. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/EthTestnetType"}},"EthTestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of Ethereum testnet in header. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/EthTestnetType"}},"TestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of testnet in query. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.","required":false,"schema":{"$ref":"#/components/schemas/TestnetType"}},"TestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of testnet in header. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.","required":false,"schema":{"$ref":"#/components/schemas/TestnetType"}},"FlareTestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of Flare testnet in query. Defaults to flare-coston. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/FlareTestnetType"}},"FlareTestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of Flare testnet in header. Defaults to flare-coston. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/FlareTestnetType"}}}}}
\ No newline at end of file
+{"openapi":"3.1.0","security":[{"X-API-Key":[]}],"info":{"title":"Tatum API Reference","version":"3.18.3","description":"# Welcome to the Tatum API Reference!\n\n## What is Tatum?\n\nTatum offers a flexible framework to build, run, and scale blockchain apps fast. To learn more about the\nTatum blockchain development framework, visit [our website](https://tatum.io/framework).\n\nThe Tatum API features powerful endpoints that simplify a complex blockchain into single API requests. Code for all\nsupported blockchains using unified API calls.\n\n## Supported blockchains\n\nTatum supports multiple blockchains and various blockchain features.\n\nBecause not all blockchains function identically, Tatum supports a different set of features on each blockchain.\n\nTo see all the blockchains that Tatum supports, please refer to [this article](https://docs.tatum.io/introduction/supported-blockchains).\n\n## Need help?\n\nTo chat with other developers, get help from the Support team, and engage with the thriving Tatum community, join \nour [Discord server](https://discord.com/invite/tatum). For more information about how to work with Tatum,\nreview the [online documentation](https://docs.tatum.io/).\n\n# Authentication\n\nWhen using the Tatum API, you authenticate yourself with an **API key**.\nInteract with the blockchain directly by connecting to the blockchain node and communicating with it through JSON-RPC.
\nEach node-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Node RPC"},{"description":"A Tatum Account is the primary building block of Tatum-powered applications. It is an envelope that holds essential information about balances, the state of the account or customer, and to whom the account belongs.
\nAccounts in Tatum are stored within Tatum Private Ledger. Tatum Private Ledger contains information about accounts, the customers that own the accounts, transactions that affect the accounts or virtual currencies present in the ledger.
\nBy default, the private ledger is not connected to any blockchain. It is possible to create an application on it without any blockchain at all. Using Tatum Private Ledger and the building blocks included within it, it is possible to quickly swap the whole application from the ledger to any blockchain supported by Tatum. All of the API calls will remain the same, the only thing that changes is the blockchain the application lives on.
\nMost blockchains do not have any compliance layer at all. It is not possible to freeze funds at a blockchain address or deactivate an address. The Tatum Account has built-in compliance, and it is possible to block funds in the account, freeze outgoing transactions from the account or even completely deactivate the account.\n
An endpoint used to create and list transactions within Tatum Private Ledger. A transaction is performed between 2 accounts with the same currency. To perform an exchange operation between accounts with different currencies, API calls from Order Book sections are available. Transactions in the ledger are instant, with a settlement time of below 200ms.
\nTatum Private Ledger supports microtransactions - a transaction of an amount as little as 1e-30 (30 decimal places). Transactions are atomic.
\nWhen there is an insufficient balance in the sender account, or recipient account cannot receive funds, the transaction is not settled.
An endpoint used to handle customer operations, like updating customer information, enabling/disabling etc.\nWithin Tatum API, a customer represents a client of the entity that communicates with Tatum.
\nCustomers cannot be created via any other operation than Create Ledger Account.
\nDue to compliance restrictions, it is recommended to enter the country of residence of the customer and the country of the provider. The Tatum compliance engine operates based on this information.\n
Register and use Tatum Private Ledger's virtual currencies. You can create your own virtual currency and distribute it amongst your customers.
\nVirtual currencies are used to support FIAT currencies. When a virtual currency is created with basePair of the FIAT currency, it is possible to perform transactions in the private ledger in FIAT.\n
The gas pump is Tatum's feature that helps you manage gas fees in a custodial application. When you use the gas pump, gas fees for any transaction made by your customers (users of your custodial application) are automatically deducted from the master address instead of the customer's address. This eliminates the need to send crypto to each customer's address to pay for gas fees.
\nFor more information about the gas pump, see our user documentation.
\nEach API related to the gas pump supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Gas pump"},{"description":"Endpoints to handle subscriptions to the Tatum Platform. Subscriptions allow users to enable some additional features or reports that are not enabled by default,\nlike outgoing off-chain transaction scanning, accounts with balances above the limit, etc.
\n","name":"Notification subscriptions"},{"description":"Endpoint to handle Order book operations like creating BID / ASK trades between Tatum Private Virtual accounts, obtaining trade histories, creating futures etc. It is possible to build an exchange based on the Ledger Accounts.
","name":"Order Book"},{"description":"Key Management System (KMS) is a comprehensive solution for building custodial applications. KMS runs locally on your server and provides security for generating wallets, addresses, and private keys, and for signing transactions.
\nKMS builds a list of pending transaction to sign and provides the options to complete a transaction after it has been signed and to obtain transaction details with the result of the blockchain operation via the transaction ID.
\nIn KMS, each managed wallet or private key is assigned a unique signature ID (signatureId
) that represents that wallet or private key. This signature ID is then used in an API request to identify the wallet.
Depending on the API, you can use the signature ID in an API call request in the following ways:
\ntransferBtcKMS
request schema).BtcTransactionFromUTXOKMS
request schema).transferEthKMS
request schema).You can run KMS on the following operating systems:
\n\nFor more information about KMS, see the KMS GitHub repository and the user documentation.
\n\n","name":"Key Management System"},{"description":"An endpoint to check if the blockchain address is safe to work with or not.
\n","name":"Malicious address"},{"description":"Manage deposit addresses associated with your virtual account.
\nDepending on how virtual accounts are connected to the blockchain, the virtual accounts can be:
\nAn endpoint to handle operations between a virtual account and the blockchain, e.g. to create blockchain transactions from virtual accounts, create custom fungible tokens and custom assets, and register them as a regular currency into the virtual account.
\n","name":"Blockchain operations"},{"description":"An endpoint used to create, cancel, or complete withdrawals by customers from Tatum to supported blockchains.\nWithdrawals are always multi-step operations that consist of the following steps:\n
Bitcoin Blockchain enables access to the most commonly used Bitcoin methods. These methods bring a small level of abstraction\nand are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\nto connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Ethereum is a decentralized, open-source blockchain. With Tatum, you can access the most commonly used Ethereum methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports the following Ethereum networks:
\nIPFS is a distributed file storage. You can store data to IPFS and read from them.
\n","name":"IPFS"},{"description":"Bitcoin Cash Blockchain enables access to the most commonly used Bitcoin Cash methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Build a peer-to-peer NFT marketplace and allow your customers to sell and buy assets. When an asset is sold, the creator is automatically paid, the asset is instantly transferred to the buyer, and you as the owner of the marketplace automatically receive a percentage of the transaction.
\nEach marketplace-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Marketplace"},{"description":"The utility APIs help you use some native blockchain features such as getting the address of a smart contract or estimating the block number.
\nEach utility API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Blockchain utils"},{"description":"Litecoin Blockchain enables access to the most commonly used Litecoin methods. These methods bring a small level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nExamples of working with the Litecoin blockchain can be found in Tatum LTC SDK.
\nTatum supports 2 chains:\n
Dogecoin Blockchain enables access to the most commonly used Dogecoin methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports 2 chains:\n
Flow Blockchain enables access to the most commonly used Flow methods. These methods bring a small level of abstraction\n and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nTatum supports FLOW and FUSD stable coin.
\nTatum supports 2 chains:\n
XRPL is a decentralized public blockchain. With Tatum, you can access the most commonly used XRPL methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports the following XRPL networks:
\nTo start using the XRPL blockchain, create an XRPL account. On XRPL, the same account is used for the mainnet and the testnet. To activate the account, credit it with 20 XRP.
\nBecause of the activation requirement, it is common to use one account for all customers and differentiate them via Destination
tags. A Destination
tag is a number included in every transaction as an account distinguisher.
When an off-chain deposit address is created for a virtual account, a Destination
tag is generated for that account (for example, 12345
). When you make a transaction to the blockchain, be sure to include the address of the recipient and the Destination
tag as an account distinguisher. Examples of working with the XRP blockchain can be found in Tatum XRP SDK.
XLM Blockchain enables access to the most commonly used XLM methods. These methods bring a small level of abstraction\nand are used for applications that communicate with the blockchain directly. Some of the methods are used alongside Tatum Private Ledger\nto connect the blockchain and the private ledger, like wallet generation or getting information about transactions.
\nExamples of working with the Stellar blockchain can be found in Tatum XLM SDK.
\nTatum supports 2 chains:\n
You can store data records on the blockchain. A record is stored permanently: it cannot be changed,\ndeleted, or modified by anyone and will be stored on the blockchain forever.\n","name":"Blockchain storage"},{"description":"
BNB Beacon Chain is a blockchain developed by Binance. With Tatum, you can access the most commonly used BNB Beacon Chain methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly.
\nBNB Beacon Chain does not provide the smart contract functionality.
\nTatum supports the following BNB Beacon Chain networks:
\nVeChain Blockchain enables access to the most commonly used VeChain methods. Tatum does not support off-chain capabilities for the VET blockchain.\nTatum KMS is not supported for VET transactions. VET supports 2 native assets - VET and VTHO. VTHO is used for paying transaction fees.\n
\nTatum supports 2 chains:\n
Cardano is a decentralized, open-source blockchain. With Tatum, you can access the most commonly used Cardano methods. These methods bring a certain level of abstraction and are used for applications that communicate with the blockchain directly. Some of the methods are used alongside virtual accounts to connect the blockchain and a virtual account, like generating a wallet or getting information about transactions.
\nTatum supports Cardano mainnet and Cardano preproduction testnet.
\n","name":"Cardano"},{"description":"Custodial API is a set of operations, which allows you to work with managed blockchain addresses without having its private key.\nYou can easily create new managed address and export its details - with private key as well - once required.
\nThis features are currently in Alpha version.
Avalanche is an EVM-based blockchain which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\n Tatum supports 4 chains:\n
Algorand is a decentralized blockchain technology network. Algorand is enabling the simple creation of next generation financial products, protocols and exchange of value across defi, financial institutions and governments.
\nTatum supports 2 chains:\n
Optimism is an EVM-based blockchain which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\n Tatum supports 4 chains:\n
Polygon (Matic) is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Cronos is an EVM-based blockchain which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\n Tatum supports 2 chains:\n
Klaytn is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Solana is a blockchain network focused on fast transactions and high throughput. It uses a unique method of ordering transactions to improve its speed. Users can pay their transaction fees and interact with smart contracts with SOL, the network's native cryptocurrency.
\nFor now, Solana is in BETA and there is a rate limitation applied for all projects for Solana to 40 req/s on the platform.
\nTatum supports 2 chains:\n
Flare is an EVM-based Layer 1 which gives developers secure decentralized access to high-integrity data from other chains and the internet.\n
\nTatum supports 4 chains:\n
Base is a secure, low-cost, builder-friendly Ethereum L2 built to bring the next billion users onchain..\n
\n Tatum supports 2 chains:\n
Celo is fork of Celo with more than 1000 tps and possibility to pay for\ntransactions in it's own stable coin, cUSD. Celo Blockchain enables access to most commonly used Celo methods.\nThese methods bring small level of abstraction,\n and are used for the type of applications that want to communicate with blockchain directly. Some of the methods are used alongside Tatum Private Ledger\n to connect blockchain and private ledger together, like wallet generation or getting information about transactions.
\n Tatum supports 2 chains:\n
Elrond (EGLD) is a distributed transactional computation protocol which relies on a sharded state architecture and a secure Proof of Stake consensus mechanism.\n
\nTatum supports 2 chains:\n
Tron Blockchain enables access to most commonly used Tron methods. It's possible to generate TRON account, send TRX, TRC10 and TRC20 assets. It's also possible to generate custom TRC10 or TRC20 tokens using API.
\nTatum supports 2 chains:\n
Binance Smart Chain is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Kcs (KCS) is an Ethereum EVM 100% compatible blockchain, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
Harmony.ONE is an Oneeum L2 scaling solution 100% EVM compatible, and is very good for decentralized application (Dapp) development within many possible verticals including DeFi, NFT, Gaming, and many others.
\nTatum supports 2 chains:\n
XDC Network (XinFin) is enterprise ready hybrid blockchain for global trade and finance, combining the power of Public & Private blockchains with interoperable Smart Contracts.\n
\nTatum supports 2 chains:\n
A Multi Token combines characteristics of fungible and non-fungible tokens. A single Multi Token smart contract allows you to mint fungible, non-fungible, and semi-fungible tokens and process different types of the tokens in a single transaction. Multi Tokens are described by the ERC-1155 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nMulti Tokens can be used for nearly any digital asset or good to ensure authenticity and scarcity, for example:
\n
Each Multi Token-related API supports its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"Multi Tokens (ERC-1155 or compatible)"},{"description":"Fungible tokens are interchangeable and are used as a blockchain representation of the currency. Fungible tokens are described by the ERC-20 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nEach API related to fungible tokens supports its own set of the blockchains. The list of the supported blockchains is provided in the operation description further in this section.
\n","name":"Fungible Tokens (ERC-20 or compatible)"},{"description":"\"NFT\" stands for \"Non-Fungible Token\", which means that each token is unique and irreplaceable. NFTs are described by the ERC-721 standard on the Ethereum blockchain or by the equivalent standard on the other blockchains.
\nNFTs can be used for nearly any digital asset or good to ensure authenticity and scarcity, for example:
\n
Each NFT-related API its own set of the blockchains. The list of the supported blockchains is provided in the API description further in this section.
\n","name":"NFT (ERC-721 or compatible)"},{"description":"Tatum Data API is a comprehensive solution designed for developers to easily access on-chain data such as token balances, NFT owners, and metadata, all through a suite of user-friendly APIs.
\nWith Tatum Data API, developers can seamlessly integrate blockchain functionality into their applications, enabling them to deliver innovative, web3 solutions. This powerful indexing solution supports multiple blockchains, ensuring developers have access to the latest data across different networks.
\nTatum Data API offers a reliable, scalable, and cost-effective way for developers to access on-chain data, making it an essential tool for any blockchain project.
\n","name":"Data API"}],"x-tagGroups":[{"name":"Blockchain Node RPC","tags":["Node RPC"]},{"name":"Blockchain Data Access","tags":["Data API"]},{"name":"Subscriptions","tags":["Notification subscriptions"]},{"name":"Fee estimation","tags":["Blockchain fees","Virtual account blockchain fees"]},{"name":"Smart Contracts","tags":["NFT (ERC-721 or compatible)","Fungible Tokens (ERC-20 or compatible)","Multi Tokens (ERC-1155 or compatible)","Gas pump","Marketplace","Auction"]},{"name":"Security","tags":["Key Management System","Malicious address","Custodial managed wallets"]},{"name":"Storage","tags":["IPFS","Blockchain storage"]},{"name":"Virtual Accounts","tags":["Account","Transaction","Customer","Virtual Currency","Order Book","Withdrawal","Blockchain addresses","Blockchain operations","Deposit"]},{"name":"Blockchain","tags":["Algorand","Avalanche","Optimism","Base","Bitcoin","Bitcoin Cash","BNB Smart Chain","BNB Beacon Chain","Cardano","Celo","Cronos","Dogecoin","Elrond","Ethereum","Flow","Flare","Harmony","Klaytn","KuCoin","Litecoin","Polygon","Solana","Stellar","Tron","VeChain","XinFin","XRP"]},{"name":"Utils","tags":["Blockchain utils","Exchange rate","Service utils"]}],"paths":{"/v3/ledger/account":{"post":{"description":"2 credits per API call
\nCreate a new virtual account for a customer.
\nYou can create a virtual account for any supported cryptocurrency, fiat currency, Tatum virtual currency, or fungible tokens created within Tatum. Once the currency/asset is set for a virtual account, it cannot be changed.
\nVirtual account balance
\nA virtual account has its own balance. The balance can be logically presented by the account balance and available balance:
\naccountBalance
) represents all assets on the account, both available and blocked.availableBalance
) represents the account balance minus the blocked assets. Use the available balance to determine how much a customer can send or withdraw from their virtual account.Cryptocurrency virtual accounts
\nWhen you create a virtual account based on a cryptocurrency (for example, BTC or ETH), you have to provide the extended public key (xpub
) of the blockchain wallet that will be connected to this account.
NOTE: Adding xpub
to the virtual account does not connect any specific blockchain address to this account. xpub
is a generator of addresses, not an address itself.
Not all blockchains provide xpub
for wallets, or Tatum may not support wallets on some blockchains. In such cases, use the wallet address or the account address instead.
xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet.xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet instead.xpub
from the generated wallet instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated blockchain address instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated wallet instead.xpub
from the generated wallet.xpub
from the generated wallet.xpub
provided; use address
from the generated account instead.xpub
provided; use address
from the generated account instead.Connect a virtual account to the blockchain
\nxpub
, generate a new blockchain address for this account.xpub
, assign an existing blockchain address to this account.You can connect multiple blockchain addresses to one virtual account.
\nDigital assets:
\n0x2791bca1f2de4661ed88a30c99a7a9449aa84174
on Polygon mainnet.0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
on Polygon mainnet.Lists all accounts. Inactive accounts are also visible.
","operationId":"getAccounts","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Sort by","in":"query","name":"sortBy","schema":{"type":"string","example":"id","enum":["id","account_number","account_balance","available_balance"]}},{"description":"Filter only active or non active accounts","in":"query","name":"active","schema":{"type":"boolean","example":true}},{"description":"Filter only accounts with non zero balances","in":"query","name":"onlyNonZeroBalance","schema":{"type":"boolean","example":true}},{"description":"Filter only frozen or non frozen accounts","in":"query","name":"frozen","schema":{"type":"boolean","example":true}},{"description":"Filter by currency","in":"query","name":"currency","schema":{"type":"string","example":"BTC"}},{"description":"Filter by account number","in":"query","name":"accountNumber","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all accounts","tags":["Account"]}},"/v3/ledger/account/count":{"get":{"description":"Count of accounts that were found from /v3/ledger/account
","operationId":"getAccountsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"]}},{"description":"Sort by","in":"query","name":"sortBy","schema":{"type":"string","example":"_id","enum":["_id","account_number","account_balance","available_balance"]}},{"description":"Filter only active or non active accounts","in":"query","name":"active","schema":{"type":"boolean","example":true}},{"description":"Filter only accounts with non zero balances","in":"query","name":"onlyNonZeroBalance","schema":{"type":"boolean","example":true}},{"description":"Filter only frozen or non frozen accounts","in":"query","name":"frozen","schema":{"type":"boolean","example":true}},{"description":"Filter by currency","in":"query","name":"currency","schema":{"type":"string","example":"BTC"}},{"description":"Filter by account number","in":"query","name":"accountNumber","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get accounts request","tags":["Account"]}},"/v3/ledger/account/batch":{"post":{"description":"Creates new accounts for the customer in a batch call.
\n","operationId":"createAccountBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAccountBatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Account"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403ComplianceBtc"},{"$ref":"#/components/schemas/Error403ComplianceEth"},{"$ref":"#/components/schemas/Error403AccountTestnet"},{"$ref":"#/components/schemas/Error403AccountXpub"},{"$ref":"#/components/schemas/Error403AccountCurrency"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpub"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotActive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create multiple accounts in a batch call","tags":["Account"]}},"/v3/ledger/account/customer/{id}":{"get":{"description":"Lists all accounts associated with a customer. Only active accounts are visible.
","operationId":"getAccountsByCustomerId","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Internal customer ID","in":"path","name":"id","required":true,"schema":{"example":"5e68c66581f2ee32bc354087","type":"string"}},{"description":"For bookkeeping to distinct account purpose.","in":"query","name":"accountCode","schema":{"maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Account"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all customer accounts","tags":["Account"]}},"/v3/ledger/account/{id}":{"get":{"description":"Gets active account by ID. Displays all information regarding the given account.
","operationId":"getAccountByAccountId","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Account"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get account by ID","tags":["Account"]},"put":{"description":"Update account by ID. Only a small number of fields can be updated.
","operationId":"updateAccountByAccountId","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAccount"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update account","tags":["Account"]}},"/v3/ledger/account/{id}/balance":{"get":{"description":"Get balance for the account.
","operationId":"getAccountBalance","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get account balance","tags":["Account"]}},"/v3/ledger/account/block/{id}":{"post":{"description":"Blocks an amount in an account. Any number of distinct amounts can be blocked in one account.\nEvery new blockage has its own distinct ID, which is used as a reference. When the amount is blocked, it is debited from the available balance of the account.\nThe account balance remains the same. The account balance represents the total amount of funds in the account. The available balance represents the total amount of funds that can be used to perform transactions. When an account is frozen, the available balance is set to 0 minus all blockages for the account.
\n","operationId":"blockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockAmount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Id"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Block an amount in an account","tags":["Account"]},"put":{"description":"Unblocks a previously blocked amount in an account and invokes a ledger transaction from that account to a different recipient.\nIf the request fails, the amount is not unblocked.
\n","operationId":"unblockAmountWithTransaction","parameters":[{"description":"Blockage ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnblockAmount"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BlockageNotExists"},{"$ref":"#/components/schemas/Error403BlockageAmount"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403ComplianceBtc"},{"$ref":"#/components/schemas/Error403ComplianceEth"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxRecipientNotFound"},{"$ref":"#/components/schemas/Error403TxCurrency"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtc"},{"$ref":"#/components/schemas/Error403TxAmountEth"},{"$ref":"#/components/schemas/Error403TxNotCompliant"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock an amount in an account and perform a transaction","tags":["Account"]},"delete":{"description":"Unblocks a previously blocked amount in an account. Increases the available balance in the account where the amount was blocked.
","operationId":"deleteBlockAmount","parameters":[{"description":"Blockage ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock a blocked amount in an account","tags":["Account"]},"get":{"description":"Gets blocked amounts for an account.
","operationId":"getBlockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Blockage"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get blocked amounts in an account","tags":["Account"]}},"/v3/ledger/account/block/{id}/detail":{"get":{"description":"Gets blocked amount by id.
","operationId":"getBlockAmountById","parameters":[{"description":"Blocked amount ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Blockage"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get blocked amount by ID","tags":["Account"]}},"/v3/ledger/account/block/account/{id}":{"delete":{"description":"Unblocks previously blocked amounts in an account. Increases the available balance in the account where the amount was blocked.
","operationId":"deleteAllBlockAmount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e6be89ee6aa436299950c3f"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403BlockDelete"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unblock all blocked amounts in an account","tags":["Account"]}},"/v3/ledger/account/{id}/activate":{"put":{"description":"Activates an account.
","operationId":"activateAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due a to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountActive"},{"$ref":"#/components/schemas/Error403CustomerNotExists"},{"$ref":"#/components/schemas/Error403AccountCustomerInactive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Activate account","tags":["Account"]}},"/v3/ledger/account/{id}/deactivate":{"put":{"description":"Deactivates an account. Only accounts with account and available balances of zero can be deactivated. Deactivated accounts are not visible in the list of accounts, it is not possible to send funds to these accounts or perform transactions. However, they are still present in the ledger and all transaction histories.
","operationId":"deactivateAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountInactive"},{"$ref":"#/components/schemas/Error403AccountBalanceNonZero"},{"$ref":"#/components/schemas/Error403TradeBalanceNonZero"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deactivate account","tags":["Account"]}},"/v3/ledger/account/{id}/freeze":{"put":{"description":"Disables all outgoing transactions. Incoming transactions to the account are available. When an account is frozen, its available balance is set to 0. This operation will create a new blockage of type ACCOUNT_FROZEN, which is automatically deleted when the account is unfrozen.
","operationId":"freezeAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountFrozen"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Freeze account","tags":["Account"]}},"/v3/ledger/account/{id}/unfreeze":{"put":{"description":"Unfreezes a previously frozen account. Unfreezing a non-frozen account not affect the account.
","operationId":"unfreezeAccount","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountNotFrozen"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unfreeze account","tags":["Account"]}},"/v3/ledger/transaction":{"post":{"description":"Sends a payment within Tatum Private Ledger. All assets are settled instantly.
\nWhen a transaction is settled, 2 transaction records are created, 1 for each of the participants. These 2 records are connected via a transaction reference, which is the same for both of them.
\nThis method is only used for transferring assets between accounts within Tatum and will not send any funds to blockchain addresses.
\nIf there is an insufficient balance in the sender account, no transaction is recorded.
\nIt is possible to perform an anonymous transaction where the sender account is not visible for the recipient.
\nThe FIAT currency value of every transaction is calculated automatically. The FIAT value is based on the accountingCurrency of the account connected to the transaction and is available in the marketValue parameter of the transaction.
Sends the N payments within Tatum Private Ledger. All assets are settled instantly.
\nWhen a transaction is settled, 2 transaction records are created, 1 for each of the participants. These 2 records are connected via a transaction reference, which is the same for both of them.
\nThis method is only used for transferring assets between accounts within Tatum and will not send any funds to blockchain addresses.
\nIf there is an insufficient balance in the sender account, no transaction is recorded.
\nIt is possible to perform an anonymous transaction where the sender account is not visible for the recipient.
\nThe FIAT currency value of every transaction is calculated automatically. The FIAT value is based on the accountingCurrency of the account connected to the transaction and is available in the marketValue parameter of the transaction.
Finds transactions for the account identified by the given account ID.
","operationId":"getTransactionsByAccountId","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions for account.","tags":["Transaction"]}},"/v3/ledger/transaction/customer":{"post":{"description":"Finds transactions for all accounts of the customer identified by the given internal customer ID.
","operationId":"getTransactionsByCustomerId","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilterCustomer"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions for a customer across all of the customer's accounts.","tags":["Transaction"]}},"/v3/ledger/transaction/ledger":{"post":{"description":"Find transactions across whole ledger.
","operationId":"getTransactions","parameters":[{"description":"Max number of items per page is 50. Either count or pageSize is accepted.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total transaction count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFilterLedger"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},{"type":"number","description":"Total transaction count.","example":20}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions within the ledger.","tags":["Transaction"]}},"/v3/ledger/transaction/reference/{reference}":{"get":{"description":"Finds transactions for all accounts with the given reference.
","operationId":"getTransactionsByReference","parameters":[{"in":"path","name":"reference","required":true,"schema":{"maxLength":100,"minLength":20,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Find transactions with a given reference across all accounts.","tags":["Transaction"]}},"/v3/ledger/deposits":{"get":{"description":"Lists all deposits for API key.
","operationId":"getDeposits","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Status of the deposit","in":"query","name":"status","schema":{"type":"string","enum":["Done","InProgress"],"example":"Done"}},{"description":"Filter by currency","name":"currency","in":"query","schema":{"type":"string","example":"BTC"}},{"description":"Filter by txId","name":"txId","in":"query","schema":{"type":"string","example":2.0589336591536965e+76,"maxLength":80,"minLength":10}},{"description":"Filter by to address","name":"to","in":"query","schema":{"type":"string","example":9.557027372635822e+47}},{"description":"Filter by account id","name":"accountId","in":"query","schema":{"type":"string","example":"628bae6095e9ad06b52eb229"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Deposit"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all deposits for product","tags":["Deposit"]}},"/v3/ledger/deposits/count":{"get":{"description":"Counts total entities found by get deposits request.
","operationId":"getDepositsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":20,"maximum":50,"minimum":1},"required":false},{"description":"Page number","in":"query","name":"page","schema":{"type":"number","example":0}},{"description":"Direction of sorting. Can be asc or desc","in":"query","name":"sort","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Type of the deposit","in":"query","name":"status","schema":{"type":"string","enum":["Done","InProgress"],"example":"Done"}},{"description":"Filter by currency","name":"currency","in":"query","schema":{"type":"string","example":"BTC"}},{"description":"Filter by txId","name":"txId","in":"query","schema":{"type":"string","example":2.0589336591536965e+76,"maxLength":80,"minLength":10}},{"description":"Filter by to address","name":"to","in":"query","schema":{"type":"string","example":9.557027372635822e+47}},{"description":"Filter by account id","name":"accountId","in":"query","schema":{"type":"string","example":"628bae6095e9ad06b52eb229"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get deposits request","tags":["Deposit"]}},"/v3/record":{"post":{"description":"2 credits per API call + additional credits based on the size of the stored data and the type of the blockchain
\nStore data on the blockchain.
\nThe total cost of a transaction on Ethereum (in credits) depends on the size of the data. The data is stored as a string in the hexadecimal format, and the maximum size of the data is approximately 130 kB on the mainnet and 30 kB on testnet. Every 5 characters cost 1 credit.
\nTherefore, one API call with 1 kB of data (1024 characters) would cost 205 credits.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet a log data record from the Ethereum blockchain (only the mainnet or the Sepolia testnet).
\n","operationId":"GetLog","parameters":[{"description":"The blockchain to get the log record from","in":"query","name":"chain","required":true,"schema":{"type":"string","example":"ETH","enum":["ETH"]}},{"description":"The ID of the log record or transaction to get from the blockchain","in":"query","name":"id","required":true,"schema":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326","minLength":1,"maxLength":100}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"string","description":"The data stored in the requested record","example":"My example log data"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a log record","tags":["Blockchain storage"]}},"/v3/ipfs/{id}":{"get":{"description":"Gets data from the IPFS.
","operationId":"GetIPFSData","parameters":[{"description":"IPFS CID of the file","in":"path","name":"id","required":true,"schema":{"type":"string","example":"QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj"}}],"responses":{"200":{"content":{"*":{"schema":{"type":"string","format":"binary"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get file from IPFS","tags":["IPFS"]}},"/v3/ipfs":{"post":{"description":"Stores file on the IPFS. We are leveraging web3.storage from Protocol Labs for free storage on the IPFS.
\n","operationId":"StoreIPFS","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary","example":127654187631872620,"description":"Your file to store"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"ipfsHash":{"type":"string","description":"IPFS CID identifier of the stored file."}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store data to IPFS","tags":["IPFS"]}},"/v3/bitcoin/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/0'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Bitcoin wallet.
\n","operationId":"BtcGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a Bitcoin wallet","tags":["Bitcoin"]}},"/v3/bitcoin/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate a Bitcoin address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31 - 1.
\n","operationId":"BtcGenerateAddress","parameters":[{"description":"Extended public key of a wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of the desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBtc"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a Bitcoin address from the wallet's extended public key","tags":["Bitcoin"]}},"/v3/bitcoin/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerates a private key for an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic can generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BtcGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate the private key for a Bitcoin address","tags":["Bitcoin"]}},"/v3/bitcoin/info":{"get":{"description":"1 credit per API call
\nGets Bitcoin blockchain information. Obtains basic info like the testnet / mainnet version of the chain, the current block number and its hash.
\n","operationId":"BtcGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin blockchain information","tags":["Bitcoin"]}},"/v3/bitcoin/block/hash/{i}":{"get":{"description":"1 credit per API call
\nGets a Bitcoin block hash. Returns the hash of the block to get the block's details.
\n","operationId":"BtcGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a blockchain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1580117}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcBlockHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the hash of a Bitcoin block","tags":["Bitcoin"]}},"/v3/bitcoin/block/{hash}":{"get":{"description":"1 credit per API call
\nGets Bitcoin block detail by block hash or height.
\n","operationId":"BtcGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a Bitcoin block by its hash or height","tags":["Bitcoin"]}},"/v3/bitcoin/address/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of a Bitcoin address.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
50 credits per API call
\nGet the balance of multiple Bitcoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
1 credit per API call
\nGet all transactions for a Bitcoin address. Returns also transactions that are in mempool and haven't been included in a block. In that case blockNumber has a null value.
\n","operationId":"BtcGetTxByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Only show transactions after this block height.","in":"query","name":"blockFrom","schema":{"type":"number","example":801234}},{"description":"Only show transactions before this block height.","in":"query","name":"blockTo","schema":{"type":"number","example":891002}},{"description":"Type of the transaction to fetch - either incoming, or outgoing. If none is present - all transactions are fetched.","in":"query","name":"txType","schema":{"type":"string","example":"incoming","enum":["incoming","outgoing"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BtcTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get all transactions for a Bitcoin address","tags":["Bitcoin"]}},"/v3/bitcoin/transaction/address/batch":{"post":{"description":"1 credit per address for each API call
\nRetrieve transactions for multiple Bitcoin addresses in a batch.
\n","operationId":"BtcGetTxByAddressBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcGetTxByAddressBatch"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"object","properties":{"address":{"type":"string","description":"Address","example":"bc1qdj8dxppx6gyukpemsqx06a39877rt8kcc08uqs"},"transactions":{"type":"array","description":"Transactions for address.","items":{"$ref":"#/components/schemas/BtcTx"}}}},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions for multiple Bitcoin addresses in a batch","tags":["Bitcoin"]}},"/v3/bitcoin/transaction":{"post":{"description":"2 credits per API call
\nSend BTC to blockchain addresses.
\nBitcoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BTC/satoshis that remains at a Bitcoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about Bitcoin transactions and UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Bitcoin transaction.
\nYou can build a BTC transaction by one of the following methods:
\nBtcTransactionFromAddress
or BtcTransactionFromAddressKMS
schema of the request body.BtcTransactionFromUTXO
or BtcTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 BTC and T2 with 2 BTC. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 BTC to spend:1 BTC (from T1) + 2 BTC (from T2) = 3 BTC (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending BTC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BtcTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BtcTransactionFromAddress"},{"$ref":"#/components/schemas/BtcTransactionFromAddressKMS"},{"$ref":"#/components/schemas/BtcTransactionFromUTXO"},{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BTC to Bitcoin addresses","tags":["Bitcoin"]}},"/v3/bitcoin/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Bitcoin Transaction detail by transaction hash.
\n","operationId":"BtcGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BtcTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get a Bitcoin transaction by its hash","tags":["Bitcoin"]}},"/v3/bitcoin/utxo/{hash}/{index}":{"get":{"description":"1 credit per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BTC/satoshis that remains at a Bitcoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about Bitcoin transactions and UTXO, see the Bitcoin user documentation.
\n404
response code.1 credit per API call
\nGets Bitcoin transaction IDs in the mempool.
\n","operationId":"BtcGetMempool","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","description":"TX ID of the transaction in mempool","example":"4c7846a8ff8415945e96937dea27bdb3144c15d793648d725602784826052586"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions from the Bitcoin mempool","tags":["Bitcoin"]}},"/v3/bitcoin/broadcast":{"post":{"description":"2 credits per API call
\nBroadcasts a signed transaction to the Bitcoin blockchain. This method is used internally from Tatum KMS or Tatum Client Libraries.\nIt is possible to create a custom signing mechanism and only use this method for broadcasting data to the blockchain.
\n","operationId":"BtcBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast a signed Bitcoin transaction","tags":["Bitcoin"]}},"/v3/bitcoin/node":{"post":{"description":"This endpoint is deprecated. Do not use it.
\nInstead, use this API.
2 credits per API call
\nUse this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.\nTo learn more about JSON RPC, visit the Bitcoin developers' guide.
\n","deprecated":true,"operationId":"BtcRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[],"items":{"type":"object"}}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"Connect to a Bitcoin node through an RPC driver","tags":["Bitcoin"]}},"/v3/blockchain/fee/{chain}":{"get":{"description":"1 credit per API call
\nGet the recommended fee/gas price for a blockchain.
\nFee is in satoshis(meaning currency(BTC, DOGE,... / 100 000 000) per byte\n
This API is supported for the following blockchains:
\n10 credits per API call
\nEstimate the current fee for different types of transactions.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a BNB Smart Chain transaction. The gas price is obtained from https://explorer.bitquery.io/bsc/gas.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"BscEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a BNB Smart Chain transaction","tags":["Blockchain fees"]}},"/v3/celo/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Celo transaction. The gas price is obtained from https://explorer.bitquery.io/celo_rc1/gas.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"CeloEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CeloTxBody"},{"$ref":"#/components/schemas/Error403CeloGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Celo transaction","tags":["Blockchain fees"]}},"/v3/egld/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for an Elrond transaction. The gas price is obtained from https://gateway.elrond.com/network/config. The gas limit is obtains from https://gateway.elrond.com/transaction/cost.
\n","operationId":"EgldEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionFeeEgldBlockchain"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"number","description":"The estimated price for one gas unit","example":1000000000},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":77000}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EgldGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for an Elrond transaction","tags":["Blockchain fees"]}},"/v3/ethereum/gas":{"post":{"description":"10 credits per API call
\nGet an estimated gas price and the number of gas units needed for an Ethereum transaction. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
\nThe fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"EthEstimateGas","parameters":[{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthEstimateGas"}}},"required":true},"responses":{"200":{"headers":{"x-current-block":{"schema":{"type":"number"},"description":"Current block of the blockchain."},"x-current-block-time":{"schema":{"type":"string","format":"date-time","example":"2021-11-11T11:54:49.000Z"},"description":"Current block time."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthGasEstimation"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for an Ethereum transaction","tags":["Blockchain fees"]}},"/v3/ethereum/gas/batch":{"post":{"description":"10 credits per API call + 10 credits per each gas estimation
\nGet an estimated gas price and the number of gas units needed for multiple Ethereum transactions. The gas price is obtained from multiple sources and calculated based on the latest N blocks and the current mempool state.
\nThe estimations are returned in the same order as the transactions were submitted in the request.
\nThe fast
gas price is used by default.
NOTE: The estimated gas price is returned in wei. However, when making a transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n\n","operationId":"EthEstimateGasBatch","parameters":[{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthEstimateGasArray"}}},"required":true},"responses":{"200":{"headers":{"x-current-block":{"schema":{"type":"number"},"description":"Current block of the blockchain."},"x-current-block-time":{"schema":{"type":"string","format":"date-time","example":"2021-11-11T11:54:49.000Z"},"description":"Current block time."}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthGasEstimationBatch"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for multiple Ethereum transactions","tags":["Blockchain fees"]}},"/v3/one/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Harmony transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"OneEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"21000"},"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in wei)","example":"10000000000"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate Harmony transaction fees","tags":["Blockchain fees"]}},"/v3/klaytn/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Klaytn transaction. The gas price is obtained from https://explorer.bitquery.io/klaytn/gas.
\nNOTE: The estimated gas price is returned in peb. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gpeb. Make sure to convert the estimated gas price from peb to Gpeb before submitting your transaction.
\n","operationId":"KlaytnEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in peb)","example":"20"},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"40000"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnTxBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Klaytn transaction","tags":["Blockchain fees"]}},"/v3/kcs/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a KuCoin Community Chain transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"KcsEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsTxBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a KuCoin Community Chain transaction","tags":["Blockchain fees"]}},"/v3/flare/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Flare transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"FlareEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareTxBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Flare transaction","tags":["Blockchain fees"]}},"/v3/cronos/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Cronos transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"CronosEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosTxBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Cronos transaction","tags":["Blockchain fees"]}},"/v3/avalanche/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Avalanche transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"AvalancheEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AvalancheTxBody"},{"$ref":"#/components/schemas/Error403AvalancheGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Avalanche transaction","tags":["Blockchain fees"]}},"/v3/optimism/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Optimism transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"OptimismEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimismEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OptimismTxBody"},{"$ref":"#/components/schemas/Error403OptimismGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Optimism transaction","tags":["Blockchain fees"]}},"/v3/base/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Base transaction.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"BaseEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseTxBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Cronos transaction","tags":["Blockchain fees"]}},"/v3/polygon/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a Polygon transaction. The gas price is obtained from https://gasstation-mainnet.matic.network/.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"PolygonEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonTxBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a Polygon transaction","tags":["Blockchain fees"]}},"/v3/xdc/gas":{"post":{"description":"2 credits per API call
\nGet an estimated gas price and the number of gas units needed for a XinFin transaction. The gas price is obtained from https://rpc.xinfin.network/gasPrice.
\nNOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
\n","operationId":"XdcEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GasEstimated"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcGasCalculation"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the fee for a XinFin transaction","tags":["Blockchain fees"]}},"/v3/vet/transaction/gas":{"post":{"description":"5 credits per API call
\nGet an estimated amount of gas needed for a VeChain transaction.
\n","operationId":"VetEstimateGas","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetEstimateGas"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":21000}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Estimate the gas needed for a VeChain transaction","tags":["Blockchain fees"]}},"/v3/blockchain/sc/address/{chain}/{hash}":{"get":{"description":"1 credit per API call
\nGet the blockchain address of a smart contract by the ID of its deployment transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nPrecalculate (generate) gas pump addresses that you can assign to the customers of your custodial application.
\nThis API does not make any changes on the blockchain itself, just generates addresses that follow the blockchain's requirements for the address format; therefore, no gas fee is applied.
\nThis API is supported for the following blockchains:
\nAddress index
\nEach address should be associated with its own index. Use the from
and to
request body parameters to set a range of index values for the addresses to precalculate. You can start with any number, but we recommend that you start from 0.
In one API call, you can precalculate:
\nIf you need more addresses than one API call can precalculate, make several API calls. For example, if you need 10,000 addresses on Ethereum, make an API call with an index range from 0 through 4,999 and then make another API call with an index range from 5,000 through 9,999.
\nThe order in which the precalculated addresses are returned in the API response is the order of the values in the index range, and the index values are assigned to the addresses accordingly.
For example, you precalculated three gas pump addresses with a range of index values from 3 to 5. The first address in the returned arrray is assigned the index value \"3\", the second one - \"4\", and the third one - \"5\".
\n[\n \"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea\", // index is 3\n \"0x5c6079c14e9cd3d2ea8cb76aed9c5e336ef96126\", // index is 4\n \"0xc5e336ef9612614e9cd3d2ea8cb76aed95c6079c\" // index is 5\n]\n\n
The owner of the gas pump addresses
\nThe owner (also referred to as \"master address\") is the blockchain address that will own the precalculated gas pump addresses. The owner will also be paying gas fees for operations made on the gas pump addresses. You have to make sure that the owner always has enough funds to cover these gas fees.
Activated and not activated addresses
\nThe precalculated addresses can be immediately assigned to customers and can receive funds. However, they cannot be used to send funds to other addresses. This is because the addresses are not activated. To make the addresses be able to send funds, activate them.
2 credits per API call
\nActivate the precalulated gas pump addresses. Activating a gas pump address allows this address to send funds to other addresses.
\nYou can activate up to 270 addresses in one call. If you need to activate more than 270 addresses, make several API calls. For example, if you need to activate 500 addresses, make an API call with 270 addresses (set up the range of their index values accordingly in the from
and to
request body parameters) and then make another API call with the remaining 230 addresses.
When to activate a gas pump address
\nBecause activating a gas pump address costs some amount of gas on a blockchain, you want to activate only those addresses that will be used for sending funds to other addresses. If you know that a gas pump address will not be used for sending funds, you can leave this address not activated. The customer who uses this address will still be able to receive funds.
Depending on your business needs and requirements, you can choose when to activate the gas pump addresses. If you know for sure that all the precalculated addresses will be sending funds, you can activate all the addresses right after they have been precalculated.
\nAlternatively, you can set up the activation in such a way so that a gas pump address gets activated only when a specific event is triggered. For example, you can activate a gas pump address:
\nAfter you make an API call to activate gas pump addresses, use the API for getting the results of the address activation transaction.
\nPaying the gas fee for activating gas pump addresses
\nYou can pay the gas fees for each activation transaction yourself, or Tatum can cover it for you.
ActivateGasPumpTatum
. For example, if you are activating gas pump addresses on Ethereum and you use KMS, use the ActivateGasPumpKMS
schema.\nActivateGasPumpTatum
schema of the request body.\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the results of the activation transaction after activating gas pump addresses.
\nIf the activation transaction got recorded into a block, the API returns two arrays:
\nvalid
, with the activated gas pump addressesinvalid
, with the gas pump addresses that for some reason did not get activated together with the reason whyIf the transaction is still being processed, the API returns an error message. In this case, repeat the call later.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nCheck whether the gas pump address with a specified index is activated and can send funds to other addresses.
\nYou can use this API when a customer initiates a fund transfer and you need to check whether their gas pump address is allowed to send funds.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nTransfer (send) an asset from a gas pump address to the other address.
\nThis operation is usually performed by users in your custodial application: a user who has a gas pump address assigned wants to transfer an asset to some address on the blockchain.
\nThe gas fee for sending the asset will be covered by crypto funds on the master address. Make sure that the master address always has enough funds to cover gas fees.
\nTo be able to send the asset:
\nWith this API, you can send only one asset per API call. If you want to send multiple assets, use the API for transferring multiple assets from a gas pump account.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferCustodialWallet","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCustodialWallet"},{"$ref":"#/components/schemas/TransferCustodialWalletKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletCelo"},{"$ref":"#/components/schemas/TransferCustodialWalletCeloKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletTron"},{"$ref":"#/components/schemas/TransferCustodialWalletTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer an asset from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/transfer/batch":{"post":{"description":"2 credits per API call
\nTransfer (send) multiple assets from a gas pump address to one or more addresses.
\nThis operation is usually performed by users in your custodial application: a user who has a gas pump address assigned wants to transfer multiple assets to one or more addresses on the blockchain.
\nThe gas fee for sending the assets will be covered by crypto funds on the master address. Make sure that the master address always has enough funds to cover gas fees.
\nTo be able to send the assets:
\nIf you want to send only one asset, you can also use the API for transferring an asset from a gas pump account.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring assets, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferCustodialWalletBatch","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCustodialWalletBatch"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchCelo"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchCeloKMS"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchTron"},{"$ref":"#/components/schemas/TransferCustodialWalletBatchTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer multiple assets from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/approve":{"post":{"description":"2 credits per API call
\nAllow another blockchain address (the spender
parameter in the request body) to transfer the asset from a gas pump address on behalf of the master address.
Use this API when the customer using the gas pump address sells assets on a marketplace or auction. After the customer creates a listing of the asset, they have to allow the marketplace/auction smart contract to transfer the asset to the buyer after the asset has been bought.
\nThe asset can be one of the following types:
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen approving the transfer of an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"ApproveTransferCustodialWallet","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveTransferCustodialWallet"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletKMS"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletCelo"},{"$ref":"#/components/schemas/ApproveTransferCustodialWalletCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Approve the transfer of an asset from a gas pump address","tags":["Gas pump"]}},"/v3/blockchain/sc/custodial/batch":{"post":{"deprecated":true,"description":"This API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
2 credits per API call
\nGenerate new gas pump smart contract address on the blockchain. This address enables custodial providers to receive native assets, ERC20 / ERC721 / ERC1155 tokens on behalf of their customers on dedicated blockchain address, but in the same time it can initiate transfer of those assets away. Gas required for the transfer from that address is going to be deducted from the providers address - the one, which was used to generate the address on the blockchain.
\nThis operation deploys a smart contract on the blockchain.
\nFor paid plans, it is possible to pay for the gas costs - you don't have to provide private key or signatureId. Blockchain fees will be covered by your credits.
\nThis API is supported for the following blockchains:
\nThis API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
If you built your gas pump solution using this API and the API for generating a gas pump wallet address, you can still use this API for creating more custodial addresses for your solution. However, we recommend that you switch to the API for precalculating the gas pump addresses.
2 credits per API call
\nGenerate new gas pump smart contract address on the blockchain. It's possible to enable tokens, which should be detected and supported on that address. This address enables custodial providers to\nreceive native assets, ERC20 / ERC721 / ERC1155 tokens on behalf of their customers on dedicated blockchain address, but in the same time it can initiate transfer of those assets away.
\nGas required for the transfer from that address is going to be deducted from the providers address - the one, which was used to generate the address on the blockchain.
\nThere are multiple options, how this address can be setup - it cannot be changed in the future:
\nAll of these options could be enabled with a batch mode as well - in 1 transaction, it is possible to transfer multiple different assets from that address, e.g. ETH + USDC + ERC721 token.\nWithout batch mode, 3 separate transaction must have been performed.
\nThis operation deploys a smart contract on the blockchain. More assets you will support, more intial gas will be used for address creation. Batch mode adds more gas for every type.
\nThis API is supported for the following blockchains:
\nThis API is deprecated.
To start with the gas pump, use the API for precalculating the gas pump addresses.
If you built your gas pump solution using the API for generating a gas pump wallet address and API for generating a custodial wallet address, you can still use this API for getting the custodial wallet address from the transaction. However, we recommend that you switch to the API for precalculating the gas pump addresses.
1 credit per API call
\nGet gas pump smart contract addresses from deploy transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nDeploy an NFT marketplace smart contract on the blockchain. With a deployed marketplace smart contract, you and your customers can create new listings for assets such as non-fungible tokens and combinations of token types as described by the ERC-721 and ERC-1155 standards on the Ethereum blockchain or by the equivalent standards on the other blockchains. As the marketplace operator, you can set a fee as a percentage of the asset price that will be paid on top of the asset price.
\nThe purchase process looks like the following:
\nbuyAssetFromListing()
method is called against the marketplace smart contract) and send the required amount of the native assets to the marketplace smart contract.buyAssetFromListing()
method is called against the marketplace smart contract).This API is supported for the following blockchains:
\nSigning a transaction
\nWhen deploying an NFT marketplace smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"GenerateMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GenerateMarketplace"},{"$ref":"#/components/schemas/GenerateMarketplaceKMS"},{"$ref":"#/components/schemas/GenerateMarketplaceCelo"},{"$ref":"#/components/schemas/GenerateMarketplaceCeloKMS"},{"$ref":"#/components/schemas/GenerateMarketplaceSolana"},{"$ref":"#/components/schemas/GenerateMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SolanaMarketplaceTransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an NFT marketplace","tags":["Marketplace"]},"put":{"description":"2 credits per API call
\nUpdate an NFT marketplace on Solana.
\nYou can update it only if you are the marketplace operator.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen updating an NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateMarketplaceSolana"},{"$ref":"#/components/schemas/UpdateMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update an NFT marketplace on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/sell":{"post":{"description":"2 credits per API call
\nCreate a new listing for an asset on the NFT marketplace. The listing can be offered for the native blockchain assets (for example, ETH, MATIC, and so on) or for any fungible tokens.
\nAfter the listing is created, allow the marketplace smart contract to transfer the asset that you are selling.
\nYou can create a listing only for an existing asset that you own (you must be the owner of the asset).
\nThis API is supported for the following blockchains:
\nA known issue on Harmony
\nOn Harmony, when you are viewing a transaction in the Harmony Blockchain Explorer, the transaction status may be displayed as the following:
\nError reverted:x0
\nThis is a known issue with the Harmony Blockchain Explorer. This status does not mean that the transaction failed. You can safely ignore it.
The \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen creating a new listing on the NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"SellAssetOnMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SellAssetOnMarketplace"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/SellAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/SolanaMarketplaceSellTransactionHash"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sell an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/buy":{"post":{"description":"2 credits per API call
\nBuy an asset listed on the NFT marketplace.
\nYou can buy the asset either for the native blockchain currency (for example, ETH, MATIC, and so on) or for the fungible tokens of the blockchain.
\namount
request body parameter).This API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen buying an asset on the NFT marketplace, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BuyAssetOnMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BuyAssetOnMarketplace"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/BuyAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Buy an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/cancel":{"post":{"description":"2 credits per API call
\nCancel the selling of an asset on the NFT marketplace.
\nYou can cancel the selling only if you are the seller of the asset or the marketplace operator. Once the selling is canceled, the asset is returned to the seller.
\nYou cannot cancel the selling if the asset has already been purchased.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the marketplace version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen cancelling the selling of an asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CancelSellMarketplaceListing","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CancelSellAssetOnMarketplace"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceKMS"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceCelo"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceCeloKMS"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceSolana"},{"$ref":"#/components/schemas/CancelSellAssetOnMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel the selling of an asset on the NFT marketplace","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/{chain}/{contractAddress}/{type}":{"get":{"description":"1 credit per API call
\nGet the open, sold, or cancelled listings from the NFT marketplace.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet information about a specific listing on the NFT marketplace.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet information about an NFT marketplace on Solana.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\n","operationId":"GetMarketplaceInfo","parameters":[{"description":"Blockchain to work with","in":"path","name":"chain","required":true,"schema":{"type":"string","example":"SOL","enum":["SOL"]}},{"description":"Contract address","in":"path","name":"contractAddress","required":true,"schema":{"type":"string","example":"3MgkEwYY4b8iSX2yMLnbQ7n8KzNRKNAgTGJwVbEcKkUz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"feeAccount":{"maxLength":44,"minLength":32,"description":"Fee Account Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryAccount":{"maxLength":44,"minLength":32,"description":"Treasury Account Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"authority":{"maxLength":44,"minLength":32,"description":"Authority Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"creator":{"maxLength":44,"minLength":32,"description":"Creator Address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"If set to \"true\", the marketplace must sign all operations related to the listings and sales.","example":true,"type":"boolean"},"canChangeSalePrice":{"description":"If set to \"true\", the marketplace can change the sale price that the seller intentionally set to 0.","example":true,"type":"boolean"}},"required":["feeAccount","treasuryAccount","treasuryWithdrawalDestination","feeWithdrawalDestination","treasuryMint","authority","creator","marketplaceFee","requiresSignOff","canChangeSalePrice"]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get information about an NFT marketplace on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/{chain}/{contractAddress}/fee":{"get":{"description":"1 credit per API call
\nGet the NFT marketplace fee.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the recipient of the NFT marketplace fee.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nUpdate the recipient of the NFT marketplace fee.
\nYou can update the fee recipient only if you are the marketplace operator.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the recipient of the NFT marketplace fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateFeeRecipient","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeRecipient"},{"$ref":"#/components/schemas/UpdateFeeRecipientKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientCelo"},{"$ref":"#/components/schemas/UpdateFeeRecipientCeloKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientSolana"},{"$ref":"#/components/schemas/UpdateFeeRecipientSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the recipient of the NFT marketplace fee","tags":["Marketplace"]}},"/v3/blockchain/marketplace/listing/fee":{"put":{"description":"2 credits per API call
\nUpdate the NFT marketplace fee.
\nYou can update the marketplace fee only if you are the marketplace operator.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the NFT marketplace fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateFee","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFee"},{"$ref":"#/components/schemas/UpdateFeeKMS"},{"$ref":"#/components/schemas/UpdateFeeCelo"},{"$ref":"#/components/schemas/UpdateFeeCeloKMS"},{"$ref":"#/components/schemas/UpdateFeeSolana"},{"$ref":"#/components/schemas/UpdateFeeSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the NFT marketplace fee","tags":["Marketplace"]}},"/v3/blockchain/marketplace/withdraw/fee":{"post":{"description":"2 credits per API call
\nWithdraw funds from the NFT marketplace fee account on Solana.
\nYou can withdraw the funds only if you are the marketplace fee recipient.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen withdrawing the funds, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"WithdrawFeeFromMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolana"},{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Withdraw funds from the marketplace fee account on Solana","tags":["Marketplace"]}},"/v3/blockchain/marketplace/withdraw/treasury":{"post":{"description":"2 credits per API call
\nWithdraw funds from the NFT marketplace treasury account on Solana.
\nYou can withdraw the funds only if you are the marketplace fee recipient.
\nThis API is in alpha and is supported only for the mainnet on Solana.
\nSigning a transaction
\nWhen withdrawing the funds, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"WithdrawTreasuryFromMarketplace","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolana"},{"$ref":"#/components/schemas/WithdrawFromMarketplaceSolanaKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Withdraw funds from the marketplace treasury account on Solana","tags":["Marketplace"]}},"/v3/blockchain/auction":{"post":{"description":"2 credits per API call
\nDeploy new smart contract for NFT auction logic. Smart contract enables auction operator to create new auction for NFT (ERC-721/1155).\nOperator can set a fee in percentage, which will be paid on top of the price of the asset.\ncan be offered for native asset - ETH, BSC, etc. - or any ERC20 token - this is configurable during auction creation.\nBefore auction is created, seller must approve transfer of the NFT to the auction contract.\nBuyer will bid for the asset from the auction using native asset - send assets along the gid() smart contract call, or via ERC20 token.\nBuyer of the auction must perform approval for the smart contract to access ERC20 token, before the actual bid() method is called.\nOnce there is higher bid then the actual one, the previous bidder's funds will be returned to him and new bidder will be the current winning one.\nWhen auction ends, anyone can settle the auction - NFT will be sent to the bidder, assets to the seller and fee to the operator.
\nThis operation deploys a smart contract on the blockchain.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen creating an NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"GenerateAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GenerateAuction"},{"$ref":"#/components/schemas/GenerateAuctionKMS"},{"$ref":"#/components/schemas/GenerateAuctionCelo"},{"$ref":"#/components/schemas/GenerateAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/sell":{"post":{"description":"2 credits per API call
\nCreate new auction on the auction contract. Before operation, seller must approve spending of the NFT token for the Auction contract using Approve NFT.\nAfter auction is created, auction contract transfers the asset to the auction smart contract.\nOnly auction for existing NFTs can be created - seller must be owner of the NFT asset.
\nThis API is supported for the following blockchains:
\nA known issue on Harmony
\nOn Harmony, when you are viewing a transaction in the Harmony Blockchain Explorer, the transaction status may be displayed as the following:
\nError reverted:x0
\nThis is a known issue with the Harmony Blockchain Explorer. This status does not mean that the transaction failed. You can safely ignore it.
Signing a transaction
\nWhen selling an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CreateAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateAuction"},{"$ref":"#/components/schemas/CreateAuctionKMS"},{"$ref":"#/components/schemas/CreateAuctionCelo"},{"$ref":"#/components/schemas/CreateAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sell an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/bid":{"post":{"description":"2 credits per API call
\nBid for an asset listed on the NFT auction.
\nYou can buy the asset either for the native blockchain assets (for example, ETH, BSC, and so on) or for the fungible tokens of the blockchain.
\nAfter you have purchased the asset, it is in a pending state until the auction is settled. Settling the auction means that the asset is transferred to the buyer, the amount is transferred to the seller, and the fee is transferred to the fee recipient of the auction.
\nFor the complete information about how the bidding/purchase process at an auction works, see the API for creating an NFT auction.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen bidding for an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BidOnAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BidOnAuction"},{"$ref":"#/components/schemas/BidOnAuctionKMS"},{"$ref":"#/components/schemas/BidOnAuctionCelo"},{"$ref":"#/components/schemas/BidOnAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Bid for an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/settle":{"post":{"description":"2 credits per API call
\nSettle an auction once it has ended and there is a buyer of the asset at this auction. Settling the auction means that the asset is transferred to the buyer, the amount is transferred to the seller, and the fee is transferred to the fee recipient of the auction.
Both seller and buyer can settle the auction.
This API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen settling the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"SettleAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/SettleAuction"},{"$ref":"#/components/schemas/SettleAuctionKMS"},{"$ref":"#/components/schemas/SettleAuctionCelo"},{"$ref":"#/components/schemas/SettleAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Settle an NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/cancel":{"post":{"description":"2 credits per API call
\nCancel the selling of an asset at the NFT auction.
\nYou can cancel the selling only if you are the seller of the asset or the auction operator. Once the selling is canceled, the asset is returned to the seller.
\nYou cannot cancel the selling if the asset has already been purchased.
\nThis API is supported for the following blockchains:
\nThe \"execution reverted\" message
\nWhen making this API call, you may get the following message:
\nAlthough one or more Error Occurred [execution reverted] Contract Execution Completed
\nThis message is a result of the auction version check and has no impact on completing the API call. You can safely ignore it.
Signing a transaction
\nWhen cancelling the selling of an asset at the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CancelAuction","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CancelAuction"},{"$ref":"#/components/schemas/CancelAuctionKMS"},{"$ref":"#/components/schemas/CancelAuctionCelo"},{"$ref":"#/components/schemas/CancelAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel the selling of an asset at the NFT auction","tags":["Auction"]}},"/v3/blockchain/auction/approve":{"post":{"description":"2 credits per API call
\nAllow the NFT auction/marketplace smart contract to transfer the asset (NFT or Multi Token) that is listed for selling.
The auction/marketplace smart contract will transfer the asset to the buyer after the asset is purchased.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing the NFT auction/marketplace smart contract to transfer the asset, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"ApproveNftAuctionSpending","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveNftSpending"},{"$ref":"#/components/schemas/ApproveNftSpendingKMS"},{"$ref":"#/components/schemas/ApproveNftSpendingCelo"},{"$ref":"#/components/schemas/ApproveNftSpendingCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Allow the NFT auction or marketplace to transfer an asset","tags":["Auction"]}},"/v3/blockchain/auction/{chain}/{contractAddress}/{id}":{"get":{"description":"1 credit per API call
\nGet information about a specific auctioned asset at the NFT auction.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the NFT auction fee.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the recipient of the NFT auction fee.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nUpdate the recipient of the NFT auction fee.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the recipient of the NFT auction, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateAuctionFeeRecipient","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeRecipient"},{"$ref":"#/components/schemas/UpdateFeeRecipientKMS"},{"$ref":"#/components/schemas/UpdateFeeRecipientCelo"},{"$ref":"#/components/schemas/UpdateFeeRecipientCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the recipient of the NFT auction fee","tags":["Auction"]}},"/v3/blockchain/auction/fee":{"put":{"description":"2 credits per API call
\nUpdate the NFT auction fee.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen updating the NFT auction fee, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"UpdateAuctionFee","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UpdateFeeAuction"},{"$ref":"#/components/schemas/UpdateFeeAuctionKMS"},{"$ref":"#/components/schemas/UpdateFeeAuctionCelo"},{"$ref":"#/components/schemas/UpdateFeeAuctionCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update the NFT auction fee","tags":["Auction"]}},"/v3/blockchain/auction/time/{chain}/{date}":{"get":{"description":"1 credit per API call
\nGet an estimated block height (number) for some future point in time.
\nNote that this API returnes an estimation of what the block height might be and not the exact block height.
\nThis API is supported for the following blockchains:
\nThe number of credits consumed depends on the number of methods submitted in an API call:
\n* 50 credits per debug*/trace* method (for EVM-based blockchains)
\n* 50 credits per EOS Trace API methods
\n* 5 credits per eth_call method (for EVM-based blockchains)
\n* 2 credits per any other RPC method
Connect directly to the blockchain node provided by Tatum.
\nThe POST
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
In the request body, provide valid Web3 RPC method content, for example:
\n\n{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_name\",\n \"params\": []\n}\n\n
For the blockchains using the JSON-RPC 2.0 specification, you can submit multiple RPC methods in one API call:
\n\n[\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_1_name\",\n \"params\": []\n },\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"method_2_name\",\n \"params\": []\n },\n ...\n]\n\n
This API is supported for the following blockchains:
\n2 credits per RPC method in an API call
\nConnect directly to the blockchain node provided by Tatum.
\nThe PUT
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
In the request body, provide valid Web3 RPC method content, for example:
\n\n{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_name\",\n \"params\": []\n}\n\n
For the blockchains using the JSON-RPC 2.0 specification, you can submit multiple RPC methods in one API call:
\n\n[\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"method\": \"method_1_name\",\n \"params\": []\n },\n {\n \"jsonrpc\": \"2.0\",\n \"id\": 2,\n \"method\": \"method_2_name\",\n \"params\": []\n },\n ...\n]\n\n
This API is supported for the following blockchains:
\n2 credits per RPC method in an API call
\nConnect directly to the blockchain node provided by Tatum.
\nThe GET
method is used. The API endpoint URL acts as an HTTP-based RPC driver.
This API is supported for the following blockchains:
\n\n","operationId":"NodeJsonRpcGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization. You can omit this path parameter and either use the X-Api-Key header, or the API key tied to your IP address without any header.","in":"path","name":"xApiKey","required":false,"schema":{"type":"string","example":"ea8ce228-6ca3-465c-abb0-fd3c5d35c0d5"}},{"description":"Blockchain to communicate with.","in":"path","name":"chain","required":true,"schema":{"$ref":"#/components/schemas/NodeRpcGetChains"}},{"description":"Optional path of rpc call for non EVM nodes, e.g. Algorand or Stellar.","in":"path","name":"rpcPath","required":false,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"A valid RPC response","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC error response."}}},"description":"Internal server error"}},"x-codeSamples":[],"summary":"Connect to the blockchain node through an RPC driver","tags":["Node RPC"]}},"/v3/ethereum/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Ethereum wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Ethereum wallet.
\n","operationId":"EthGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum wallet","tags":["Ethereum"]}},"/v3/ethereum/address/{xpub}/{index}":{"get":{"description":"Generates an Ethereum account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"EthGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressEth"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum account address from Extended public key","tags":["Ethereum"]}},"/v3/ethereum/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"EthGenerateAddressPrivateKey","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ethereum private key","tags":["Ethereum"]}},"/v3/ethereum/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Ethereum node provided by Tatum.\nTo learn more about Ethereum Web3, visit the Ethereum developers' guide.
\n","operationId":"EthWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Ethereum"]}},"/v3/ethereum/block/current":{"get":{"description":"Gets the current Ethereum block number. This is the number of the latest block in the blockchain.
","operationId":"EthGetCurrentBlock","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Ethereum"]}},"/v3/ethereum/block/{hash}":{"get":{"description":"Gets an Ethereum block-by-block hash or block number.
","operationId":"EthGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum block by hash","tags":["Ethereum"]}},"/v3/ethereum/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of ETH of an Ethereum account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"EthGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the ETH balance of an Ethereum account","tags":["Ethereum"]}},"/v3/ethereum/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Ethereum transaction by transaction hash.
\n","operationId":"EthGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum Transaction","tags":["Ethereum"]}},"/v3/ethereum/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Ethereum transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"EthGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Ethereum transactions","tags":["Ethereum"]}},"/v3/ethereum/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\nGet Ethereum transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"EthGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":1,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":1,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}},{"description":"Type of Ethereum testnet. Defaults to ethereum-sepolia.","in":"header","name":"x-testnet-type","required":false,"schema":{"default":"ethereum-sepolia","type":"string","enum":["ethereum-sepolia"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EthTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ethereum transactions by address","tags":["Ethereum"]}},"/v3/ethereum/transaction":{"post":{"description":"2 credits per API call
\nSend ETH or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending ETH, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthBlockchainTransfer","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferEthBlockchain"},{"$ref":"#/components/schemas/TransferEthBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ETH or fungible tokens (ERC-20) from account to account","tags":["Ethereum"]}},"/v3/ethereum/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Ethereum.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthBlockchainSmartContractInvocation","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallEthSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthScBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Ethereum","tags":["Ethereum"]}},"/v3/ethereum/account/transaction/internal/{address}":{"get":{"description":"Get Ethereum internal transactions by address.
2 credits per API call
\nBroadcast signed transaction to Ethereum blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"EthBroadcast","parameters":[{"$ref":"#/components/parameters/EthTestnetTypeQuery"},{"$ref":"#/components/parameters/EthTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403EthBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Ethereum transaction","tags":["Ethereum"]}},"/v3/kms/pending/{chain}":{"get":{"description":"1 credit per API call
\nGet the list of pending transactions to sign and broadcast using KMS.
\n","operationId":"GetPendingTransactionsToSign","parameters":[{"description":"Blockchain to get pending transactions for.","in":"path","name":"chain","required":true,"schema":{"type":"string","maxLength":24,"minLength":24,"enum":["ADA","BNB","BTC","ETH","XLM","XRP","BCH","LTC","DOGE","VET","BSC","MATIC","CELO","FLOW","TRON","ONE","XDC","EGLD","KLAY","SOL"]}},{"description":"Signature IDs of the KMS which invokes this endpoint. If multiple, they should be separated by comma.","in":"query","name":"signatures","required":false,"schema":{"type":"string","example":"6d78dad2-518f-4e76-8255-8f1df0de6884,6d78dad2-518f-4e76-8255-8f1df0de6885,6d78dad2-518f-4e76-8255-8f1df0de6886"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingTransaction"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get pending transactions to sign","tags":["Key Management System"]},"post":{"description":"1 credit for every 500 signature IDs per API call
\nGet the list of pending transactions to sign and broadcast using KMS.
\nNOTE: This API works only in KMS v5.0 or later. If you use KMS older than v5.0, use this API instead.
\n","operationId":"ReceivePendingTransactionsToSign","parameters":[{"description":"Blockchain to get pending transactions for.","in":"path","name":"chain","required":true,"schema":{"type":"string","maxLength":24,"minLength":24,"enum":["ADA","BNB","BTC","ETH","XLM","XRP","BCH","LTC","DOGE","VET","BSC","MATIC","CELO","FLOW","TRON","ONE","XDC","EGLD","KLAY","SOL"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KmsSignatureIds"}}},"required":false,"description":"Signature IDs of the KMS which invokes this endpoint."},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PendingTransaction"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get pending transactions to sign","tags":["Key Management System"]}},"/v3/kms/{id}/{txId}":{"put":{"description":"Mark pending transaction to sign as a complete and update it with a transactionID from the blockchain.
\n","operationId":"CompletePendingSignature","parameters":[{"description":"ID of pending transaction","in":"path","name":"id","required":true,"schema":{"type":"string","example":"f91827364f91827364ajdur7","maxLength":24,"minLength":24}},{"description":"transaction ID of blockchain transaction","in":"path","name":"txId","required":true,"schema":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326","maxLength":80,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Complete pending transaction to sign","tags":["Key Management System"]}},"/v3/kms/{id}":{"get":{"description":"Get detail of transaction to be signed / that was already signed and contains transactionId.
","operationId":"GetPendingTransactionToSign","parameters":[{"description":"ID of transaction","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":24,"minLength":24}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PendingTransaction"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KMSNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transaction details","tags":["Key Management System"]},"delete":{"description":"Delete transaction to be signed. When deleting offchain transaction, linked withdrawal will be cancelled automatically.
","operationId":"DeletePendingTransactionToSign","parameters":[{"description":"ID of transaction","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":24,"minLength":24}},{"description":"Defines whether fee should be reverted to account balance as well as amount. Defaults to true. Revert true would be typically used when withdrawal was not broadcast to blockchain. False is used usually for Ethereum ERC20 based currencies.","in":"query","name":"revert","required":false,"schema":{"default":true,"example":true,"type":"boolean"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KMSNotExists"},{"$ref":"#/components/schemas/Error403WithdrawalNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Delete transaction","tags":["Key Management System"]}},"/v3/security/address/{address}":{"get":{"description":"Check, if the blockchain address is malicous. Malicous address can contain assets from the DarkWeb, is connected to the scam projects or contains stolen funds.
Supported Chains: ETH, BTC, LTC
\n","operationId":"CheckMalicousAddress","parameters":[{"description":"Blockchain Address to check","in":"path","name":"address","required":true,"schema":{"example":"0x002Bf459dC58584D58886169EA0E80f3Ca95FFAF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","description":"Whether address is malicous or not","example":"valid","enum":["valid","invalid"]}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Check malicous address","tags":["Malicious address"]}},"/v3/ledger/customer":{"get":{"description":"List of all customers. Also inactive an disabled customers are present.
\n","operationId":"findAllCustomers","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Customer"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all customers","tags":["Customer"]}},"/v3/ledger/customer/{id}":{"get":{"description":"Using anonymized external ID or internal customer ID you can access customer detail information. Internal ID is needed to call other customer related methods.
","operationId":"getCustomerByExternalOrInternalId","parameters":[{"description":"Customer external or internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":100,"minLength":1}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CustomerNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get customer details","tags":["Customer"]},"put":{"description":"This method is helpful in case your primary system will change ID's or customer will change the country he/she is supposed to be in compliance with.
","operationId":"updateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/activate":{"put":{"description":"Activated customer is able to do any operation.
","operationId":"activateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"},{"$ref":"#/components/schemas/Error403CustomerActive"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Activate customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/deactivate":{"put":{"description":"Deactivate customer is not able to do any operation. Customer can be deactivated only when all their accounts are already deactivated.
","operationId":"deactivateCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerDeactivateActiveAccounts"},{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deactivate customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/enable":{"put":{"description":"Enabled customer can perform all operations. By default all customers are enabled. All previously blocked account balances will be unblocked.
","operationId":"enableCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerEnabled"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Enable customer","tags":["Customer"]}},"/v3/ledger/customer/{id}/disable":{"put":{"description":"Disabled customer cannot perform end-user operations, such as create new accounts or send transactions. Available balance on all accounts is set to 0. Account balance will stay untouched.
","operationId":"disableCustomer","parameters":[{"description":"Customer internal ID","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CustomerInactive"},{"$ref":"#/components/schemas/Error403CustomerDisabled"},{"$ref":"#/components/schemas/Error403CustomerInternalNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Disable customer","tags":["Customer"]}},"/v3/ledger/virtualCurrency":{"post":{"description":"2 credits per API call
\nCreate new virtual currency with given supply stored in account. This will create Tatum internal virtual currency. Every virtual currency must be prefixed with VC_.
\nEvery virtual currency must be pegged to existing FIAT or supported cryptocurrency. 1 unit of virtual currency has then the same amount as 1 unit of the base currency it is pegged to. It is possible to set a custom base rate for the virtual currency. (baseRate = 2 => 1 VC unit = 2 basePair units)
\nTatum virtual currency acts as any other asset within Tatum. To create a fungible token, see the API for deploying a fungible token smart contract.
\nThis operation returns the newly created Tatum Ledger account with an initial balance set to the virtual currency's total supply. Total supply can be changed in the future.
\nDigital assets:
\n0x2791bca1f2de4661ed88a30c99a7a9449aa84174
on Polygon mainnet.0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
on Polygon mainnet.Change base pair and/or base rate of existing virtual currency.
","operationId":"updateCurrency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualCurrencyUpdate"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCNotFound"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/{name}":{"get":{"description":"1 credit per API call
\nGet detail of virtual currency.
\n","operationId":"getCurrency","parameters":[{"in":"path","name":"name","required":true,"schema":{"maxLength":100,"minLength":3,"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VC"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403VCNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/mint":{"put":{"description":"2 credits per API call
\nCreate new supply of virtual currency linked on the given accountId. Method increases the total supply of the currency.
\nThis method creates Ledger transaction with operationType MINT with undefined counterAccountId.
\n","operationId":"mintCurrency","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualCurrencyOperation"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResult"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403VCNoAccount"},{"$ref":"#/components/schemas/Error403VCTxFailed"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403AccountNotExists"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create new supply of virtual currency","tags":["Virtual Currency"]}},"/v3/ledger/virtualCurrency/revoke":{"put":{"description":"Destroy supply of virtual currency linked on the given accountId. Method decreases the total supply of the currency.
\nThis method creates Ledger transaction with operationType REVOKE with undefined counterAccountId.
Store new buy / sell trade. If there is trade already available to fill, fill as much trades as possible.
\nIt is possible to charge fees for the trades. Fees are an extra amount on top of the trade amount and are paid in the currency that you going to block\ne.g.:\n- BUY BTC/USDT - fees will be paid in USDT\n- SELL BTC/ETH - fees will be paid in BTC\n
\nIf you fill type of the trade with FUTURE_BUY or FUTURE_SELL the trade will behave as a trade future. The trade is concluded now but will be fulfilled in future.\nThe date of fulfillment is by the “Seal Date” field. You can also block a percentage of the amount until the future trade has expired.\n
\nFutures can also penalize contracting parties if they don’t have the agreed balance available in their accounts.\nThe penalty is calculated in the following way: Penalty amount = (Percentage of incomplete deal amount because of shortage from user) × (Maximum Penalty percentage of futures deal based on blocked amount and time interval) × (total blocked value).\n
\nExample of the BTC/USDT trade future:
\nThe maker creates a sell with the following properties: 1 BTC at a price of 60000 USDT, with a blocking percentage of 22%, a penalty percentage of 45%, a system commision of 1% and with an expiration time of within 12 hours.
\n\n{\n \"type\": \"FUTURE_SELL\",\n \"price\": \"60000\",\n \"amount\": \"1\",\n \"pair\": \"BTC/USDT\",\n \"currency1AccountId\": \"60a236db1b57f60d62612bf3\",\n \"currency2AccountId\": \"609d0696bf835c241ac2920f\",\n \"fee\": 1,\n \"feeAccountId\": \"609d0696bf835c251ac2920a\",\n \"attr\": {\n \"sealDate\": 1621990960631,\n \"percentBlock\": 22,\n \"percentPenalty\": 45\n }\n}\n\n\nThe taker accepts the offer with a buy and blocks 13200 USDT (60000 USDT × 0.22) in their account.\n
\n{\n \"type\": \"FUTURE_BUY\",\n \"price\": \"60000\",\n \"amount\": \"1\",\n \"pair\": \"BTC/USDT\",\n \"currency1AccountId\": \"60a236db1b57f60d62612bf2\",\n \"currency2AccountId\": \"609d0696bf835c241ac2920a\",\n \"attr\": {\n \"sealDate\": 1621990960631,\n \"percentBlock\": 22,\n \"percentPenalty\": 45\n }\n}\n\n
At the time of the trade, the maker and taker have the following conditions.\nThe maker has 0.65 BTC (35% deficit) in their account and the taker has 49200 USDT (18% deficit) in their account.\n
\n\n\nThe maker penalty is equal to 0.35 × 0.22 × (0.45 × 1 BTC) = 0.03465 BTC.\nThe taker penalty is equal to 0.18 × 0.22 × (0.45 × 60000 USDT) = 1069.2 USDT.\n
\n\nThe system commission for the maker is 1 BTC × 1% = 0.01 BTC.\nThe system commission for the taker is 60000 USDT × 1% = 600 USDT.\n
\n\nThe maker’s assets after deducting penalties and commissions equals 0.65 - 0.03465 - 0.01 = 0.60535 BTC. The taker’s assets after deducting penalties and commissions equals 49200 - 1069.2 - 600 = 47530.8 USDT.\n
\n\nThe amount received by the maker after the trade is (0.60535 × 60000) + 1069.2 = 37390.2 USDT and the taker receives 0.60535 + 0.03465 = 0.64 BTC.\n
\n","operationId":"storeTrade","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTrade"},{"$ref":"#/components/schemas/CreateFutureTrade"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Id"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AccountCurrencyVC"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403OrderCurrency1NotFound"},{"$ref":"#/components/schemas/Error403OrderCurrency1Frozen"},{"$ref":"#/components/schemas/Error403OrderFeeNotFound"},{"$ref":"#/components/schemas/Error403OrderFeeIncompatible"},{"$ref":"#/components/schemas/Error403OrderCurrency1CustomerDisabled"},{"$ref":"#/components/schemas/Error403OrderCurrency2NotFound"},{"$ref":"#/components/schemas/Error403OrderCurrency2Frozen"},{"$ref":"#/components/schemas/Error403OrderCurrency2CustomerDisabled"},{"$ref":"#/components/schemas/Error403OrderCurrency1Pair"},{"$ref":"#/components/schemas/Error403OrderCurrency2Pair"},{"$ref":"#/components/schemas/Error403OrderCurrency1Balance"},{"$ref":"#/components/schemas/Error403OrderCurrency2Balance"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store buy / sell trade","tags":["Order Book"]}},"/v3/trade/chart":{"post":{"description":"Obtain data from the closed trades for entering in the chart. Time interval is set between from and to and there is defined time frame. There can be obtained at most 200 time points in the time interval.
\n","operationId":"chartRequest","parameters":[{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChartRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Chart"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Obtain chart data from historical closed trades","tags":["Order Book"]}},"/v3/trade/history":{"get":{"deprecated":true,"description":"List all historical trades. It is possible to list all trades, trades for specific trading pair and/or account.
","operationId":"getHistoricalTrades","parameters":[{"description":"Account ID. If present, only closed trades for given account will be present.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Trade pair. If present, only closed trades on given trade pair will be present.","in":"query","name":"pair","required":false,"schema":{"type":"string","example":"BTC/ETH","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade types.","in":"query","name":"types","required":false,"schema":{"type":"array","items":{"type":"string","example":"BUY","enum":["FUTURE_BUY","FUTURE_SELL","BUY","SELL"]}}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all historical trades","tags":["Order Book"]},"post":{"description":"List all historical trades. It is possible to list all trades, trades for specific trading pair and/or account.
","operationId":"getHistoricalTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookHistoryBody"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all historical trades","tags":["Order Book"]}},"/v3/trade/buy":{"get":{"description":"List all active buy trades.
","operationId":"getBuyTrades","deprecated":true,"parameters":[{"description":"Account ID. If present, list current active buy trades for that account.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Customer ID. If present, list current active buy trades for that customer.","in":"query","name":"customerId","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Trade pair. If present, list current active buy trades for that pair.","in":"query","name":"pair","schema":{"type":"string","example":"BTC/EUR","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade type.","in":"query","name":"tradeType","example":"BUY","required":false,"schema":{"type":"string","enum":["FUTURE_BUY","BUY"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active buy trades","tags":["Order Book"]},"post":{"description":"List all active buy trades.
","operationId":"getBuyTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookActiveBuyBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active buy trades","tags":["Order Book"]}},"/v3/trade/sell":{"get":{"description":"List all active sell trades.
","operationId":"getSellTrades","deprecated":true,"parameters":[{"description":"Account ID. If present, list current active sell trades for that account.","in":"query","name":"id","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Customer ID. If present, list current active buy trades for that customer.","in":"query","name":"customerId","required":false,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Trade pair. If present, list current active sell trades for that pair.","in":"query","name":"pair","schema":{"type":"string","example":"BTC/EUR","minLength":3,"maxLength":30,"pattern":"^[A-a-zZ0-9_\\-]+\\/[A-Za-z0-9_\\-]+$"}},{"description":"Get the total trade pair count based on the filter. Either count or pageSize is accepted.","in":"query","name":"count","example":true,"schema":{"type":"boolean"}},{"description":"Trade type.","in":"query","name":"tradeType","example":"SELL","required":false,"schema":{"type":"string","enum":["FUTURE_SELL","SELL"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active sell trades","tags":["Order Book"]},"post":{"description":"List all active sell trades.
","operationId":"getSellTradesBody","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookActiveSellBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active sell trades","tags":["Order Book"]}},"/v3/trade/matched":{"post":{"description":"List all matched orders from the FUTURE_BUY OR FUTURE_SELL orders.
","operationId":"getMatchedTrades","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListOderBookMatchedBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Trade"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all matched orders from FUTURE_SELL/FUTURE_BUY trades","tags":["Order Book"]}},"/v3/trade/{id}":{"get":{"description":"Get existing opened trade.
","parameters":[{"description":"Trade ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"getTradeById","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Trade"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get existing trade","tags":["Order Book"]},"delete":{"description":"Cancel existing trade.
","parameters":[{"description":"Trade ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteTrade","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel existing trade","tags":["Order Book"]}},"/v3/trade/account/{id}":{"delete":{"description":"Cancel all trades for account.
","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteAccountTrades","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel all existing trades for account","tags":["Order Book"]}},"/v3/subscription":{"post":{"description":"2 credits per API call + credits spent on subscriptions themselves
\nEach subscription type consumes a different number of credits.
For Free plans, there is a monthly limit of sent webhooks, which is 1000.
\nIf the webhook is sent unsuccessfully, it will be retried. The number of retries depends on the plan.
\nCreate a subscription as an HTTP web hook.
\nThe following subscription types are available:
\nChain | \nTestnet/Mainnet | \nToken assets support | \nPlan limitation | \nCredit consumption / day / address | \n
---|---|---|---|---|
Solana | \nYes/Yes | \nSOL, SPL and NFTs | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n50 credits / day / address | \n
Ethereum | \nYes (Sepolia, Holesky)/Yes | \nETH, Internal transfers, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Polygon | \nYes/Yes | \nMATIC, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n40 credits / day / address | \n
Celo | \nYes/Yes | \nCELO, Internal transfers, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Klaytn | \nYes/Yes | \nKlay, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Flare | \nYes (Coston, Coston 2, SongBird)/Yes | \nFLR, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Bitcoin | \nYes/Yes | \nBTC | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n5 credits / day / address | \n
Litecoin | \nYes/Yes | \nLTC | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n7 credits / day / address | \n
Bitcoin Cash | \nYes/Yes | \nBCH, only incoming transactions | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n5 credits / day / address | \n
Dogecoin | \nYes/Yes | \nDOGE, only incoming transactions | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n7 credits / day / address | \n
Tron | \nYes/Yes | \nTron, TRC10/TRC20 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n30 credits / day / address | \n
Binance Smart Chain | \nYes/Yes | \nBSC, BEP20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n40 credits / day / address | \n
Cronos | \nYes/Yes | \nCRO, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Base | \nYes/Yes | \nBASE, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
Avalanche | \nYes/Yes | \nAVAX, ERC20, ERC721, ERC1155 | \nFree plans - 10 addresses across all blockchains, Paid plans - unlimited addresses across all blockchains | \n25 credits / day / address | \n
{\n \"address\": \"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ\", // the address on which the transaction occurs; for EVM-based chains, this is the sender's address\n \"txId\": \"2rdy3YCZHSwvpWtuDom1d4Jjy5UU9STLxF3ffXau6GToReDkfw8wEgX541fvzvh6btVC5D8iNapcKTXfPsoDBk7A\", // the transaction ID\n \"blockNumber\": 110827114, // the block number; does not appear if the transaction is in the mempool (for EVM-based blockchains)\n \"asset\": \"3gUeeR3BfVhukYJMwtHownRtRkGcf1bvwiV8TbKMZBVz\", // the asset of the transaction: for token assets, this is the token address; for native blochckain assets, this is the name of the asset (for example, SOL)\n \"amount\": \"1\", // the amount of the asset that was credited to (+) or debited from (-) the address; for EVM-based chains, when \"counterAddress\" is present, the amount is always positive\n \"tokenId\": \"1\", // (ERC-721 / ERC-1155 only) the ID of the transferred token\n \"type\": \"token\", // the type of the transaction; can be either \"native\" or \"token\"\n \"mempool\": true, // (EVM-based blockchains only) if appears and set to \"true\", the transaction is in the mempool; if set to \"false\" or does not appear at all, the transaction has been added to a block\n \"counterAddress\": undefined // an optional counter party address of the transaction; for EVM-based blockchains, this is the recipient's address\n \"addressesRiskRatio\": [ // (optional, subject to change; for Solana mainnet only) risk levels assigned to the addresses with which the address communicated within the transaction; the addresses are assessed using the AML/CFT solution by blockmate.io, see https://docs.blockmate.io/docs/risk-API/sources\n {\"vTEfAhXTmvgFmepgfhzBbRrJ4EtUP9adbMJjpzLsDMk\": 0},\n {\"zBbRrJ4EtUP9adbMJjpzLsDMkvTEfAhXTmvgFmepgfh\": 100}\n ]\n}\n5 credits are debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n500,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n500,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n500,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n500,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n500,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n500,000 credits / day | \n
Cronos | \ncronos-mainnet / cronos-testnet | \n500,000 credits / day | \n
Base | \nbase-mainnet / base-sepolia | \n500,000 credits / day | \n
Avalanche | \navalanche-mainnet / avalanche-testnet | \n500,000 credits / day | \n
Optimism | \noptimism-mainnet / optimism-testnet | \n500,000 credits / day | \n
{\n \"events\": [\n {\n \"timestamp\": 1661961758000,\n \"from\": \"0x0000000000000000000000000000000000000000\",\n \"to\": \"0xfa4e7035b34294407e5df1603215983d65e5a773\",\n \"tokenId\": \"14671\",\n \"txId\": \"0x916fcf878656f7a3772317697e6d2740ac8b1b7dbe6d029aa79592fd72f3fb0b\",\n \"contractAddress\": \"0x55a2430e32dcebc3649120f26f917d1f0686f74c\",\n \"type\": \"erc721\",\n \"amount\": \"1\",\n \"logIndex\": 578,\n \"metadataURI\": \"https://graphigo.prd.galaxy.eco/metadata/0x55a2430e32dcebc3649120f26f917d1f0686f74c/14671.json\"\n }\n ],\n \"blockNumber\": 32522207,\n \"chain\": \"polygon-mainnet\",\n \"subscriptionType\": \"CONTRACT_NFT_TXS_PER_BLOCK\"\n }\n1 credit is debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n500,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n500,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n500,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n500,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n500,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n500,000 credits / day | \n
Cronos | \ncronos-mainnet / cronos-testnet | \n500,000 credits / day | \n
Base | \nbase-mainnet / base-testnet | \n500,000 credits / day | \n
Avalanche | \navalanche-mainnet / avalanche-testnet | \n500,000 credits / day | \n
Optimism | \noptimism-mainnet / optimism-testnet | \n500,000 credits / day | \n
{\n \"events\": [\n {\n \"timestamp\": 1661961758000,\n \"from\": \"0x85bd970cf0e49acd572f9c2d608713bc55b5ee0e\",\n \"to\": \"0x9ab31230d5413e4af01af9bb697651a3c70c95c9\",\n \"tokenId\": \"1450000023306\",\n \"txId\": \"0x565b9ca6b7b5ff1b1ce0725acd785dbf5ff0930d5ff547bad044c0960291555f\",\n \"contractAddress\": \"0xdb6290f355a528a7284bdd528b05a78fb05226ca\",\n \"type\": \"erc1155\",\n \"amount\": \"1\",\n \"logIndex\": 571,\n \"metadataURI\": \"https://touhao.bj.bcebos.com/nft/metadata/1450000023306.json\"\n }\n ],\n \"blockNumber\": 32522207,\n \"chain\": \"polygon-mainnet\",\n \"subscriptionType\": \"CONTRACT_MULTITOKEN_TXS_PER_BLOCK\"\n}\n1 credit is debited for each fired web hook.
Chain | \nAvailable chains (the \"chain\" parameter in the response payload) | \nCredit consumption / day | \n
---|---|---|
Ethereum | \nethereum-sepolia / ethereum-holesky / ethereum-mainnet | \n50,000 credits / day | \n
Polygon | \npolygon-amoy / polygon-mainnet | \n50,000 credits / day | \n
Celo | \ncelo-testnet / celo-mainnet | \n50,000 credits / day | \n
Klaytn | \nklaytn-baobab / klaytn-cypress | \n50,000 credits / day | \n
Flare | \nflare-coston / flare-coston2 / flare-songbird / flare-mainnet | \n50,000 credits / day | \n
BNB Smart Chain | \nbsc-testnet / bsc-mainnet | \n50,000 credits / day | \n
Cronos | \ncronos-mainnet | \n50,000 credits / day | \n
Base | \nbase-mainnet | \n50,000 credits / day | \n
Avalanche | \navalanche-mainnet / avalanche-testnet | \n50,000 credits / day | \n
Optimism | \noptimism-mainnet / optimism-testnet | \n50,000 credits / day | \n
{\n \"events\": [\n {\n \"txId\": \"0xc98307f09ed527d5cff8305e8f65226b790e3317ded10b9e58f6f07286dcf8f1\",\n \"logIndex\": 326,\n \"timestamp\": 1661774265000,\n \"address\": \"0xc2132d05d31c914a87c6611c10748aeb04b58e8f\",\n \"topic_0\": \"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\n \"topic_1\": \"0x000000000000000000000000a91ab7d77892a559d2a95baaf1d748fc97c65d29\",\n \"topic_2\": \"0x0000000000000000000000009b08288c3be4f62bbf8d1c20ac9c5e6f9467d8b7\",\n \"topic_3\": null,\n \"data\": \"0x0000000000000000000000000000000000000000000000000000000002c9e3e4\"\n }\n ],\n \"blockNumber\": 32447538,\n \"chain\": \"polygon-amoy\",\n \"subscriptionType\": \"CONTRACT_LOG_EVENT\"\n}\n1 credit is debited for each fired web hook.
{\n \"date\": 1619176527481,\n \"amount\": \"0.005\",\n \"currency\": \"BTC\",\n \"subscriptionType\":\"ACCOUNT_INCOMING_BLOCKCHAIN_TRANSACTION\",\n \"accountId\": \"6082ab462936b4478117c6a0\",\n \"reference: \"c9875708-4ba3-41c9-a4cd-271048b41b9a\", // the reference of the transaction in the virtual account\n \"txId\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\",\n \"blockHash\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\", // the hash of the block, might not be present every time\n \"blockHeight\": 12345,\n \"from\": \"SENDER_ADDRESS\", // might not be present every time; not present for UTXO-based blockchains\n \"to\": \"RECIPIENT_ADDRESS_CONNECTED_TO_LEDGER_ACCOUNT\", // the blockchain address of the recipient\n \"index\": 5 // for UTXO-based blockchains (BCH, BTC, DOGE, LTC), this is the index of the output in the transaction\n}\n1 credit is debited for each monitored account every day.
{\n \"date\": 1619176527481,\n \"amount\": \"0.005\",\n \"currency\": \"BTC\",\n \"accountId\": \"6082ab462936b4478117c6a0\",\n \"reference: \"c9875708-4ba3-41c9-a4cd-271048b41b9a\", // the reference of the transaction in the virtual account\n \"txId\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\",\n \"blockHash\": \"45af182a0ffab58e5ba32fee57b297b2260c6e23a1de5ddc76c7ee22d72dea99\", // the hash of the block, might not be present every time; if set to \"null\", the transaction is in the mempool (for EVM-based blockchains)\n \"blockHeight\": 12345, // if set to \"null\", the transaction is in the mempool (for EVM-based blockchains)\n \"from\": \"SENDER_ADDRESS\", // might not be present every time; not present for UTXO-based blockchains (BCH, BTC, DOGE, LTC)\n \"to\": \"RECIPIENT_ADDRESS_CONNECTED_TO_LEDGER_ACCOUNT\", // the blockchain address of the recipient\n \"index\": 5 // for UTXO-based blockchains (BCH, BTC, DOGE, LTC), this is the index of the output in the transaction\n}\n1 credit is debited for each monitored account every day.
{\n \"created\": 1619176527481,\n \"amount\": \"0.005\",\n \"price\": \"0.02\",\n \"type\": \"SELL\",\n \"pair\": \"VC_CHF/VC_CHF3\",\n \"id\": \"6082ab462936b4478117c6a0\", // id of the trade\n \"currency1AccountId\": \"6082ab462936b4478117c6a0\",\n \"currency2AccountId\": \"6082ab512936b4478117c6a2\",\n \"fee\": null,\n \"feeAccountId\": null,\n \"isMaker\": true,\n \"expiredWithoutMatch\": false\n}\n10 credits will be debited for every monitored customer every day.
{\n \"created\": 1619176527481,\n \"amount\": \"0.005\",\n \"orderAmount\": \"0.1\",\n \"price\": \"0.02\",\n \"type\": \"SELL\",\n \"pair\": \"VC_CHF/VC_CHF3\",\n \"id\": \"6082ab462936b4478117c6a0\", // id of the trade\n \"currency1AccountId\": \"6082ab462936b4478117c6a0\",\n \"currency2AccountId\": \"6082ab512936b4478117c6a2\",\n \"fee\": null,\n \"feeAccountId\": null,\n \"isMaker\": true,\n \"expiredWithoutMatch\": false\n}\n10 credits will be debited for every monitored customer every day.
\n {\n \"txId\": \"0x026f4f05b972c09279111da13dfd20d8df04eff436d7f604cd97b9ffaa690567\",\n \"reference\": \"90270634-5b07-4fad-b17b-f82899953533\",\n \"accountId\": \"6086ed0744c45b24d4fbd039\",\n \"currency\": \"BSC\",\n \"withdrawalId\": \"608fe5b73a893234ba379ab2\",\n \"address\": \"0x8ce4e40889a13971681391AAd29E88eFAF91f784\",\n \"amount\": \"0.1\",\n \"blockHeight\": 8517664\n }\n10 credits will be debited every day, 1 credit for every included transaction notified via web hook.
{\n \"signatureId\": \"6082ab462936b4478117c6a0\",\n \"error\": \"Error message from the KMS\"\n}\n10 credits will be debited every day.
{\n \"signatureId\": \"6082ab462936b4478117c6a0\",\n \"txId\": \"0x7bb7d3b90567e89f999f2e3d263bc3738a018dbbcfa9f5397678cf17cdf0235f\"\n}\n10 credits will be debited every day.
List all active subscriptions.
","operationId":"getSubscriptions","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Value for filtering by address","in":"query","name":"address","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Subscription"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all active subscriptions","tags":["Notification subscriptions"]},"put":{"description":"Enable HMAC hash ID on the fired webhooks from Tatum API.\nIn order to make sure that a webhook is sent by us, we have the possibility to sign it with the HMAC Sha512 Hex algorithm.
\nTo verify that a webhook is sent by us\n
JSON.stringify(req.body)
require('crypto').createHmac('sha512', hmacSecret).update(JSON.stringify(req.body)).digest('base64').
Disable HMAC hash ID on the fired webhooks from Tatum API.
\n","operationId":"disableWebHookHmac","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Disable HMAC webhook digest","tags":["Notification subscriptions"]}},"/v3/subscription/count":{"get":{"description":"Count of subscriptions that were found from /v3/subscription
","operationId":"getSubscriptionsCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Value for filtering by address","in":"query","name":"address","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of subscriptions","tags":["Notification subscriptions"]}},"/v3/subscription/{id}":{"put":{"description":"Update subscription url.
","operationId":"updateSubscription","parameters":[{"description":"Subscription ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"description":"New webhook url","type":"string","example":"https://example.com/target/webhook"}}}}}},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Update subscription url","tags":["Notification subscriptions"]},"delete":{"description":"Cancel existing subscription.
","parameters":[{"description":"Subscription ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"operationId":"deleteSubscription","responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Cancel existing subscription","tags":["Notification subscriptions"]}},"/v3/subscription/report/{id}":{"get":{"description":"Obtain report from subscription based on its type. Following reports are supported:\n
List all webhooks.
","operationId":"getAllWebhooks","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","enum":["asc","desc"],"example":"asc"}},{"description":"Flag indicating whether the webhook was successful or not","in":"query","name":"failed","schema":{"type":"boolean","example":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebHook"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"List all executed webhooks","tags":["Notification subscriptions"]}},"/v3/subscription/webhook/count":{"get":{"description":"Count of webhooks that were found from /v3/subscription/webhook
","operationId":"getAllWebhooksCount","parameters":[{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Direction of sorting","in":"query","name":"direction","schema":{"type":"string","example":"asc","enum":["asc","desc"]}},{"description":"Flag indicating whether the webhook was successful or not","in":"query","name":"failed","schema":{"type":"boolean","example":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitiesCount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Count of found entities for get webhook request","tags":["Notification subscriptions"]}},"/v3/offchain/account/{id}/address":{"post":{"description":"2 credits per API call
\nOn Flow, additional 3000 credits are consumed for each created address.
Create a deposit address associated with a virtual account.
\nYou can create multiple deposit addresses for one virtual account. When you have multiple deposit addresses created for the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\nVirtual account cryptocurrency
\nDepending on the cryptocurrency of the virtual account, this API generates:
\nFor fore information about supported blockchains and address types, see the API for creating virtual accounts.
\nDeposit addresses are generated in the natural order of the extended public key provided in the virtual account. The derivation index is the representation of that order; it starts from 0 and ends at 2^31.
\nWhen a new deposit address is generated, the last not used index is used to generate the address. You can skip some addresses to a different index, which means all the skipped addresses will no longer be used.
\n","operationId":"generateDepositAddress","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Derivation path index for specific address. If not present, last used index for given xpub of account + 1 is used. We recommend not to pass this value manually, since when some of the indexes are skipped, it is not possible to use them lately to generate address from it.
","in":"query","name":"index","schema":{"type":"number","example":2}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create a deposit address for a virtual account","tags":["Blockchain addresses"]},"get":{"description":"1 credit per API call
\nGet all deposit addresses generated for a virtual account.
\n","operationId":"getAllDepositAddresses","parameters":[{"description":"The ID of the virtual account to get deposit addresses for","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Address"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get all deposit addresses for a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/account/address/batch":{"post":{"description":"2 credits per API call + 1 credit for each created address
\nOn Flow, additional 3000 credits are consumed for each created address.
Create multiple deposit addresses associated with a virtual account.
\nWhen you have multiple deposit addresses created for the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\nVirtual account cryptocurrency
\nDepending on the cryptocurrency of the virtual account, this API generates:
\nFor fore information about supported blockchains and address types, see the API for creating virtual accounts.
\nDeposit addresses are generated in the natural order of the extended public key provided in the virtual account. The derivation index is the representation of that order; it starts from 0 and ends at 2^31.
\nWhen a new deposit address is generated, the last not used index is used to generate the address. You can skip some addresses to a different index, which means all the skipped addresses will no longer be used.
\n","operationId":"generateDepositAddressesBatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OffchainAddresses"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Address"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create multiple deposit addresses for a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/account/address/{address}/{currency}":{"get":{"description":"1 credit per API call
\nCheck whether a blockchain address with the specified cryptocurrency is registered within Tatum and is assigned to a virtual account (that is, whether this blockchain address is a deposit address associated with the virtual account).
\nIf the blockchain address is assigned to a virtual account, information about this account is returned. Otherwise, an error message is returned.
\n","operationId":"addressExists","parameters":[{"description":"The cryptocurrency of the blockchain address to check","in":"path","name":"currency","required":true,"schema":{"type":"string","example":"BNB"}},{"description":"The blockchain address to check","in":"path","name":"address","required":true,"schema":{"example":"tbnb1sfj9981j2eo1ij2e09","type":"string"}},{"description":"Only for BNB Beacon Chain, Stellar, or XRPL2 credits per API call
\nAssign an existing blockchain address to a virtual account. The blockchain address becomes a deposit address associated with this account.Use this API when the virtual account has no default extended public key (xpub
) and deposit addresses are handled manually.
You can assign multiple blockchain addresses to one virtual account. When you have multiple blockchain addresses assigned to the same virtual account, you aggregate various blockchain transactions from different addresses under a single account.
You can deposit funds from another blockchain address to a deposit address associated with the virtual account, and the funds will be credited to that virtual account.
Scanning for incoming deposits
\nBy default, deposit addresses are scanned for incoming deposits. Deposit addresses are automatically synchronized with the associated virtual account, and you can see incoming deposits on the virtual account.
Scanning deposit addresses for incoming deposits consumes 20 credits per address per day.
If you want to be notified about certain events occurring on the deposit addresses, subscribe for notifications.
\n","operationId":"assignAddress","parameters":[{"description":"The ID of the virtual account to assign a blockchain address to","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"The blockchain address to assign to the virtual account","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Destination tag or memo attribute for XRP or XLM addresses","in":"query","name":"index","required":false,"schema":{"type":"number","minimum":1,"example":1}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Assign a blockchain address to a virtual account","tags":["Blockchain addresses"]},"delete":{"description":"1 credit per API call
\nRemove a deposit address from the virtual account.
\nThe deposit address will no longer be scanned for incoming deposits. You will no longer be able to generate this address again.
\n","operationId":"removeAddress","parameters":[{"description":"Account ID","in":"path","name":"id","required":true,"schema":{"type":"string","example":"5e68c66581f2ee32bc354087"}},{"description":"Blockchain address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Destination tag or memo attribute for XRP, BNB or XLM addresses","in":"query","name":"index","required":false,"schema":{"type":"number","minimum":1,"example":1}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AccountNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Remove a deposit address from a virtual account","tags":["Blockchain addresses"]}},"/v3/offchain/withdrawal":{"post":{"description":"Create a withdrawal from Tatum Ledger account to the blockchain.
\n\n When withdrawal from Tatum is executed, all deposits, which are not processed yet are used as an input and\n change is moved to pool address 0 of wallet for defined account's xpub. If there are no unspent deposits, only last pool address 0 UTXO is used.\n If balance of wallet is not sufficient, it is impossible to perform withdrawal from this account -> funds were transferred to another\n linked wallet within system or outside of Tatum visibility.
\n For the first time of withdrawal from wallet, there must be some deposit made and funds are obtained from that. Since\n there is no withdrawal, there was no transfer to pool address 0 and thus it is not present in vIn. Pool transfer is identified by missing data.address property in response.\n When last not cancelled withdrawal is not completed and thus there is no tx id of output transaction given,\n we cannot perform next withdrawal.\n
\n Withdrawal from Tatum can be processed only from 1 account. In Ethereum Blockchain, each address is recognized as an account and only funds from that account can be sent in 1 transaction.\n Example: Account A has 0.5 ETH, Account B has 0.3 ETH. Account A is linked to Tatum Account 1, Account B is linked to Tatum Account 2. Tatum Account 1 has balance 0.7 Ethereum and\n Tatum Account 2 has 0.1 ETH. Withdrawal from Tatum Account 1 can be at most 0.5 ETH, even though balance in Tatum Private Ledger is 0.7 ETH.\n Because of this Ethereum Blockchain limitation, withdrawal request should always contain sourceAddress, from which withdrawal will be made. To get available balances for Ethereum wallet accounts, use hint endpoint.\n
\n\n XRP withdrawal can contain DestinationTag except of address, which is placed in attr parameter of withdrawal request.\nSourceTag of the blockchain transaction should be withdrawal ID for autocomplete purposes of withdrawals.\n
\n\n XLM withdrawal can contain memo except of address, which is placed in attr parameter of withdrawal request. XLM blockchain does not have possibility to enter source account information.\n It is possible to create memo in format 'destination|source', which is supported way of memo in Tatum and also there is information about the sender account in the blockchain.\n
\n\nWhen withdrawal is created, all other withdrawals with the same currency are pending, unless the current one is marked as complete or cancelled.
\nTatum ledger transaction is created for every withdrawal request with operation type WITHDRAWAL. The value of the transaction is the withdrawal amount + blockchain fee, which should be paid.\nIn the situation, when there is withdrawal for ERC20, XLM, or XRP based custom assets, the fee is not included in the transaction because it is paid in different assets than the withdrawal itself.\n
\n","operationId":"storeWithdrawal","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Withdrawal"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403RecipientFormat"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403FeeFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtcOffchain"},{"$ref":"#/components/schemas/Error403TxAmountEthOffchain"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Store withdrawal","tags":["Withdrawal"]},"get":{"description":"Get withdrawals.
","operationId":"GetWithdrawals","parameters":[{"description":"Currency of the withdrawal","in":"query","name":"currency","schema":{"minLength":2,"maxLength":30,"type":"string","example":"BTC"}},{"description":"Status of the withdrawal","in":"query","name":"status","schema":{"type":"string","example":"Done","enum":["InProgress","Done","Cancelled"]}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WithdrawalObject"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get withdrawals","tags":["Withdrawal"]}},"/v3/offchain/withdrawal/{id}/{txId}":{"put":{"description":"Invoke complete withdrawal as soon as blockchain transaction ID is available. All other withdrawals for the same currency will be pending unless the last one is processed and marked as completed.
\n","operationId":"completeWithdrawal","parameters":[{"description":"ID of created withdrawal","in":"path","name":"id","required":true,"schema":{"type":"string","maxLength":50,"minLength":10}},{"description":"Blockchain transaction ID of created withdrawal","in":"path","name":"txId","required":true,"schema":{"type":"string","maxLength":88,"minLength":10}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403OffchainBroadcastState"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Complete withdrawal","tags":["Withdrawal"]}},"/v3/offchain/withdrawal/{id}":{"delete":{"description":"This method is helpful if you need to cancel the withdrawal if the blockchain transaction fails or is not yet processed.\nThis does not cancel already broadcast blockchain transaction, only Tatum internal withdrawal, and the ledger transaction, that was linked to this withdrawal.
\nBy default, the transaction fee is included in the reverted transaction. There are situations, like sending ERC20 on ETH, TRC token on TRON, XLM or XRP based assets, when the fee should not be reverted, because e.g. the fee is in calculated\nin Ethereum and transaction was in ERC20 currency. In this situation, only the transaction amount should be reverted, not the fee.\n
Broadcast signed raw transaction end complete withdrawal associated with it.\nWhen broadcast succeeded but it is impossible to complete withdrawal, transaction id of transaction is returned and withdrawal must be completed manually.\n
\n","operationId":"broadcastBlockchainTransaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastWithdrawal"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403OffchainBroadcast"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403OffchainBroadcastState"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed transaction and complete withdrawal","tags":["Withdrawal"]}},"/v3/offchain/blockchain/estimate":{"post":{"description":"Estimate current transaction fee for ledger to blockchain transaction.
\nSupported blockchains:\n
Send BTC (Bitcoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send BCH (Bitcoin Cash) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send LTC (Litecoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send FLOW (Flow) or FUSD from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send DOGE (Dogecoin) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send ETH (Ethereum) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send MATIC (Polygon) or ERC-20-equivalent Polygon tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send KCS (KuCoin Community Chain (KCC)) or ERC-20-equivalent KCC tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send Ethereum ERC-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
This method is deprecated.
Use this method instead.
First step to create new ERC20 token with given supply on Ethereum blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC20 token name as account's currency.
\nNewly created account is frozen until the specific ERC20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy an Ethereum ERC-20 smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying an Ethereum ERC-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"EthDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an Ethereum ERC-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/bsc/transfer":{"post":{"description":"Send BSC (BNB Smart Chain) or BEP-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new BEP20 token with given supply on BSC blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of BEP20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with BEP20 token name as account's currency.
\nNewly created account is frozen until the specific BEP20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create BEP20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a BNB Smart Chain BEP-20 smart contract. This is a helper method, which is combination of\nRegister new BEP20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a BNB Smart Chain BEP-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscDeployBep20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a BNB Smart Chain BEP-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/klaytn/transfer":{"post":{"description":"Send KLAY or ERC-20-equivalent tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
4 credits per API call
\nDeploy a Klaytn ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Klaytn ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlayDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Klaytn ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/xdc/transfer":{"post":{"description":"Send XDC (XinFin) or ERC-20-equivalent XinFin tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new ERC20 token with given supply on XDC blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC20 token name as account's currency.
\nNewly created account is frozen until the specific ERC20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a XinFin ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a XinFin ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"XdcDeployErc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a XinFin ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/one/transfer":{"post":{"description":"Send ONE (Harmony) or HRM-20 tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new HRM20 token with given supply on ONE blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of HRM20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with HRM20 token name as account's currency.
\nNewly created account is frozen until the specific HRM20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create HRM20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a Harmony HRM-20 smart contract. This is a helper method, which is combination of\nRegister new HRM20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Harmony HRM-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OneDeployHrm20","parameters":[{"description":"The ID of the shard to operate","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Harmony HRM-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/token/{chain}":{"post":{"parameters":[{"description":"Blockchain to work with","in":"path","name":"chain","required":true,"schema":{"example":"ETH","type":"string","enum":["ETH","CELO","MATIC","KCS","BSC","ONE","XDC","KLAY","SOL"]}}],"description":"This is the first step to create a new ERC-20 or ERC-20 equivalent token with some supply in a virtual account.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with token name as account's currency.
\nNewly created account is frozen until the specific smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create smart contract with Tatum private ledger support:\n
2 credits per API call
\nSet the contract address of an ERC-20, ERC-20-equivalent (for example, BEP-20, HRM-20, and so on), or TRC-10 token to be able to communicate with the smart contract.
\nAfter creating and deploying the token to the blockchain, the smart contract address is generated and must be set within Tatum. If the address is not set, the Tatum platform will not be able to detect incoming deposits of the tokens and transfer the tokens from virtual accounts to blockchain addresses.
\nNOTE:
\nassetId
), for example, 55351976
.tokenId
), for example, 1234567
.Send CELO (Celo), ERC-20-equivalent Celo tokens, cUSD, or cEUR from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
This method is deprecated.
Use this method instead.
First step to create new ERC-20 token with given supply on Celo blockchain with support of Tatum's private ledger.
\n
\n
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of ERC-20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with ERC-20 token name as account's currency.
\nNewly created account is frozen until the specific ERC-20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create ERC-20 smart contract with Tatum private ledger support:\n
4 credits per API call
\nDeploy a Celo ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Celo ERC-20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a Celo ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployCeloErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployCeloErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Celo ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/kcs/erc20/deploy":{"post":{"description":"4 credits per API call
\nDeploy a KuCoin Community Chain (KCC) ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Kcs ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a KCC ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KcsDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainMnemXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainPKXpub"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSAddress"},{"$ref":"#/components/schemas/DeployErc20OffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a KuCoin Community Chain (KCC) ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/celo/erc20/{name}/{address}":{"post":{"deprecated":true,"description":"This method is deprecated.
Use this method instead.
10 credits per API call
\nSend SOL (Solana), USDC_SOL, or custom SPL tokens from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.
\nIt is possible to perform ledger to blockchain transaction for ledger accounts without blockchain address assigned to them.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and losing funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n","operationId":"SolTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferSol"},{"$ref":"#/components/schemas/TransferSolKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send SOL from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/offchain/xlm/transfer":{"post":{"description":"10 credits per API call
\nSend XLM (Stellar) or XLM-based assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.
\nIt is possible to perform ledger to blockchain transaction for ledger accounts without blockchain address assigned to them.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and losing funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n","operationId":"XlmTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferXlm"},{"$ref":"#/components/schemas/TransferXlmKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK","headers":{"Access-Control-Allow-Origin":{"schema":{"type":"string"}}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XlmFailed"},{"$ref":"#/components/schemas/Error403XlmTxFailed"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send XLM from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/offchain/xlm/asset":{"post":{"description":"Create an XLM-based asset in a virtual account. The asset must be created and configured on the Stellar blockchain before creating a trust line.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"XlmAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateXlmAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create an XLM-based asset","tags":["Blockchain operations"]}},"/v3/offchain/xrp/transfer":{"post":{"description":"\n
Send XRP from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
Create an XRP-based asset in a virtual account. The asset must be created and configured on the XRPL blockchain before creating a trust line.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"XrpAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateXrpAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create XRP based Asset","tags":["Blockchain operations"]}},"/v3/offchain/bnb/transfer":{"post":{"description":"\n
Send BNB (BNB Beacon Chain) or BNB assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. When every system works as expected,\nwithdrawal request is marked as complete and transaction id is assigned to it.\n
\n
Create a BNB-based asset in a virtual account. The asset must first be created and configured on BNB Beacon Chain blockhain.
\nThis API call will create an internal virtual currency. You can create virtual accounts with off-chain support.
\n","operationId":"BnbAssetOffchain","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBnbAsset"}}},"required":true},"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VCCreateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Create a BNB-based asset","tags":["Blockchain operations"]}},"/v3/offchain/ada/transfer":{"post":{"description":"Send ADA (Cardano) from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
Send TRON or TRX assets from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
First step to create new TRC 10/20 token with given supply on the Tron blockchain with support of Tatum's private ledger.
\nThis method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
\nThe whole supply of TRC 10/20 token is stored in the customer's newly created account. Then it is possible to create new Tatum accounts with TRC 10/20 token name as account's currency.
\nNewly created account is frozen until the specific TRC 10/20 smart contract address is linked with the Tatum virtual currency, representing the token.
\nOrder of the steps to create TRC 10/20 smart contract with Tatum private ledger support:\n
10 credits per API call
\nDeploy a TRON TRC-10 or TRC-20 smart contract. This is a helper method, which is combination of\nRegister new TRC-10/20 token in the ledger and Deploy blockchain TRC20 or Deploy blockchain TRC10.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying a TRON TRC-10 or TRC-20 smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronDeployTrc","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployTrcOffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainMnemXpub"},{"$ref":"#/components/schemas/DeployTrcOffchainPKAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainPKXpub"},{"$ref":"#/components/schemas/DeployTrcOffchainKMSAddress"},{"$ref":"#/components/schemas/DeployTrcOffchainKMSXpub"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployErc20Response"},{"$ref":"#/components/schemas/DeployErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a TRON TRC-10 or TRC-20 smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/tron/trc/{name}/{address}":{"post":{"deprecated":true,"description":"This method is deprecated.
Use this method instead.
Send EGLD from a virtual account to the blockchain. This will create Tatum internal withdrawal request with ID. If every system works as expected, withdrawal request is marked as complete and transaction id is assigned to it.\n
\n
\n
4 credits per API call
\nDeploy an Algorand ERC-20-equivalent smart contract. This is a helper method, which is combination of\nRegister new Algorand ERC20 token in the ledger and Deploy blockchain ERC20.
\nAfter deploying a contract to blockchain, the contract address will become available and must be stored within Tatum. Otherwise, it will not be possible to interact with it and starts automatic blockchain synchronization.
\nSigning a transaction
\nWhen deploying an Algorand ERC-20-equivalent smart contract to the blockchain and a virtual account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgoDeployErc20Ledger","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployAlgoErc20OffchainMnemonicAddress"},{"$ref":"#/components/schemas/DeployAlgoErc20OffchainPKAddress"},{"$ref":"#/components/schemas/DeployAlgoErc20OffchainKMSAddress"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployAlgoErc20Response"},{"$ref":"#/components/schemas/DeployAlgoErc20SignatureResponse"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Erc20Prefix"},{"$ref":"#/components/schemas/Error403Erc20XpubBoth"},{"$ref":"#/components/schemas/Error403Erc20XpubMissing"},{"$ref":"#/components/schemas/Error403Erc20NameDuplicate"},{"$ref":"#/components/schemas/Error403CustomerNotActive"},{"$ref":"#/components/schemas/Error403VCCreateFailed"},{"$ref":"#/components/schemas/Error403AccountNotExists"},{"$ref":"#/components/schemas/Error403AddressAccountXpubMissing"},{"$ref":"#/components/schemas/Error403AddressAccountXpubUsed"},{"$ref":"#/components/schemas/Error403AddressIndexUsed"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403AddressUsed"},{"$ref":"#/components/schemas/Error403AddressXpub"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an Algorand ERC-20-equivalent smart contract to the blockchain and a virtual account","tags":["Blockchain operations"]}},"/v3/offchain/algorand/transfer":{"post":{"description":"4 credits per API call
\nSend Algos or ERC-20-equivalent Algorand tokens from a virtual account (even from a virtual account without deposit addresses adssigned) to the Algorand blockchain.
\nThe recipient has to agree in advance to receive assets because Algorand charges users for storing assets on their addresses, and an Algorand blockchain address by default does not receive assets unless explicitly agreed. Before sending any asset from a virtual account to the blockchain, make sure that the recipient has agreed to receive the assets to their address.
\nSending Algorand assets creates an internal Tatum withdrawal request with an ID. If everything works as expected, the withdrawal request is marked as complete and a transaction ID is assigned to it.
\nSigning a transaction
\nWhen sending Algos or ERC-20-equivalent Algorand tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgoTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferAlgo"},{"$ref":"#/components/schemas/TransferAlgoErc20"},{"$ref":"#/components/schemas/TransferAlgoKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/OffchainTransactionResult"},{"$ref":"#/components/schemas/OffchainTransactionSignatureResult"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403WithdrawalNotFound"},{"$ref":"#/components/schemas/Error403RateNotFound"},{"$ref":"#/components/schemas/Error403VCNotFound"},{"$ref":"#/components/schemas/Error403RecipientFormat"},{"$ref":"#/components/schemas/Error403WithdrawalFailed"},{"$ref":"#/components/schemas/Error403WithdrawalVC"},{"$ref":"#/components/schemas/Error403OffchainNotSupported"},{"$ref":"#/components/schemas/Error403AmountFormat"},{"$ref":"#/components/schemas/Error403FeeFormat"},{"$ref":"#/components/schemas/Error403OffchainNotCancelled"},{"$ref":"#/components/schemas/Error403OffchainCancelled"},{"$ref":"#/components/schemas/Error403TxSenderNotFound"},{"$ref":"#/components/schemas/Error403TxSenderCustomerDisabled"},{"$ref":"#/components/schemas/Error403TxBalance"},{"$ref":"#/components/schemas/Error403TxAmountBtc"},{"$ref":"#/components/schemas/Error403TxAmountEth"},{"$ref":"#/components/schemas/Error403TxSenderFrozen"},{"$ref":"#/components/schemas/Error403WithdrawalPending"},{"$ref":"#/components/schemas/Error403EthMnemonicPrivateKey"},{"$ref":"#/components/schemas/Error403EthErc20Unsupported"},{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthTxBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ALGO from a virtual account to the blockchain","tags":["Blockchain operations"]}},"/v3/bcash/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin Cash wallet with derivation path m'/44'/145'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Bitcoin Cash wallet.
\n","operationId":"BchGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash wallet","tags":["Bitcoin Cash"]}},"/v3/bcash/node":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.\nTo learn more about JSON RPC, visit Bitcoin Cash developers' guide.
\n","deprecated":true,"operationId":"BchRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Bitcoin Cash"]}},"/v3/bcash/info":{"get":{"description":"Get Bitcoin Cash Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
","operationId":"BchGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Blockchain Information","tags":["Bitcoin Cash"]}},"/v3/bcash/block/hash/{i}":{"get":{"description":"Get Bitcoin Cash Block hash. Returns hash of the block to get the block detail.
","operationId":"BchGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a block chain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1580117}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"0000000053f225e202cf27fe3046e06719efd3b31b5ab75fc5ef7f853c8b246f"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Block hash","tags":["Bitcoin Cash"]}},"/v3/bcash/block/{hash}":{"get":{"description":"Get Bitcoin Cash Block detail by block hash or height.
","operationId":"BchGetBlock","parameters":[{"description":"Block hash or height","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000000000cfb22714715f09b3721f89819a325f7f4d39b2c22a061d1be8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Block by hash","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction/{hash}":{"get":{"description":"Get Bitcoin Cash Transaction by transaction hash.
","operationId":"BchGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BchTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Transaction by hash","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction/address/{address}":{"get":{"description":"Get Bitcoin Cash Transaction by address. Limit is 50 transaction per response.
","operationId":"BchGetTxByAddress","deprecated":true,"parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"2MsM67NLa71fHvTUBqNENW15P68nHB2vVXb"}},{"description":"Define, how much transactions should be skipped to obtain another page.","in":"query","name":"skip","required":false,"schema":{"type":"integer","example":2}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BchTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Bitcoin Cash Transactions by address","tags":["Bitcoin Cash"]}},"/v3/bcash/address/{xpub}/{index}":{"get":{"description":"Generate Bitcoin Cash deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1. Generates new format of address starting with bitcoincash: in case of mainnet, bchtest: in case of testnet..
\n","operationId":"BchGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Bitcoin Cash address","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzezc"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash deposit address from Extended public key","tags":["Bitcoin Cash"]}},"/v3/bcash/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BchGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Bitcoin Cash private key","tags":["Bitcoin Cash"]}},"/v3/bcash/transaction":{"post":{"description":"10 credits per API call
\nSend BCH to blockchain addresses.
\nBitcoin Cash transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of BCH that remains at a Bitcoin Cash address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation.
\nYou build a BCH transaction by sending BCH from UTXOs. Each UTXO is included in the transaction.
\nWhen an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 BCH and T2 with 2 BCH. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 BCH to spend:1 BCH (from T1) + 2 BCH (from T2) = 3 BCH (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending BCH, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BchTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BchTransaction"},{"$ref":"#/components/schemas/BchTransactionKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BCH to Bitcoin Cash addresses","tags":["Bitcoin Cash"]}},"/v3/bcash/broadcast":{"post":{"description":"Broadcast signed transaction to Bitcoin Cash blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BchBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Bitcoin Cash transaction","tags":["Bitcoin Cash"]}},"/v3/litecoin/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Litecoin wallet with derivation path m'/44'/2'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Litecoin wallet.
\n2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.
\n","operationId":"LtcRpcDriver","deprecated":true,"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Litecoin"]}},"/v3/litecoin/info":{"get":{"description":"Get Litecoin Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
\nGet Litecoin Block hash. Returns hash of the block to get the block detail.
Get Litecoin Block detail by block hash or height.
\nGet Litecoin Transaction detail by transaction hash.
\nGet Litecoin Transaction ids in the mempool.
\nGet Litecoin Transaction by address.
\nGet Litecoin Balance of the address.
\n50 credits per API call
\nGet the balance of multiple Litecoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
5 credits per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of LTC that remains at a Litecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation.
\n404
response code.Generate Litecoin deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\nGenerate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n10 credits per API call
\nSend LTC to blockchain addresses.
\nLitecoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of LTC that remains at a Litecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Litecoin transaction.
\nYou can build a LTC transaction by one of the following methods:
\nLtcTransactionAddress
or LtcTransactionAddressKMS
schema of the request body.LtcTransactionFromUTXO
or LtcTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 LTC and T2 with 2 LTC. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 LTC to spend:1 LTC (from T1) + 2 LTC (from T2) = 3 LTC (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending LTC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nBroadcast signed transaction to Litecoin blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Dogecoin wallet with derivation path m'/44'/3'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Dogecoin wallet.
\n","operationId":"DogeGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin wallet","tags":["Dogecoin"]}},"/v3/dogecoin/address/{xpub}/{index}":{"get":{"description":"Generate Dogecoin deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"DogeGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Dogecoin address","example":"n36h3pAH7sC3z8KMB47BjbqvW2aJd2oTi7"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin deposit address from Extended public key","tags":["Dogecoin"]}},"/v3/dogecoin/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"DogeGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Dogecoin private key","tags":["Dogecoin"]}},"/v3/dogecoin/node":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum.
\n","deprecated":true,"operationId":"DogeRpcDriver","requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","properties":{"jsonrpc":{"type":"string","description":"Version of the JSON RPC.","example":"1.0"},"id":{"type":"string","description":"ID of the request, could be any arbitrary identifier.","example":"test"},"method":{"type":"string","description":"Method to invoke on the node.","example":"getblockcount"},"params":{"type":"array","description":"Params to the method call, if required.","example":[]}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid RPC response.","example":{"jsonrpc":"1.0","id":"test","result":654321}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Dogecoin"]}},"/v3/dogecoin/info":{"get":{"description":"Get Dogecoin Blockchain Information. Obtain basic info like testnet / mainnet version of the chain, current block number and it's hash.
","operationId":"DogeGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Blockchain Information","tags":["Dogecoin"]}},"/v3/dogecoin/block/hash/{i}":{"get":{"description":"Get Dogecoin Block hash. Returns hash of the block to get the block detail.
","operationId":"DogeGetBlockHash","parameters":[{"description":"The number of blocks preceding a particular block on a block chain.","in":"path","name":"i","required":true,"schema":{"type":"number","example":1234314}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Block hash","tags":["Dogecoin"]}},"/v3/dogecoin/block/{hash}":{"get":{"description":"Get Dogecoin Block detail by block hash or height.
","operationId":"DogeGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1234314"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Block by hash or height","tags":["Dogecoin"]}},"/v3/dogecoin/transaction/{hash}":{"get":{"description":"Get Dogecoin Transaction detail by transaction hash.
","operationId":"DogeGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"d60631d8e5c8b6eb0557b5181cf28564d771c628a08abc414e87ad7c05ff2fc2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DogeTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Dogecoin Transaction by hash","tags":["Dogecoin"]}},"/v3/dogecoin/transaction/address/{address}":{"get":{"description":"Get Dogecoin Transaction by address.
\nGet Dogecoin Balance of the address.
\n50 credits per API call
\nGet the balance of multiple Dogecoin addresses, up to 30.
\nThe API returns the balance only if the address has up to 50,000 UTXOs (Unspent Transaction Outputs). For an address with more than 50,000 UTXOs, the API returns an error with the 403
response code.
Get Dogecoin Transaction ids in the mempool.
","operationId":"DogeGetMempool","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string","description":"TX ID of the transaction in mempool","example":"4c7846a8ff8415945e96937dea27bdb3144c15d793648d725602784826052586"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Mempool Transactions","tags":["Dogecoin"]}},"/v3/dogecoin/utxo/{hash}/{index}":{"get":{"description":"1 credit per API call
\nGet information about a transaction output in a transaction and check whether this output is a UTXO or has been spent.
\n\"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of DOGE that remains at a Dogecoin address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation.
\n404
response code.2 credits per API call
\nSend DOGE to blockchain addresses.
\nDogecoin transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of DOGE that remains at a Bitcoin Cash address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information the UTXO, see the Bitcoin user documentation. To check UTXOs in a transaction, see the API for getting information about a transaction output (UTXO) in a Dogecoin transaction
\nYou build a DOGE transaction by sending DOGE from UTXOs. Each UTXO is included in the transaction.
\nWhen an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 DOGE and T2 with 2 DOGE. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 DOGE to spend:1 DOGE (from T1) + 2 DOGE (from T2) = 3 DOGE (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending DOGE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"DogeTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DogeTransactionAddress"},{"$ref":"#/components/schemas/DogeTransactionAddressKMS"},{"$ref":"#/components/schemas/DogeTransactionUTXO"},{"$ref":"#/components/schemas/DogeTransactionUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403Broadcast"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send DOGE to Dogecoin addresses","tags":["Dogecoin"]}},"/v3/dogecoin/broadcast":{"post":{"description":"Broadcast signed transaction to Dogecoin blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"DogeBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Dogecoin transaction","tags":["Dogecoin"]}},"/v3/flow/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Dogecoin wallet with derivation path m'/44'/3'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/litecoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Dogecoin wallet.
\n","operationId":"FlowGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow wallet","tags":["Flow"]}},"/v3/flow/address/{xpub}/{index}":{"get":{"description":"Generate Flow address from Extended public key. This operation internally creates public key and assigns it to the newly created address on the blockchain.\nThere is minimal amount, which must be sent to the FLOW address during creation - 0.001 FLOW, which will be used from Tatum service account.
\nThis operation is allowed on any Testnet plan and only on Paid Mainnet plans.\nPublic key is generated for the specific index - each extended public key can generate up to 2^31 addresses starting from index 0 until 2^31 - 1.
Generate Flow public key from Extended public key. This key is added to the address on the blockchain and can control the funds there. Public key is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"FlowGeneratePubKey","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"pubKey":{"type":"string","description":"Flow public key","example":"968c3ce11e871cb2b7161b282655ee5fcb051f3c04894705d771bf11c6fbebfc6556ab8a0c04f45ea56281312336d0668529077c9d66891a6cad3db877acbe90"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow public key from Extended public key","tags":["Flow"]}},"/v3/flow/wallet/priv":{"post":{"description":"Generate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"FlowGeneratePubKeyPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flow private key","tags":["Flow"]}},"/v3/flow/block/current":{"get":{"description":"Get Flow current block number.
","operationId":"FlowGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":12345678}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow current block number","tags":["Flow"]}},"/v3/flow/block/{hash}":{"get":{"description":"Get Flow Block detail by block hash or height.
","operationId":"FlowGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1234314"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow Block by hash or height","tags":["Flow"]}},"/v3/flow/block/events":{"get":{"description":"Get Flow events from block.
","operationId":"FlowGetBlockEvents","parameters":[{"description":"Event type to search for","in":"query","name":"type","required":true,"schema":{"type":"string","example":"A.7e60df042a9c0868.FlowToken.TokensWithdrawn"}},{"description":"Block height to start searching","in":"query","name":"from","required":true,"schema":{"type":"number","example":654321}},{"description":"Block height to end searching","in":"query","name":"to","required":true,"schema":{"type":"number","example":654326}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FlowEvent"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow events from blocks","tags":["Flow"]}},"/v3/flow/transaction/{hash}":{"get":{"description":"Get Flow Transaction detail by transaction hash.
","operationId":"FlowGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"d60631d8e5c8b6eb0557b5181cf28564d771c628a08abc414e87ad7c05ff2fc2"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flow Transaction by hash","tags":["Flow"]}},"/v3/flow/account/{address}":{"get":{"description":"Get Flow account details.
","operationId":"FlowGetAccount","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x955cd3f17b2fd8ad"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the balance of a Flow account","tags":["Flow"]}},"/v3/flow/transaction":{"post":{"description":"Send Flow or FUSD to blockchain addresses. Tatum covers the fee connected to the transaction costs in subscription credits. This operation can be done on mainnet only for paid plans.
\nThere are two possibilites how the transaction on the blockchain can be created:\n
Send arbitrary blockchain transaction to FLOW blockchain. Tatum covers the fee connected to the transaction costs in subscription credits. This operation can be done on mainnet only for paid plans.
\nThere are two possibilites how the transaction on the blockchain can be created:\n
Create Flow blockchain addresses from public key. This will generate address on the blockchain with public key. Private key for that public key can be used for signing transaction.\nThere are two possibilites how the transaction on the blockchain can be created:\n
Add public key to existing Flow blockchain addresses. Private key for that public key can be used for signing transaction.\nThere are two possibilites how the transaction on the blockchain can be created:\n
Generate XRP account. Tatum does not support HD wallet for XRP, only specific address and private key can be generated.
\n","operationId":"XrpWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpWallet"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XRP account","tags":["XRP"]}},"/v3/xrp/info":{"get":{"description":"Get XRP Blockchain last closed ledger index and hash.
","operationId":"XrpGetLastClosedLedger","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XRP Blockchain Information","tags":["XRP"]}},"/v3/xrp/fee":{"get":{"description":"Get XRP Blockchain fee. Standard fee for the transaction is available in the drops.base_fee section and is 10 XRP drops by default.\nWhen there is a heavy traffic on the blockchain, fees are increasing according to current traffic.
\n","operationId":"XrpGetFee","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpFee"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get actual Blockchain fee","tags":["XRP"]}},"/v3/xrp/account/tx/{account}":{"get":{"description":"List all Account transactions.
","operationId":"XrpGetAccountTx","parameters":[{"description":"Address of XRP account.","in":"path","name":"account","required":true,"schema":{"type":"string"}},{"description":"Ledger version to start scanning for transactions from.","in":"query","name":"min","required":false,"schema":{"type":"number"}},{"description":"Marker from the last paginated request. It is stringified JSON from previous response.","in":"query","name":"marker","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccountTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account transactions","tags":["XRP"]}},"/v3/xrp/ledger/{i}":{"get":{"description":"Get ledger by sequence.
","operationId":"XrpGetLedger","parameters":[{"description":"Sequence of XRP ledger.","in":"path","name":"i","required":true,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpLedger"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpLedger"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Ledger","tags":["XRP"]}},"/v3/xrp/transaction/{hash}":{"get":{"description":"Get XRP Transaction by transaction hash.
","operationId":"XrpGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"example":"1A32A054B04AC9D6814710DDCA416E72C4CD2D78D6C3DFC06CC9369CC4F6B250","type":"string","minLength":64,"maxLength":64}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XRP Transaction by hash","tags":["XRP"]}},"/v3/xrp/account/{account}":{"get":{"description":"Get XRP Account info.
","operationId":"XrpGetAccountInfo","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"rDA3DJBUBjA1X3PtLLFAEXxX31oA5nL3QF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account info","tags":["XRP"]}},"/v3/xrp/account/{account}/balance":{"get":{"description":"Get XRP Account Balance. Obtain balance of the XRP and other assets on the account.
","operationId":"XrpGetAccountBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"rDA3DJBUBjA1X3PtLLFAEXxX31oA5nL3QF","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XrpAccountBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XrpFailed"},{"$ref":"#/components/schemas/Error403XrpCode"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Account Balance","tags":["XRP"]}},"/v3/xrp/transaction":{"post":{"description":"Send XRP from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n
Create / Update / Delete XRP trust line between accounts to transfer private assets.\nBy creating trustline for the first time, the asset is created automatically and can be used in the transactions.
\nAccount setting rippling must be enabled on the issuer account before the trust line creation to asset work correctly.\nCreating a trust line will cause an additional 5 XRP to be blocked on the account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.
\n
Modify XRP account settings. If an XRP account should be an issuer of the custom asset, this accounts should have rippling enabled to true.\nIn order to support off-chain processing, required destination tag should be set on the account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to XRP blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XrpBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XrpBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XRP transaction","tags":["XRP"]}},"/v3/xlm/account":{"get":{"description":"Generate XLM account. Tatum does not support HD wallet for XLM, only specific address and private key can be generated.
\n","operationId":"XlmWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmWallet"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XLM account","tags":["Stellar"]}},"/v3/xlm/info":{"get":{"description":"Get XLM Blockchain last closed ledger.
","operationId":"XlmGetLastClosedLedger","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmLedger"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Information","tags":["Stellar"]}},"/v3/xlm/ledger/{sequence}":{"get":{"description":"Get XLM Blockchain ledger for ledger sequence.
","operationId":"XlmGetLedger","parameters":[{"description":"Sequence of the ledger.","in":"path","name":"sequence","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmLedger"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Ledger by sequence","tags":["Stellar"]}},"/v3/xlm/ledger/{sequence}/transaction":{"get":{"description":"Get XLM Blockchain transactions in the ledger.
","operationId":"XlmGetLedgerTx","parameters":[{"description":"Sequence of the ledger.","in":"path","name":"sequence","required":true,"schema":{"type":"string","example":"1"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/XlmTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Blockchain Transactions in Ledger","tags":["Stellar"]}},"/v3/xlm/fee":{"get":{"description":"Get XLM Blockchain fee in 1/10000000 of XLM (stroop)
","operationId":"XlmGetFee","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current fee in 1/10000000 of XLM (stroop)","example":100}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get actual XLM fee","tags":["Stellar"]}},"/v3/xlm/account/tx/{account}":{"get":{"description":"List all XLM account transactions.
","operationId":"XlmGetAccountTx","parameters":[{"description":"Address of XLM account.","in":"path","name":"account","required":true,"schema":{"type":"string","example":"GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H"}},{"description":"Paging token from the last transaction gives you next page","in":"query","name":"pagination","required":false,"schema":{"type":"string","example":"1348087155011584"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/XlmTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Account transactions","tags":["Stellar"]}},"/v3/xlm/transaction/{hash}":{"get":{"description":"Get XLM Transaction by transaction hash.
","operationId":"XlmGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"example":"749e4f8933221b9942ef38a02856803f379789ec8d971f1f60535db70135673e","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Transaction by hash","tags":["Stellar"]}},"/v3/xlm/account/{account}":{"get":{"description":"Get XLM Account detail.
","operationId":"XlmGetAccountInfo","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"account","required":true,"schema":{"example":"GBRPYHIL2CI3FNQ4BXLFMNDLFJUNPU2HY3ZMFSHONUCEOASW7QC7OX2H","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XlmAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XLM Account info","tags":["Stellar"]}},"/v3/xlm/transaction":{"post":{"description":"Send XLM from account to account. It is possbile to send native XLM asset, or any other custom asset present on the network.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
\n
Create / Update / Delete XLM trust line between accounts to transfer private assets.\nBy creating trustline for the first time, the asset is created automatically and can be used in the transactions.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to XLM blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XlmBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XlmFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XLM transaction","tags":["Stellar"]}},"/v3/bnb/account":{"get":{"description":"Generate BNB account. Tatum does not support HD wallet for BNB, only specific address and private key can be generated.
\n","operationId":"BnbGenerateWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Binance wallet","tags":["BNB Beacon Chain"]}},"/v3/bnb/block/current":{"get":{"description":"Get Binance current block number.
","operationId":"BnbGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance current block","tags":["BNB Beacon Chain"]}},"/v3/bnb/block/{height}":{"get":{"description":"Get Transactions in block by block height.
","operationId":"BnbGetBlock","parameters":[{"description":"Block height","in":"path","name":"height","required":true,"schema":{"type":"number","example":6470657}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transactions in Block","tags":["BNB Beacon Chain"]}},"/v3/bnb/account/{address}":{"get":{"description":"Get Binance Account Detail by address.
","operationId":"BnbGetAccount","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"tbnb185tqzq3j6y7yep85lncaz9qeectjxqe5054cgn"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Account","tags":["BNB Beacon Chain"]}},"/v3/bnb/transaction/{hash}":{"get":{"description":"Get Binance Transaction by transaction hash.
","operationId":"BnbGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"4B944BBF78F3ADE3A377551B5EA7AD0FEDBDA13165D932F94B106EF7A8E16C1A"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transaction","tags":["BNB Beacon Chain"]}},"/v3/bnb/account/transaction/{address}":{"get":{"description":"Get Binance Transactions by address.
","operationId":"BnbGetTxByAccount","parameters":[{"description":"Account address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"tbnb185tqzq3j6y7yep85lncaz9qeectjxqe5054cgn"}},{"description":"Start time in milliseconds","in":"query","name":"startTime","required":true,"schema":{"type":"number","minimum":0,"example":1651831727871}},{"description":"End time in milliseconds","in":"query","name":"endTime","required":true,"schema":{"type":"number","minimum":0,"example":1651831727871}},{"description":"Items per page.","in":"query","name":"limit","schema":{"type":"number","example":10,"maximum":50,"minimum":1}},{"description":"Pagination offset","in":"query","name":"offset","schema":{"type":"number","example":10,"minimum":0}},{"description":"Asset name","in":"query","name":"asset","schema":{"type":"string","example":"BNB"}},{"description":"Address type","in":"query","name":"addressType","schema":{"type":"string","example":"FROM","enum":["FROM","TO"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BnbTxInAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BnbFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Binance Transactions By Address","tags":["BNB Beacon Chain"]}},"/v3/bnb/transaction":{"post":{"description":"Send Binance or Binance Token token from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey.\nPrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\n Tatum KMS should be used for the highest security standards, and signatureId should be present in the request.\n Alternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to Binance blockchain. This method is used internally or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BnbBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Broadcast"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BnbFailed"},{"$ref":"#/components/schemas/Error403BnbBroadcatSigFailed"},{"$ref":"#/components/schemas/Error403BnbTxStateFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed BNB transaction","tags":["BNB Beacon Chain"]}},"/v3/vet/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for VeChain wallet with derivation path m'/44'/818'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible VeChain wallet.
\n","operationId":"VetGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain wallet","tags":["VeChain"]}},"/v3/vet/address/{xpub}/{index}":{"get":{"description":"Generate VeChain account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"VetGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"VeChain addres","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain account address from Extended public key","tags":["VeChain"]}},"/v3/vet/wallet/priv":{"post":{"description":"Generate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"VetGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate VeChain private key","tags":["VeChain"]}},"/v3/vet/block/current":{"get":{"description":"Get VeChain current block number.
","operationId":"VetGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain current block","tags":["VeChain"]}},"/v3/vet/block/{hash}":{"get":{"description":"Get VeChain Block by block hash or block number.
","operationId":"VetGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"325324"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Block by hash","tags":["VeChain"]}},"/v3/vet/account/balance/{address}":{"get":{"description":"Get VeChain Account balance in VET.
","operationId":"VetGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x5034aa590125b64023a0262112b98d72e3c8e40e"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in VET","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Account balance","tags":["VeChain"]}},"/v3/vet/account/energy/{address}":{"get":{"description":"Get VeChain Account energy in VTHO. VTHO is used for paying for the transaction fee.
","operationId":"VetGetEnergy","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x5034aa590125b64023a0262112b98d72e3c8e40e"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"energy":{"type":"string","description":"Balance in VTHO","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Account energy (VTHO)","tags":["VeChain"]}},"/v3/vet/transaction/{hash}":{"get":{"description":"Get VeChain Transaction by transaction hash.
","operationId":"VetGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x24f691abab680972437028af22bc7a43c3fbe8d6d7eefc420dea2daf554758a7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Transaction","tags":["VeChain"]}},"/v3/vet/transaction/{hash}/receipt":{"get":{"description":"Get VeChain Transaction Receipt by transaction hash. Transaction receipt is available only after transaction is\nincluded in the block and contains information about paid fee or created contract address and much more.
\n","operationId":"VetGetTransactionReceipt","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x24f691abab680972437028af22bc7a43c3fbe8d6d7eefc420dea2daf554758a7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VetTxReceipt"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get VeChain Transaction Receipt","tags":["VeChain"]}},"/v3/vet/transaction":{"post":{"description":"Send VET from account to account. Fee for the transaction is paid in VTHO.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to VeChain blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"VetBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403VetFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed VeChain transaction","tags":["VeChain"]}},"/v3/ada/info":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets Ada blockchain information. Obtains basic info like the testnet / mainnet version of the chain, the current block number and its hash.
","operationId":"AdaGetBlockChainInfo","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaInfo"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Blockchain information","tags":["Cardano"]}},"/v3/ada/wallet":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for ADA wallet with derivation path m/1852'/1815'/0'. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Ada wallet.
\n","operationId":"AdaGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada wallet","tags":["Cardano"]}},"/v3/ada/address/{xpub}/{index}":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Generates a Ada deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"AdaGenerateAddress","parameters":[{"description":"Extended public key of a wallet.","in":"path","name":"xpub","required":true,"example":"30e96a57be6235c686da968c1860f69d1871a692b29626b7ebb923aff8c6731cb9fef3a26b7eba8a07653483d06427d0c07966c5f81c69a7925d714530bedb1ef9e9103547b54ad0954b3569785ca70e1fd08313f92a3a9d31efa216b2b9adac4678455e66c97b53cd589f9da70a14265cf15cd4c1e0ce914407008f4a65f316","schema":{"type":"string"}},{"description":"Derivation index of the desired address to be generated.","in":"path","name":"index","required":true,"example":0,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Ada address","example":"addr1qyyxyhaa2e7kxeqcc72w7f747zqlgwwwstlzsg9umuxc40wnhawldxl4nan95rhtlcnju9q2r8j9qz8vslwsmrkj5r4spxhep9"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountIncompatibleXpubBtc"},{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada deposit address from Extended public key","tags":["Cardano"]}},"/v3/ada/wallet/priv":{"post":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Generates a private key for an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"AdaGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Ada private key","tags":["Cardano"]}},"/v3/ada/block/{hash}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets Ada block detail by block hash or height.
","operationId":"AdaGetBlock","parameters":[{"description":"Block hash or height.","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"00000000ca231a439a5c0a86a5a5dd6dc1918a8e897b96522fa9499288e70183"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Block not found.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error404BlockNotExists"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Block by hash or height","tags":["Cardano"]}},"/v3/ada/transaction/{hash}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Get Ada Transaction detail by transaction hash.
","operationId":"AdaGetRawTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"1451692ebbfbea1a2d2ec6fe6782596b6aa2e46c0589d04c406f491b5b46bc6a"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdaTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transaction by hash","tags":["Cardano"]}},"/v3/ada/transaction/address/{address}":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada transaction by address.
","operationId":"AdaGetTxByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain the next page of data.","in":"query","name":"offset","schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaTx"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get transactions by address","tags":["Cardano"]}},"/v3/ada/{address}/utxos":{"get":{"description":"You can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada UTXOs by address.
","operationId":"AdaGetUTXOByAddress","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaUTXO"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BtcBlockchain"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get UTXOs by address","tags":["Cardano"]}},"/v3/ada/transaction":{"post":{"description":"2 credits per API call
\nSend ADA to blockchain addresses.
\nCardano transactions are based on UTXOs. \"UTXO\" stands for \"Unspent Transaction Output\". A UTXO is the amount of ADA that remains at a Cardano address after a cryptocurrency transaction involving this address has been performed. The UTXO can then be used as input for a new cryptocurrency transaction. For more information about the UTXO, see the Bitcoin user documentation.
\nYou can build an ADA transaction by one of the following methods:
\nAdaTransactionFromAddress
or AdaTransactionFromAddressKMS
schema of the request body.AdaTransactionFromUTXO
or AdaTransactionFromUTXOKMS
schema of the request body.When an UTXO is entered into a transaction, the whole UTXO amount is included and must be spent. For example, address A receives two transactions, T1 with 1 ADA and T2 with 2 ADA. A transaction that consumes the UTXOs from both T1 and T2 will have an available amount of 3 ADA to spend:1 ADA (from T1) + 2 ADA (from T2) = 3 ADA (to spend in total)
You can send the assets to one or multiple recipients in one transaction. If you send the assets to multiple addresses, each address must have its own amount to receive.
\nPaying the gas fee and receiving the change
\nWhen the amount that the recipients should receive is lower than the amount from the UTXOs, the difference between these two amounts is by default used as the gas fee for the transaction. Because this amount may be considerable and you may not want to spend it all on the gas fee, you can explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent (the fee
and changeAddress
parameters in the request body, correspondingly).
Signing a transaction
\nWhen sending ADA, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AdaTransferBlockchain","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AdaTransactionFromAddress"},{"$ref":"#/components/schemas/AdaTransactionFromAddressKMS"},{"$ref":"#/components/schemas/AdaTransactionFromUTXO"},{"$ref":"#/components/schemas/AdaTransactionFromUTXOKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcTx"},{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403BtcUTXO"},{"$ref":"#/components/schemas/Error403BtcTxFailed"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ADA to Cardano addresses","tags":["Cardano"]}},"/v3/ada/broadcast":{"post":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Broadcasts a signed transaction to the Ada blockchain. This method is used internally from Tatum KMS or Tatum Client Libraries.\nIt is possible to create a custom signing mechanism and only use this method for broadcasting data to the blockchain.
\n","operationId":"AdaBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Ada transaction","tags":["Cardano"]}},"/v3/ada/account/{address}":{"get":{"description":"\nYou can work with Cardano by connecting directly to a blockchain node provided by Tatum.
Gets a Ada account by address.
\n","operationId":"AdaGetAccount","parameters":[{"description":"Address","in":"path","name":"address","required":true,"schema":{"type":"string","example":"Ae2tdPwUPEZMmrkRoduJW9w7wRvnTcdeMbw7yyyjwPqo6zuaeJaDEkHUJSz"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdaAccountBalance"},"type":"array"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to perform the required operation due to a logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BtcBlockchain"},{"$ref":"#/components/schemas/Error403Broadcast"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Gets a Ada account by address","tags":["Cardano"]}},"/v3/tatum/usage":{"get":{"description":"1 credit per API call
\nGet information about your credit consumption for the last month (used credits per day).
\n","operationId":"getCredits","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Consumption"},"type":"array"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get information about your credit consumption for the last month","tags":["Service utils"]}},"/v3/tatum/rate/{currency}":{"get":{"description":"1 credit per API call
\nGet the current exchange rate for exchanging fiat/crypto assets.
\nBy default, the base pair (the target asset) is EUR. When obtaining the exchange rate for an asset (for example, BTC), the value returned by the API expresses the amount of EUR that can be currently exchanged into 1 BTC.
\n","operationId":"getExchangeRate","parameters":[{"description":"The fiat or crypto asset to exchange","in":"path","name":"currency","required":true,"schema":{"$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC"}},{"description":"The target fiat asset to get the exchange rate for","in":"query","name":"basePair","schema":{"$ref":"#/components/schemas/FiatCurrency","default":"EUR","example":"USD"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeRate"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the current exchange rate for exchanging fiat/crypto assets","tags":["Exchange rate"]}},"/v3/tatum/rate":{"post":{"description":"1 credit per pair per API call
\nGet the current exchange rates for exchanging fiat/crypto assets.
\nWhen obtaining the exchange rate for an asset (for example, BTC), the value returned by the API expresses the amount of EUR that can be currently exchanged into 1 BTC.
\n","operationId":"getExchangeRates","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RateQuery"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExchangeRate"}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the current exchange rates for exchanging fiat/crypto assets","tags":["Exchange rate"]}},"/v3/tatum/version":{"get":{"description":"Get current version of the API.
","operationId":"getVersion","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","example":"3.0.2"},"testnet":{"type":"boolean","example":true},"planName":{"type":"string","example":"Free"},"planCode":{"type":"string","example":"FREE"},"price":{"type":"number","example":9},"expiration":{"type":"number","example":4113115784397},"creditLimit":{"type":"number","example":1000000000},"usage":{"type":"number","example":25656634},"rolloverDay":{"type":"number","example":4}}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get API version","tags":["Service utils"]}},"/v3/tatum/freeze":{"put":{"description":"Freeze the API Key.\nIt's not possible to perform sensitive operations like send ledger transaction, send off-chain transaction, send blockchain transaction,\nbroadcast blockchain transaction, perform Order book trade or create blockage. Only read operations are permitted.
\n","operationId":"freezeApiKey","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Freeze API Key","tags":["Service utils"]},"delete":{"description":"Unfreeze the API Key.\nIt's possible to perform sensitive operations like send ledger transaction, send off-chain transaction, send blockchain transaction,\nbroadcast blockchain transaction, perform Order book trade or create blockage again.
\n","operationId":"unfreezeApiKey","responses":{"204":{"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server while processing the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Unfreeze API Key","tags":["Service utils"]}},"/v3/custodial/wallet":{"post":{"description":"Create new managed address for a specific chain. If the address is mainnet or testnet one depends on the API Key - testnet API Key manages testnet addresses, mainnet API Key manages mainnet addresses.\nResult of the operation is address and walletId, which is used for identifying the wallet later on and/or exporting the private key if needed.
\nFree users can manage only 10 addresses per API Key.\n
Get all managed addresses for an API Key.
\n","operationId":"CustodialGetWallets","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodialManagedAddress"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get managed addresses","tags":["Custodial managed wallets"]}},"/v3/custodial/wallet/{id}":{"get":{"description":"Get managed address for an API Key. It's possible to export the private key, if query parameter export is set to true.
\n","operationId":"CustodialGetWallet","parameters":[{"in":"path","required":true,"description":"WalletID of the managed address","name":"id","schema":{"type":"string","format":"uuid","example":"3ad54647-4166-4d34-9186-fd46caaba945"}},{"in":"query","name":"export","required":false,"description":"If set to \"true\", returns the private key in the response; if not set, defaults to \"false\" (the private key is not included in the response)","schema":{"type":"boolean","example":false,"default":false}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CustodialManagedAddress"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get managed address","tags":["Custodial managed wallets"]},"delete":{"description":"Delete managed address. Once deleted, the address won't be charged in a daily credit usage, but it won't be possible to get the private key for it.
\n","operationId":"CustodialDeleteWallet","parameters":[{"in":"path","required":true,"description":"WalletID of the managed address","name":"id","schema":{"type":"string","format":"uuid","example":"3ad54647-4166-4d34-9186-fd46caaba945"}}],"responses":{"204":{"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Delete managed address","tags":["Custodial managed wallets"]}},"/v3/custodial/transaction":{"post":{"description":"Sign transaction and transfer assets from a custodial managed address.
\nSupported chains:\n
Mainnet address | Devnet address | |
Address | DSpHmb7hLnetoybammcJBJiyqMVR3pDhCuW6hqVg9eBF | DSpHmb7hLnetoybammcJBJiyqMVR3pDhCuW6hqVg9eBF |
\nimport { LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction, Connection } from '@solana/web3.js'\n\nconst connection = new Connection('https://api.tatum.io/v3/blockchain/node/SOL')\nconst from = 'HrJtQTy2RW9c6y41RvN8x3bEiD6Co74AuhER2MGCpa58'\nconst to = 'FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU'\nconst amount = '0.000001'\nconst devnet_fee_payer = '5zPr5331CtBjgVeLedhmJPEpFaUsorLCnb3aCQPsUc9w'\nconst fromPubkey = new PublicKey(from)\nconst transaction = new Transaction({ feePayer: new PublicKey(devnet_fee_payer) })\ntransaction.add(\n SystemProgram.transfer({\n fromPubkey: fromPubkey,\n toPubkey: new PublicKey(to),\n lamports: new BigNumber(amount).multipliedBy(LAMPORTS_PER_SOL).toNumber(),\n }),\n)\nconst { blockhash, lastValidBlockHeight } = await connection.getLatestBlockhash('finalized')\ntransaction.recentBlockhash = blockhash\ntransaction.lastValidBlockHeight = lastValidBlockHeight\ntransaction.partialSign(...signers)\nreturn transaction.serialize({ requireAllSignatures: false }).toString('hex')\n\nFor the above example, developer have 2 options how to sign transaction - if the sender address HrJtQTy2RW9c6y41RvN8x3bEiD6Co74AuhER2MGCpa58 is managed using a Tatum managed wallet with id 0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4,\nthe final payload to the custodial/transaction endpoint should look like this:\n
\n{\n \"chain\": \"SOL\",\n \"txData\": \"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000\",\n \"walletIds\": [\n {\n \"key\": \"0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4\",\n \"type\": \"MANAGED\"\n }\n ]\n}\n\nIf the sender address is not managed, the transaction could be signed with the private key of that address before the serialization and the payload will look like this:\n
\n{\n \"chain\": \"SOL\",\n \"txData\": \"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000\",\n \"walletIds\": []\n}\n\n\n","operationId":"CustodialTransferManagedAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferManagedAddress"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Sign and transfer using managed address","tags":["Custodial managed wallets"]}},"/v3/avalanche/wallet":{"get":{"description":"
Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Avalanche wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Avalanche wallet.
\n","operationId":"AvalancheGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Avalanche wallet","tags":["Avalanche"]}},"/v3/avalanche/address/{xpub}/{index}":{"get":{"description":"Generates an Avalanche account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"AvalancheGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressAvalanche"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Avalanche account address from Extended public key","tags":["Avalanche"]}},"/v3/avalanche/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"AvalancheGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Avalanche private key","tags":["Avalanche"]}},"/v3/avalanche/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Avalanche node provided by Tatum.\nTo learn more about Avalanche Web3, visit the Avalanche developers' guide.
\n","operationId":"AvalancheWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Avalanche"]}},"/v3/avalanche/block/current":{"get":{"description":"Gets the current Avalanche block number. This is the number of the latest block in the blockchain.
","operationId":"AvalancheGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Avalanche"]}},"/v3/avalanche/block/{hash}":{"get":{"description":"Gets an Avalanche block-by-block hash or block number.
","operationId":"AvalancheGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Avalanche block by hash","tags":["Avalanche"]}},"/v3/avalanche/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of AVAX of an Avalanche account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"AvalancheGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the AVAX balance of an Avalanche account","tags":["Avalanche"]}},"/v3/avalanche/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Avalanche transaction by transaction hash.
\n","operationId":"AvalancheGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvalancheTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Avalanche Transaction","tags":["Avalanche"]}},"/v3/avalanche/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Avalanche transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"AvalancheGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Avalanche transactions","tags":["Avalanche"]}},"/v3/avalanche/transaction":{"post":{"description":"2 credits per API call
\nSend AVAX or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending AVAX, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AvalancheBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferAvalancheBlockchain"},{"$ref":"#/components/schemas/TransferAvalancheBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AvalancheBroadcast"},{"$ref":"#/components/schemas/Error403AvalancheGasPrice"},{"$ref":"#/components/schemas/Error403AvalancheTxBody"},{"$ref":"#/components/schemas/Error403AvalancheGasCalculation"},{"$ref":"#/components/schemas/Error403AvalancheTxHash"},{"$ref":"#/components/schemas/Error403AvalancheTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send AVAX or fungible tokens (ERC-20) from account to account","tags":["Avalanche"]}},"/v3/avalanche/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Avalanche.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AvalancheBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallAvalancheSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AvalancheBroadcast"},{"$ref":"#/components/schemas/Error403AvalancheGasPrice"},{"$ref":"#/components/schemas/Error403AvalancheScBody"},{"$ref":"#/components/schemas/Error403AvalancheGasCalculation"},{"$ref":"#/components/schemas/Error403AvalancheTxHash"},{"$ref":"#/components/schemas/Error403AvalancheTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Avalanche","tags":["Avalanche"]}},"/v3/avalanche/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Avalanche blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"AvalancheBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403AvalancheBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Avalanche transaction","tags":["Avalanche"]}},"/v3/algorand/wallet":{"get":{"description":"Tatum supports Algorand wallets.
\n","operationId":"AlgorandGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Algorand wallet","tags":["Algorand"]}},"/v3/algorand/address/{priv}":{"get":{"description":"Generate Algorand account deposit address from private key.
\n","operationId":"AlgorandGenerateAddress","parameters":[{"description":"private key of wallet.","in":"path","name":"priv","required":true,"schema":{"type":"string","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Algorand address","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Algorand account address from private key","tags":["Algorand"]}},"/v3/algorand/node/indexer/{xApiKey}/{indexerPath}":{"get":{"deprecated":true,"description":"1 credit per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\nYou can check all available APIs here - https://developer.algorand.org/docs/rest-apis/indexer/.\n
\nExample call for Get Tx By ID is described in the response. https://developer.algorand.org/docs/rest-apis/indexer/#get-v2transactionstxid.\n
\nURL used for this call would be
https://api.tatum.io/v3/algorand/node/indexer/YOUR_API_KEY/v2/transactions/HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ\n","operationId":"AlgoNodeIndexerGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of indexer.","in":"path","name":"indexerPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Indexer GET node endpoints","tags":["Algorand"]}},"/v3/algorand/node/algod/{xApiKey}/{algodPath}":{"get":{"deprecated":true,"description":"
1 credit per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\nYou can check al available APIs here - https://developer.algorand.org/docs/rest-apis/algod/v2/.\n
\nExample call for Get Block is described in the response. https://developer.algorand.org/docs/rest-apis/algod/v2/#get-v2blocksround.\n
\nURL used for this call would be
https://api.tatum.io/v3/algorand/node/algod/YOUR_API_KEY/v2/blocks/16775567\n\n","operationId":"AlgoNodeGetDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of algod.","in":"path","name":"algodPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Algod GET node endpoints","tags":["Algorand"]},"post":{"deprecated":true,"description":"
2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based url to connect directly to the Algorand node provided by Tatum.\n You can check al available APIs here - https://developer.algorand.org/docs/rest-apis/algod/v2/.\n
\n Example call for Broadcast a raw transaction is described in the response. https://developer.algorand.org/docs/rest-apis/algod/v2/#post-v2transactions.\n
\n URL used for this call would be
https://api.tatum.io/v3/algorand/node/algod/YOUR_API_KEY/v2/transactions\n \n","operationId":"AlgoNodePostDriver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"`**` path of algod.","in":"path","name":"algodPath","required":true,"schema":{"type":"string","example":"v2/accounts"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"rawtxn":{"type":"string","description":"Check here - https://developer.algorand.org/docs/rest-apis/algod/v2/#post-v2transactions"}}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"txId":{"type":"string","description":"Check here - https://developer.algorand.org/docs/rest-apis/algod/v2/#rawtransaction-response-200","example":"X4VI2Q3SHG4RC3T2RNDCFHNPUL6WYX2ONWHJGLKNMBA4SVE5M4KQ"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Access Algorand Algod POST node endpoints","tags":["Algorand"]}},"/v3/algorand/account/balance/{address}":{"get":{"description":"
Get Algorand account balance in ALGO.
\n","operationId":"AlgorandGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"number","description":"Balance in asset unit","example":1000},"assetIndex":{"type":"number","description":"Asset Index of ASA","example":87748168}}}},"balance":{"type":"number","description":"Balance in ALGO","example":1000}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Account balance","tags":["Algorand"]}},"/v3/algorand/block/current":{"get":{"description":"Get Algorand current block number. This is the number of the latest block in the blockchain.
","operationId":"AlgorandGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":16775567}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Algorand"]}},"/v3/algorand/block/{roundNumber}":{"get":{"description":"Get Algorand block by block round number.
","operationId":"AlgorandGetBlock","parameters":[{"description":"Block round number","in":"path","name":"roundNumber","required":true,"schema":{"type":"number","example":16775567}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand block by block round number","tags":["Algorand"]}},"/v3/algorand/transaction":{"post":{"description":"2 credits per API call
\nSend Algos from one Algorand address to the other one.
\nSigning a transaction
\nWhen sending Algos, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AlgorandBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferAlgorandBlockchain"},{"$ref":"#/components/schemas/TransferAlgorandBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send Algos to an Algorand account","tags":["Algorand"]}},"/v3/algorand/asset/receive":{"post":{"description":"Enable accepting Algorand asset on the sender account.
\nThis operation needs the private key of the blockchain address.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Get Algorand transaction by transaction id.
","operationId":"AlgorandGetTransaction","parameters":[{"description":"Transaction id","in":"path","name":"txid","required":true,"schema":{"type":"string","example":"LXEBXIBDAIF72NRI76SU252QSOGFCKEHTG7AI4P6W25V35PETU3Q"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Transaction","tags":["Algorand"]}},"/v3/algorand/transactions/{from}/{to}":{"get":{"description":"1 credit per API call
\nThis endpoint is deprecated.
Get Algorand transaction by specified period of time.
\n","operationId":"AlgorandGetPayTransactionsByFromTo","deprecated":true,"parameters":[{"description":"Start timestamp in specified period of time","in":"path","name":"from","required":true,"schema":{"type":"string","example":"2021-05-01T20:44:39Z"}},{"description":"End timestamp in specified period of time","in":"path","name":"to","required":true,"schema":{"type":"string","example":"2021-06-01T20:44:39Z"}},{"description":"page size for pagination","in":"query","name":"limit","required":false,"schema":{"type":"string","example":"5"}},{"description":"Algorand Next Token for getting the next page results","in":"query","name":"next","required":false,"schema":{"type":"string","example":"ywAAAAAAAAAAAAAA"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTxsWithPagination"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Algorand Transactions between from and to","tags":["Algorand"]}},"/v3/algorand/broadcast":{"post":{"description":"Broadcast signed transaction to Algorand blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"AlgorandBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlgoTransactionHashKMS"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Algorand transaction","tags":["Algorand"]}},"/v3/optimism/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Optimism wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Optimism wallet.
\n","operationId":"OptimismGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Optimism wallet","tags":["Optimism"]}},"/v3/optimism/address/{xpub}/{index}":{"get":{"description":"Generates an Optimism account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"OptimismGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressOptimism"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Optimism account address from Extended public key","tags":["Optimism"]}},"/v3/optimism/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"OptimismGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Optimism private key","tags":["Optimism"]}},"/v3/optimism/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Optimism node provided by Tatum.\nTo learn more about Optimism Web3, visit the Optimism developers' guide.
\n","operationId":"OptimismWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Optimism"]}},"/v3/optimism/block/current":{"get":{"description":"Gets the current Optimism block number. This is the number of the latest block in the blockchain.
","operationId":"OptimismGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Optimism"]}},"/v3/optimism/block/{hash}":{"get":{"description":"Gets an Optimism block-by-block hash or block number.
","operationId":"OptimismGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimismBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Optimism block by hash","tags":["Optimism"]}},"/v3/optimism/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of OPTIMISM of an Optimism account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"OptimismGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimismBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the OPTIMISM balance of an Optimism account","tags":["Optimism"]}},"/v3/optimism/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Optimism transaction by transaction hash.
\n","operationId":"OptimismGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimismTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Optimism Transaction","tags":["Optimism"]}},"/v3/optimism/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Optimism transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"OptimismGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Optimism transactions","tags":["Optimism"]}},"/v3/optimism/transaction":{"post":{"description":"2 credits per API call
\nSend OPTIMISM or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending OPTIMISM, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OptimismBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferOptimismBlockchain"},{"$ref":"#/components/schemas/TransferOptimismBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OptimismBroadcast"},{"$ref":"#/components/schemas/Error403OptimismGasPrice"},{"$ref":"#/components/schemas/Error403OptimismTxBody"},{"$ref":"#/components/schemas/Error403OptimismGasCalculation"},{"$ref":"#/components/schemas/Error403OptimismTxHash"},{"$ref":"#/components/schemas/Error403OptimismTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send OPTIMISM or fungible tokens (ERC-20) from account to account","tags":["Optimism"]}},"/v3/optimism/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Optimism.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OptimismBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallOptimismSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OptimismBroadcast"},{"$ref":"#/components/schemas/Error403OptimismGasPrice"},{"$ref":"#/components/schemas/Error403OptimismScBody"},{"$ref":"#/components/schemas/Error403OptimismGasCalculation"},{"$ref":"#/components/schemas/Error403OptimismTxHash"},{"$ref":"#/components/schemas/Error403OptimismTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Optimism","tags":["Optimism"]}},"/v3/optimism/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Optimism blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"OptimismBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403OptimismBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Optimism transaction","tags":["Optimism"]}},"/v3/polygon/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Polygon wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Polygon wallet.
\n","operationId":"PolygonGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon wallet","tags":["Polygon"]}},"/v3/polygon/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Polygon account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"PolygonGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressMatic"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon account address from Extended public key","tags":["Polygon"]}},"/v3/polygon/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"PolygonGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Polygon private key","tags":["Polygon"]}},"/v3/polygon/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Polygon node provided by Tatum.\nTo learn more about Polygon Web3, visit the Polygon developer's guide.
\n","operationId":"PolygonWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Polygon"]}},"/v3/polygon/block/current":{"get":{"description":"1 credit per API call
\nGet Polygon current block number. This is the number of the latest block in the blockchain.
\n","operationId":"PolygonGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Polygon"]}},"/v3/polygon/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Polygon block by block hash or block number.
\n","operationId":"PolygonGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon block by hash","tags":["Polygon"]}},"/v3/polygon/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Polygon account balance in MATIC. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"PolygonGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MaticBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon Account balance","tags":["Polygon"]}},"/v3/polygon/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Polygon transaction by transaction hash.
\n","operationId":"PolygonGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolygonTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon Transaction","tags":["Polygon"]}},"/v3/polygon/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\n1 credit per API call
\nGet Polygon transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"PolygonGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":0,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":0,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PolygonTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Polygon transactions by address","tags":["Polygon"]}},"/v3/polygon/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Polygon transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"PolygonGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Polygon transactions","tags":["Polygon"]}},"/v3/polygon/transaction":{"post":{"description":"2 credits per API call
\nSend MATIC from account to account.
\n
Signing a transaction
\nWhen sending MATIC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"PolygonBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferPolygonBlockchain"},{"$ref":"#/components/schemas/TransferPolygonBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonBroadcast"},{"$ref":"#/components/schemas/Error403PolygonGasPrice"},{"$ref":"#/components/schemas/Error403PolygonTxBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"},{"$ref":"#/components/schemas/Error403PolygonTxHash"},{"$ref":"#/components/schemas/Error403PolygonTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send MATIC from account to account","tags":["Polygon"]}},"/v3/polygon/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Polygon.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"PolygonBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallPolygonSmartContractReadMethod"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethod"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallPolygonSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403PolygonBroadcast"},{"$ref":"#/components/schemas/Error403PolygonGasPrice"},{"$ref":"#/components/schemas/Error403PolygonScBody"},{"$ref":"#/components/schemas/Error403PolygonGasCalculation"},{"$ref":"#/components/schemas/Error403PolygonTxHash"},{"$ref":"#/components/schemas/Error403PolygonTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Polygon","tags":["Polygon"]}},"/v3/polygon/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Polygon blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"PolygonBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403PolygonBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Polygon transaction","tags":["Polygon"]}},"/v3/cronos/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Cronos wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Cronos wallet.
\n","operationId":"CronosGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos wallet","tags":["Cronos"]}},"/v3/cronos/address/{xpub}/{index}":{"get":{"description":"Generates an Cronos account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"CronosGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressCronos"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos account address from Extended public key","tags":["Cronos"]}},"/v3/cronos/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"CronosGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Cronos private key","tags":["Cronos"]}},"/v3/cronos/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Cronos node provided by Tatum.\nTo learn more about Cronos Web3, visit the Cronos developers' guide.
\n","operationId":"CronosWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Cronos"]}},"/v3/cronos/block/current":{"get":{"description":"Gets the current Cronos block number. This is the number of the latest block in the blockchain.
","operationId":"CronosGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Cronos"]}},"/v3/cronos/block/{hash}":{"get":{"description":"Gets an Cronos block-by-block hash or block number.
","operationId":"CronosGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Cronos block by hash","tags":["Cronos"]}},"/v3/cronos/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of CRO of an Cronos account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"CronosGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the CRO balance of an Cronos account","tags":["Cronos"]}},"/v3/cronos/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Cronos transaction by transaction hash.
\n","operationId":"CronosGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CronosTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Cronos Transaction","tags":["Cronos"]}},"/v3/cronos/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Cronos transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"CronosGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Cronos transactions","tags":["Cronos"]}},"/v3/cronos/transaction":{"post":{"description":"2 credits per API call
\nSend CRO or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending CRO, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CronosBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCronosBlockchain"},{"$ref":"#/components/schemas/TransferCronosBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosBroadcast"},{"$ref":"#/components/schemas/Error403CronosGasPrice"},{"$ref":"#/components/schemas/Error403CronosTxBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"},{"$ref":"#/components/schemas/Error403CronosTxHash"},{"$ref":"#/components/schemas/Error403CronosTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send CRO or fungible tokens (ERC-20) from account to account","tags":["Cronos"]}},"/v3/cronos/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Cronos.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CronosBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallCronosSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403CronosBroadcast"},{"$ref":"#/components/schemas/Error403CronosGasPrice"},{"$ref":"#/components/schemas/Error403CronosScBody"},{"$ref":"#/components/schemas/Error403CronosGasCalculation"},{"$ref":"#/components/schemas/Error403CronosTxHash"},{"$ref":"#/components/schemas/Error403CronosTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Cronos","tags":["Cronos"]}},"/v3/cronos/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Cronos blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"CronosBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403CronosBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Cronos transaction","tags":["Cronos"]}},"/v3/klaytn/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Klaytn wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Klaytn wallet.
\n","operationId":"KlaytnGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn wallet","tags":["Klaytn"]}},"/v3/klaytn/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Klaytn account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"KlaytnGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Klaytn address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn account address from Extended public key","tags":["Klaytn"]}},"/v3/klaytn/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"KlaytnGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Klaytn private key","tags":["Klaytn"]}},"/v3/klaytn/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Klaytn node provided by Tatum.\nTo learn more about Klaytn Web3, visit the Klaytn developer's guide.
\n","operationId":"KlaytnWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Klaytn"]}},"/v3/klaytn/block/current":{"get":{"description":"1 credit per API call
\nGet Klaytn current block number. This is the number of the latest block in the blockchain.
\n","operationId":"KlaytnGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Klaytn"]}},"/v3/klaytn/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Klaytn block by block hash or block number.
\n","operationId":"KlaytnGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn block by hash","tags":["Klaytn"]}},"/v3/klaytn/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Klaytn account balance in KLAY. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"KlaytnGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in KLAY","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn Account balance","tags":["Klaytn"]}},"/v3/klaytn/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Klaytn transaction by transaction hash.
\n","operationId":"KlaytnGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KlaytnTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Klaytn Transaction","tags":["Klaytn"]}},"/v3/klaytn/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Klaytn transactions for the address. When a transaction is sent, there can be multiple outgoing transactions, which are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents the order of the transaction in the list of outgoing transactions.
\n","operationId":"KlaytnGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Klaytn transactions","tags":["Klaytn"]}},"/v3/klaytn/transaction":{"post":{"description":"2 credits per API call
\nSend KLAY from account to account.
\n
Signing a transaction
\nWhen sending KLAY, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlaytnBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferKlaytnBlockchain"},{"$ref":"#/components/schemas/TransferKlaytnBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnBroadcast"},{"$ref":"#/components/schemas/Error403KlaytnGasPrice"},{"$ref":"#/components/schemas/Error403KlaytnTxBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"},{"$ref":"#/components/schemas/Error403KlaytnTxHash"},{"$ref":"#/components/schemas/Error403KlaytnTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send KLAY from account to account","tags":["Klaytn"]}},"/v3/klaytn/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Klaytn.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KlaytnBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallKlaytnSmartContractReadMethod"},{"$ref":"#/components/schemas/CallKlaytnSmartContractMethod"},{"$ref":"#/components/schemas/CallKlaytnSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KlaytnBroadcast"},{"$ref":"#/components/schemas/Error403KlaytnGasPrice"},{"$ref":"#/components/schemas/Error403KlaytnScBody"},{"$ref":"#/components/schemas/Error403KlaytnGasCalculation"},{"$ref":"#/components/schemas/Error403KlaytnTxHash"},{"$ref":"#/components/schemas/Error403KlaytnTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Klaytn","tags":["Klaytn"]}},"/v3/klaytn/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Klaytn blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"KlaytnBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KlaytnBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Klaytn transaction","tags":["Klaytn"]}},"/v3/solana/wallet":{"get":{"description":"Generate Solana private key and account address.
\n","operationId":"SolanaGenerateWallet","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Solana wallet","tags":["Solana"]}},"/v3/solana/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based JSON RPC driver to connect directly to the Solana node provided by Tatum.\nTo learn more about Solana JSON RPC, visit the Solana developer's guide.
\n","operationId":"SolanaWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC method content body.","example":{"jsonrpc":"2.0","method":"getVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid JSON RPC response.","example":{"jsonrpc":"2.0","result":{"solana-core":"1.8.5"},"id":1}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"JSON RPC HTTP driver","tags":["Solana"]}},"/v3/solana/block/current":{"get":{"description":"Get Solana current block number. This is the number of the latest block in the blockchain.
","operationId":"SolanaGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Solana"]}},"/v3/solana/block/{height}":{"get":{"description":"Get Solana block by block hash or block number.
\nYou can find full data description here - https://docs.solana.com/developing/clients/jsonrpc-api#getblock\n
Get Solana account balance in SOL. This method does not prints any balance of the SPL or NFT tokens on the account.
","operationId":"SolanaGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Solana Account balance","tags":["Solana"]}},"/v3/solana/transaction/{hash}":{"get":{"description":"Get Solana transaction by transaction hash.
\nYou can find full data description here - https://docs.solana.com/developing/clients/jsonrpc-api#gettransaction\n
Send SOL from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on testnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed custom transactions to Solana blockchain and waits for transaction confirmation depending on the commitment given. More information about commitment levels here
\n","operationId":"SolanaBroadcastConfirm","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaBroadcastConfirm"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolanaTransactionHashWithConfirm"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403SolanaBroadcastConfirm"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast and confirm signed Solana transaction","tags":["Solana"]}},"/v3/flare/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Flare wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Flare wallet.
\n","operationId":"FlareGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare wallet","tags":["Flare"]}},"/v3/flare/address/{xpub}/{index}":{"get":{"description":"Generates an Flare account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"FlareGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressFlare"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare account address from Extended public key","tags":["Flare"]}},"/v3/flare/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"FlareGenerateAddressPrivateKey","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Flare private key","tags":["Flare"]}},"/v3/flare/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Flare node provided by Tatum.\nTo learn more about Flare Web3, visit the Flare developers' guide.
\n","operationId":"FlareWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Flare"]}},"/v3/flare/block/current":{"get":{"description":"Gets the current Flare block number. This is the number of the latest block in the blockchain.
","operationId":"FlareGetCurrentBlock","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Flare"]}},"/v3/flare/block/{hash}":{"get":{"description":"Gets an Flare block-by-block hash or block number.
","operationId":"FlareGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flare block by hash","tags":["Flare"]}},"/v3/flare/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of FLR of an Flare account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"FlareGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the FLR balance of an Flare account","tags":["Flare"]}},"/v3/flare/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Flare transaction by transaction hash.
\n","operationId":"FlareGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlareTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Flare Transaction","tags":["Flare"]}},"/v3/flare/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Flare transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"FlareGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Flare transactions","tags":["Flare"]}},"/v3/flare/transaction":{"post":{"description":"2 credits per API call
\nSend FLR or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending FLR, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"FlareBlockchainTransfer","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferFlareBlockchain"},{"$ref":"#/components/schemas/TransferFlareBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareBroadcast"},{"$ref":"#/components/schemas/Error403FlareGasPrice"},{"$ref":"#/components/schemas/Error403FlareTxBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"},{"$ref":"#/components/schemas/Error403FlareTxHash"},{"$ref":"#/components/schemas/Error403FlareTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send FLR or fungible tokens (ERC-20) from account to account","tags":["Flare"]}},"/v3/flare/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Flare.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"FlareBlockchainSmartContractInvocation","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallFlareSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403FlareBroadcast"},{"$ref":"#/components/schemas/Error403FlareGasPrice"},{"$ref":"#/components/schemas/Error403FlareScBody"},{"$ref":"#/components/schemas/Error403FlareGasCalculation"},{"$ref":"#/components/schemas/Error403FlareTxHash"},{"$ref":"#/components/schemas/Error403FlareTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Flare","tags":["Flare"]}},"/v3/flare/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Flare blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"FlareBroadcast","parameters":[{"$ref":"#/components/parameters/FlareTestnetTypeQuery"},{"$ref":"#/components/parameters/FlareTestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403FlareBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Flare transaction","tags":["Flare"]}},"/v3/base/wallet":{"get":{"description":"Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Base wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerates a BIP44 compatible Base wallet.
\n","operationId":"BaseGenerateWallet","parameters":[{"description":"Mnemonic to use for generating extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base wallet","tags":["Base"]}},"/v3/base/address/{xpub}/{index}":{"get":{"description":"Generates an Base account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31 - 1.
\n","operationId":"BaseGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of the address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBase"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base account address from Extended public key","tags":["Base"]}},"/v3/base/wallet/priv":{"post":{"description":"Generates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic\ncan generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
\n","operationId":"BaseGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Base private key","tags":["Base"]}},"/v3/base/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Base node provided by Tatum.\nTo learn more about Base Web3, visit the Base developers' guide.
\n","operationId":"BaseWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Base"]}},"/v3/base/block/current":{"get":{"description":"Gets the current Base block number. This is the number of the latest block in the blockchain.
","operationId":"BaseGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Base"]}},"/v3/base/block/{hash}":{"get":{"description":"Gets an Base block-by-block hash or block number.
","operationId":"BaseGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Base block by hash","tags":["Base"]}},"/v3/base/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet the balance of BASE of an Base account.
\nTo get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
\n","operationId":"BaseGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get the BASE balance of an Base account","tags":["Base"]}},"/v3/base/transaction/{hash}":{"get":{"description":"1 credit per API call
\nGet Base transaction by transaction hash.
\n","operationId":"BaseGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"404":{"description":"Transaction not found.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error404TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Base Transaction","tags":["Base"]}},"/v3/base/transaction/count/{address}":{"get":{"description":"Get a number of outgoing Base transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"BaseGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Base transactions","tags":["Base"]}},"/v3/base/transaction":{"post":{"description":"2 credits per API call
\nSend BASE or Tatum-supported fungible tokens (ERC-20) from account to account.
\nNOTE: Sending the fungible tokens is supported only on the mainnet.
\nSigning a transaction
\nWhen sending BASE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BaseBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferBaseBlockchain"},{"$ref":"#/components/schemas/TransferBaseBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseBroadcast"},{"$ref":"#/components/schemas/Error403BaseGasPrice"},{"$ref":"#/components/schemas/Error403BaseTxBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"},{"$ref":"#/components/schemas/Error403BaseTxHash"},{"$ref":"#/components/schemas/Error403BaseTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BASE or fungible tokens (ERC-20) from account to account","tags":["Base"]}},"/v3/base/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Base.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BaseBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallSmartContractMethod"},{"$ref":"#/components/schemas/CallReadSmartContractMethod"},{"$ref":"#/components/schemas/CallBaseSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BaseBroadcast"},{"$ref":"#/components/schemas/Error403BaseGasPrice"},{"$ref":"#/components/schemas/Error403BaseScBody"},{"$ref":"#/components/schemas/Error403BaseGasCalculation"},{"$ref":"#/components/schemas/Error403BaseTxHash"},{"$ref":"#/components/schemas/Error403BaseTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Base","tags":["Base"]}},"/v3/base/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Base blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BaseBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BaseBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Base transaction","tags":["Base"]}},"/v3/celo/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Celo wallet with derivation path m'/44'/52752'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Celo wallet.
\n","operationId":"CeloGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo wallet","tags":["Celo"]}},"/v3/celo/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Celo account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"CeloGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Celo address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo account address from Extended public key","tags":["Celo"]}},"/v3/celo/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"CeloGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Celo private key","tags":["Celo"]}},"/v3/celo/web3/{xApiKey}":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Celo node provided by Tatum.\nTo learn more about Celo Web3, visit the Celo developer's guide.
\n","operationId":"CeloWeb3Driver","deprecated":true,"parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Celo"]}},"/v3/celo/block/current":{"get":{"description":"1 credit per API call
\nGet Celo current block number. This is the number of the latest block in the blockchain.
\n","operationId":"CeloGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Celo"]}},"/v3/celo/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Celo block by block hash or block number.
\n","operationId":"CeloGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo block by hash","tags":["Celo"]}},"/v3/celo/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Celo account balance in ETH. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"CeloGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"celo":{"type":"string","description":"Balance of Celo","example":"10.52"},"cUsd":{"type":"string","description":"Balance of cUSD","example":"11.53"},"cEur":{"type":"string","description":"Balance of cEUR","example":"11.53"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo Account balance","tags":["Celo"]}},"/v3/celo/account/transaction/{address}":{"get":{"description":"This endpoint is deprecated. Do not use it.
\n1 credit per API call
\nGet Celo transactions by address. This includes incoming and outgoing transactions for the address.
\n","operationId":"CeloGetTransactionByAddress","deprecated":true,"parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x8ce4e40889a13971681391aad29e88efaf91f784"}},{"description":"Max number of items per page is 50.","in":"query","name":"pageSize","schema":{"type":"number","example":10,"maximum":50,"minimum":1},"required":true},{"description":"Offset to obtain next page of the data.","in":"query","name":"offset","schema":{"type":"number","example":0}},{"description":"Transactions from this block onwards will be included.","in":"query","name":"from","schema":{"type":"number","minimum":0,"example":1087623}},{"description":"Transactions up to this block will be included.","in":"query","name":"to","schema":{"type":"number","minimum":0,"example":1087823}},{"description":"Sorting of the data. ASC - oldest first, DESC - newest first.","in":"query","name":"sort","schema":{"type":"string","default":"DESC","example":"ASC","enum":["ASC","DESC"]}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CeloTx"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo transactions by address","tags":["Celo"]}},"/v3/celo/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Celo transaction by transaction hash.
\n","operationId":"CeloGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0x68eed4cdf325532a2e94370a4884f2851aacb7b12428d63601240488520f9afa"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CeloTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Celo Transaction","tags":["Celo"]}},"/v3/celo/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Celo transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"CeloGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Celo transactions","tags":["Celo"]}},"/v3/celo/transaction":{"post":{"description":"2 credits per API call
\nSend Celo, cUSD or Tatum supported ERC20 token from account to account.
\n
Signing a transaction
\nWhen sending CELO, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferCeloBlockchain"},{"$ref":"#/components/schemas/TransferCeloBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send Celo / ERC20 from account to account","tags":["Celo"]}},"/v3/celo/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Celo.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"CeloBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallCeloReadSmartContractMethod"},{"$ref":"#/components/schemas/CallCeloSmartContractMethod"},{"$ref":"#/components/schemas/CallCeloSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EthBroadcast"},{"$ref":"#/components/schemas/Error403EthGasPrice"},{"$ref":"#/components/schemas/Error403EthScBody"},{"$ref":"#/components/schemas/Error403EthGasCalculation"},{"$ref":"#/components/schemas/Error403EthTxHash"},{"$ref":"#/components/schemas/Error403EthTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Celo","tags":["Celo"]}},"/v3/celo/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Celo blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"CeloBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Celo"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Celo transaction","tags":["Celo"]}},"/v3/egld/wallet":{"get":{"description":"The Elrond Address format is bech32, specified by the BIP 0173. The address always starts with an erd1. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase.\nMnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.\n
\nEach address is identified by 3 main values:\n
Tatum follows BIP44 specification and generates for EGLD wallet with derivation path m'/44'/508'/0'/0'.\nMore about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible EGLD wallet.
\n","operationId":"EgldGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of private key.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"mnemonic":{"type":"string","description":"Mnemonic to use for generation of private key","example":"quantum tobacco key they maid mean crime youth chief jungle mind design broken tilt bus shoulder leaf good forward erupt split divert bread kitten"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD wallet","tags":["Elrond"]}},"/v3/egld/address/{mnemonic}/{index}":{"get":{"description":"Generate EGLD account deposit address from mnemonic phrase. Deposit address is generated for the specific\nindex - each mnemonic phrase can generate up to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"EgldGenerateAddress","parameters":[{"description":"Mnemonic to use for generation of address.","in":"path","name":"mnemonic","required":true,"schema":{"type":"string","example":"quantum tobacco key they maid mean crime youth chief jungle mind design broken tilt bus shoulder leaf good forward erupt split divert bread kitten"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"EGLD address","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD account address from mnemonic","tags":["Elrond"]}},"/v3/egld/wallet/priv":{"post":{"description":"Generate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"EgldGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate EGLD private key","tags":["Elrond"]}},"/v3/egld/node/{xApiKey}/*":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based driver to connect directly to the EGLD node provided by Tatum.\nTo learn more about EGLD, visit the EGLD developer's guide.
\n","operationId":"EgldNodePost","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"/v3/egld/node/asdlkfjnqunalkwjf124387ad/transaction/cost"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid method content body.","example":{"version":1,"chainId":"D","nonce":42,"value":"100000000000000000","receiver":"erd1cux02zersde0l7hhklzhywcxk4u9n4py5tdxyx7vrvhnza2r4gmq4vw35r","sender":"erd1njqj2zggfup4nl83x0nfgqjkjserm7mjyxdx5vzkm8k0gkh40ezqtfz9lg","gasPrice":1000000000,"gasLimit":70000,"data":"food for cats","signature":"93207c579bf57be03add632b0e1624a73576eeda8a1687e0fa286f03eb1a17ffb125ccdb008a264c402f074a360442c7a034e237679322f62268b614e926d10f"}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid response."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Node HTTP driver","tags":["Elrond"]},"get":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based driver to connect directly to the EGLD node provided by Tatum.\nTo learn more about EGLD, visit the EGLD developer's guide.
\n","operationId":"EgldNodeGet","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"/v3/egld/node/asdlkfjnqunalkwjf12341kljl/network/config"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid response.","example":{"config":{"erd_chain_id":"1","erd_denomination":18,"erd_gas_per_data_byte":1500,"erd_latest_tag_software_version":"v1.1.0.0","erd_meta_consensus_group_size":400,"erd_min_gas_limit":50000,"erd_min_gas_price":1000000000,"erd_min_transaction_version":1,"erd_num_metachain_nodes":400,"erd_num_nodes_in_shard":400,"erd_num_shards_without_meta":3,"erd_round_duration":6000,"erd_shard_consensus_group_size":63,"erd_start_time":1596117600}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Node HTTP driver","tags":["Elrond"]}},"/v3/egld/block/current":{"get":{"description":"Get EGLD current block number. This is the number of the latest block in the blockchain.
","operationId":"EGldGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":649127}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Elrond"]}},"/v3/egld/block/{hash}":{"get":{"description":"Get EGLD block by block hash or block number. EGLD docs
","operationId":"EgldGetBlock","parameters":[{"description":"Block hash or nonce","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"a6f2ac15a6b1bafdde9afff2297cef49c4c523c516f8ee12fed54be070e9512b"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgldBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD block by hash","tags":["Elrond"]}},"/v3/egld/account/balance/{address}":{"get":{"description":"Get account balance in EGLD.
","operationId":"EgldGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in EGLD","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD Account balance","tags":["Elrond"]}},"/v3/egld/transaction/{hash}":{"get":{"description":"Get EGLD transaction by transaction hash. Detail result please find here EGLD docs
","operationId":"EgldGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"99996224823736c1e9b8484ed74c1573049478f871d6f94b86811fb1c7b2addd"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EgldTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403EgldBroadcast"},{"$ref":"#/components/schemas/Error403EgldGasCalculation"},{"$ref":"#/components/schemas/Error403EgldTxHash"},{"$ref":"#/components/schemas/Error403EgldTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get EGLD Transaction","tags":["Elrond"]}},"/v3/egld/transaction/address/{address}":{"get":{"description":"This endpoint allows one to retrieve the latest 20 transactions sent from an address.
\n","operationId":"EgldGetTransactionAddress","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":62,"minLength":62,"example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","description":"List of transactions sent from an address.","items":{"type":"object"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing EGLD transactions","tags":["Elrond"]}},"/v3/egld/transaction/count/{address}":{"get":{"description":"Get a number of outgoing EGLD transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"EgldGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":62,"minLength":62,"example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing EGLD transactions","tags":["Elrond"]}},"/v3/egld/transaction":{"post":{"description":"Send EGLD from account to account.
\nThis operation needs the private key of the blockchain address. Every time the funds are transferred, the transaction must be signed with the corresponding private key.\nNo one should ever send it's own private keys to the internet because there is a strong possibility of stealing keys and loss of funds. In this method, it is possible to enter privateKey\nor signatureId. PrivateKey should be used only for quick development on devnet versions of blockchain when there is no risk of losing funds. In production,\nTatum KMS should be used for the highest security standards, and signatureId should be present in the request.\nAlternatively, using the Tatum client library for supported languages.\n
Broadcast signed transaction to EGLD blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"EgldBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403EgldBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed EGLD transaction","tags":["Elrond"]}},"/v3/tron/wallet":{"get":{"summary":"Generate a TRON wallet","description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Bitcoin wallet with derivation path m'/44'/195'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/tron/bips/blob/master/bip-0044.mediawiki.\n Generate BIP44 compatible Tron wallet.
\n","operationId":"GenerateTronwallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronWallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"tags":["Tron"]}},"/v3/tron/address/{xpub}/{index}":{"get":{"description":"5 credits per API call
\nGenerate a TRON address from the extended public key of the wallet. The address is generated for the specific index - each extended public key can generate up to 2^32 addresses with the index starting from 0 up to 2^31.
\n","operationId":"TronGenerateAddress","parameters":[{"description":"The extended public key of the wallet; can be in the base58 format (111 characters) or the hexadecimal format (130 characters)","in":"path","name":"xpub","required":true,"example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","schema":{"type":"string"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","minimum":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Tron address","example":"TFFBpkRNro4Pe4154ayGWx7C6Ev7BvQZ6t"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403AccountAddressGeneral"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate a TRON address from the wallet's extended public key","tags":["Tron"]}},"/v3/tron/wallet/priv":{"post":{"description":"10 credits per API call
\nGenerate private key for address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"TronGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BlockchainPrivateFailed"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate the private key for a TRON address","tags":["Tron"]}},"/v3/tron/info":{"get":{"tags":["Tron"],"summary":"Get the current TRON block","description":"5 credits per API call
\nGet current Tron block.
\n","operationId":"TronGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"blockNumber":{"description":"Block height.","type":"number","example":26585295},"hash":{"description":"Block hash.","type":"string","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"},"testnet":{"description":"Wether the block is from mainnet of Shasta testnet","type":"boolean","example":false}}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/block/{hash}":{"get":{"tags":["Tron"],"summary":"Get a TRON block by its hash or height","description":"5 credits per API call
\nGet Tron block by hash or height.
\n","operationId":"TronGetBlock","parameters":[{"in":"path","name":"hash","required":true,"description":"Block hash or height.","schema":{"type":"string","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/account/{address}":{"get":{"tags":["Tron"],"summary":"Get the TRON account by its address","description":"5 credits per API call
\nGet Tron account by address.
\n","operationId":"TronGetAccount","parameters":[{"in":"path","name":"address","required":true,"description":"Account address","schema":{"type":"string","example":"TGDqQAP5bduoPKVgdbk7fGyW4DwEt3RRn8"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronAccount"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/freezeBalance":{"post":{"tags":["Tron"],"summary":"Freeze the balance of a TRON account","description":"10 credits per API call
\nFreeze Tron assets on the address. By freezing assets, you can obtain energy or bandwidth to perform transactions.
\nSigning a transaction
\nWhen freezing the balance, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronFreeze","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FreezeTron"},{"$ref":"#/components/schemas/FreezeTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/unfreezeBalance":{"post":{"tags":["Tron"],"summary":"Unfreeze the balance of a TRON account","description":"10 credits per API call
\nUnfreeze Tron assets on the address. By unfreezing assets, you can unlock your staked TRX.
\nSigning a transaction
\nWhen unfreezing the balance, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronUnfreeze","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FreezeTron"},{"$ref":"#/components/schemas/FreezeTronKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/transaction/account/{address}":{"get":{"tags":["Tron"],"summary":"Get all transactions for a TRON account","description":"5 credits per API call
\nGet all transactions for a TRON account.
\nThis API returns up to 200 transactions in one API call. If there are more than 200 transactions for the TRON account, the response body will contain the next
parameter with the fingerprint of the transaction that follows the last (200th) transaction in the returned list.
To get the next 200 transactions, make another call using this API, but this time add the next
parameter the endpoint URL and set it to the transaction fingerprint from the next
parameter in the response, for example:
https://api.tatum.io/v3/tron/transaction/account/{address}?next=81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991
5 credits per API call
\nGet TRC-20 transactions for a TRON account.
\nThis API returns up to 200 transactions in one API call. If there are more than 200 transactions for the TRON account, the response body will contain the next
parameter with the fingerprint of the transaction that follows the last (200th) transaction in the returned list.
To get the next 200 transactions, make another call using this API, but this time add the next
parameter the endpoint URL and set it to the transaction fingerprint from the next
parameter in the response, for example:
https://api.tatum.io/v3/tron/transaction/account/{address}/trc20?next=81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991
10 credits per API call
\nSend an amount in TRX from address to address.
\nSigning a transaction
\nWhen sending TRX to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronBlockchain"},{"$ref":"#/components/schemas/TransferTronBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/transaction":{"post":{"tags":["Tron"],"summary":"Send TRC-10 tokens to a TRON account","description":"10 credits per API call
\nSend TRC-10 tokens from address to address.
\nSigning a transaction
\nWhen sending TRC-10 tokens to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransferTrc10","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronTrc10Blockchain"},{"$ref":"#/components/schemas/TransferTronTrc10BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc20/transaction":{"post":{"tags":["Tron"],"summary":"Send TRC-20 tokens to a TRON account","description":"10 credits per API call
\nSend TRC-20 tokens from address to address.
\nSigning a transaction
\nWhen sending TRC-20 tokens to a TRON account, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronTransferTrc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferTronTrc20Blockchain"},{"$ref":"#/components/schemas/TransferTronTrc20BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/deploy":{"post":{"tags":["Tron"],"summary":"Create a TRC-10 token","description":"10 credits per API call
\nCreate a TRON TRC-10 token.
\nOne TRON account can create only one TRC-10 token. The whole supply of the token is transferred to the issuer's account 100 seconds after the token has been created.
\nSigning a transaction
\nWhen creating a TRC-10 token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronCreateTrc10","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTronTrc10Blockchain"},{"$ref":"#/components/schemas/CreateTronTrc10BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc10/detail/{idOrOwnerAddress}":{"get":{"tags":["Tron"],"summary":"Get information about a TRC-10 token","description":"5 credits per API call
\nGet information about a TRON TRC-10 token.
\n","operationId":"TronTrc10Detail","parameters":[{"in":"path","name":"idOrOwnerAddress","required":true,"description":"The ID of the TRC-10 token or the address of the token's owner","schema":{"type":"string","example":"1000540"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronTrc10Detail"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/trc20/deploy":{"post":{"tags":["Tron"],"summary":"Create a TRC-20 token","description":"10 credits per API call
\nCreate a TRON TRC-20 capped token. A capped TRC20 token is a type of token on the TRON blockchain that has a preset limit on the total number of tokens that can be created. This limit is specified during the token creation process and cannot be exceeded. Once the limit is reached, no more tokens can be minted. This feature helps to ensure the scarcity and value of the token and can provide investors with a sense of security. It is a popular choice for fundraising, as it allows for a predetermined amount of funds to be raised through the sale of tokens, and any excess tokens that are not sold are simply not minted.
\nSigning a transaction
\nWhen creating a TRC-20 token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TronCreateTrc20","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CreateTronTrc20Blockchain"},{"$ref":"#/components/schemas/CreateTronTrc20BlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/transaction/{hash}":{"get":{"tags":["Tron"],"summary":"Get a TRON transaction by its hash","description":"5 credits per API call
\nGet Tron transaction by hash.
\n","operationId":"TronGetTransaction","parameters":[{"in":"path","name":"hash","required":true,"description":"Transaction hash.","schema":{"type":"string","example":"81d0524acf5967f3b361e03fd7d141ab511791cd7aad7ae406c4c8d408290991"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/tron/broadcast":{"post":{"tags":["Tron"],"summary":"Broadcast a TRON transaction","description":"5 credits per API call
\nBroadcast Tron transaction. This method is used internally from Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"TronBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TronBroadcast"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403Tron"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[]}},"/v3/bsc/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for BSC wallet with derivation path m'/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible BSC wallet.
\n","operationId":"BscGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC wallet","tags":["BNB Smart Chain"]}},"/v3/bsc/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate BSC account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"BscGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"example":1,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressBsc"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC account address from Extended public key","tags":["BNB Smart Chain"]}},"/v3/bsc/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"BscGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate BSC private key","tags":["BNB Smart Chain"]}},"/v3/bsc/web3/{xApiKey}":{"post":{"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the BSC node provided by Tatum.\nTo learn more about BSC Web3, visit the BSC developer's guide.
\n","operationId":"BscWeb3Driver","deprecated":true,"parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["BNB Smart Chain"]}},"/v3/bsc/block/current":{"get":{"description":"1 credit per API call
\nGet BSC current block number. This is the number of the latest block in the blockchain.
\n","operationId":"BscGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["BNB Smart Chain"]}},"/v3/bsc/block/{hash}":{"get":{"description":"1 credit per API call
\nGet BSC block by block hash or block number.
\n","operationId":"BscGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC block by hash","tags":["BNB Smart Chain"]}},"/v3/bsc/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet BSC account balance in BNB. This method does not prints any balance of the BEP20 or BEP721 tokens on the account.
\n","operationId":"BscGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC Account balance","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet BSC transaction by transaction hash.
\n","operationId":"BscGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BscTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get BSC Transaction","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing BSC transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"BscGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing BSC transactions","tags":["BNB Smart Chain"]}},"/v3/bsc/transaction":{"post":{"description":"2 credits per API call
\nSend BNB or Tatum supported BEP20 token from account to account.
\n
Signing a transaction
\nWhen sending BNB, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferBscBlockchain"},{"$ref":"#/components/schemas/TransferBscBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscBroadcast"},{"$ref":"#/components/schemas/Error403BscGasPrice"},{"$ref":"#/components/schemas/Error403BscTxBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"},{"$ref":"#/components/schemas/Error403BscTxHash"},{"$ref":"#/components/schemas/Error403BscTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send BSC / BEP20 from account to account","tags":["BNB Smart Chain"]}},"/v3/bsc/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on BNB Smart Chain.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BscBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallBscSmartContractReadMethod"},{"$ref":"#/components/schemas/CallBscSmartContractMethod"},{"$ref":"#/components/schemas/CallBscSmartContractMethodCaller"},{"$ref":"#/components/schemas/CallBscSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403BscBroadcast"},{"$ref":"#/components/schemas/Error403BscGasPrice"},{"$ref":"#/components/schemas/Error403BscScBody"},{"$ref":"#/components/schemas/Error403BscGasCalculation"},{"$ref":"#/components/schemas/Error403BscTxHash"},{"$ref":"#/components/schemas/Error403BscTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on BNB Smart Chain","tags":["BNB Smart Chain"]}},"/v3/bsc/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to BSC blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"BscBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403BscBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed BSC transaction","tags":["BNB Smart Chain"]}},"/v3/kcs/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for Kcs wallet with derivation path m'/44'/966'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible Kcs wallet.
\n","operationId":"KcsGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs wallet","tags":["KuCoin"]}},"/v3/kcs/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate Kcs account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"KcsGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"Kcs address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs account address from Extended public key","tags":["KuCoin"]}},"/v3/kcs/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"KcsGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate Kcs private key","tags":["KuCoin"]}},"/v3/kcs/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the Kcs node provided by Tatum.\nTo learn more about Kcs Web3, visit the Kcs developer's guide.
\n","operationId":"KcsWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["KuCoin"]}},"/v3/kcs/block/current":{"get":{"description":"1 credit per API call
\nGet Kcs current block number. This is the number of the latest block in the blockchain.
\n","operationId":"KcsGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":6491272}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["KuCoin"]}},"/v3/kcs/block/{hash}":{"get":{"description":"1 credit per API call
\nGet Kcs block by block hash or block number.
\n","operationId":"KcsGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs block by hash","tags":["KuCoin"]}},"/v3/kcs/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet Kcs account balance in KCS. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"KcsGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in KCS","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs Account balance","tags":["KuCoin"]}},"/v3/kcs/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet Kcs transaction by transaction hash.
\n","operationId":"KcsGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KcsTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get Kcs Transaction","tags":["KuCoin"]}},"/v3/kcs/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing Kcs transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"KcsGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing Kcs transactions","tags":["KuCoin"]}},"/v3/kcs/transaction":{"post":{"description":"2 credits per API call
\nSend KCS from account to account.
\n
Signing a transaction
\nWhen sending KCS, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"KcsBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferKcsBlockchain"},{"$ref":"#/components/schemas/TransferKcsBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsBroadcast"},{"$ref":"#/components/schemas/Error403KcsGasPrice"},{"$ref":"#/components/schemas/Error403KcsTxBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"},{"$ref":"#/components/schemas/Error403KcsTxHash"},{"$ref":"#/components/schemas/Error403KcsTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send KCS from account to account","tags":["KuCoin"]}},"/v3/kcs/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on KuCoin Community Chain.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"KcsBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallKcsSmartContractReadMethod"},{"$ref":"#/components/schemas/CallKcsSmartContractMethod"},{"$ref":"#/components/schemas/CallKcsSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403KcsBroadcast"},{"$ref":"#/components/schemas/Error403KcsGasPrice"},{"$ref":"#/components/schemas/Error403KcsScBody"},{"$ref":"#/components/schemas/Error403KcsGasCalculation"},{"$ref":"#/components/schemas/Error403KcsTxHash"},{"$ref":"#/components/schemas/Error403KcsTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on KuCoin Community Chain","tags":["KuCoin"]}},"/v3/kcs/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to Kcs blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"KcsBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403KcsBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed Kcs transaction","tags":["KuCoin"]}},"/v3/one/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase. Mnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows BIP44 specification and generates for ONE wallet with derivation path m'/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible ONE wallet.
\n","operationId":"OneGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE wallet","tags":["Harmony"]}},"/v3/one/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate ONE account deposit address from Extended public key. Deposit address is generated for the specific index - each extended public key can generate\nup to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"OneGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","example":1,"required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressOne"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE account address from Extended public key","tags":["Harmony"]}},"/v3/one/address/format/{address}":{"get":{"description":"1 credit per API call
\nTransform HEX address to Bech32 format with one prefix.
\n","operationId":"OneFormatAddress","parameters":[{"description":"Address in HEX (ETH compatible) format.","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeneratedAddressOne"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transform HEX address to Bech32 ONE address format","tags":["Harmony"]}},"/v3/one/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"OneGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate ONE private key","tags":["Harmony"]}},"/v3/one/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the ONE node provided by Tatum.\nTo learn more about ONE Web3, visit the ONE developer's guide.
\n","operationId":"OneWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["Harmony"]}},"/v3/one/block/current":{"get":{"description":"1 credit per API call
\nGet ONE current block number. This is the number of the latest block in the blockchain.
\n","operationId":"OneGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OneBlockCurrent"}}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["Harmony"]}},"/v3/one/block/{hash}":{"get":{"description":"1 credit per API call
\nGet ONE block by block hash or block number.
\n","operationId":"OneGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"6470657"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EthBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE block by hash","tags":["Harmony"]}},"/v3/one/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet ONE account balance in ONE. This method does not prints any balance of the HRM20 or HRM721 tokens on the account.
\n","operationId":"OneGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"0x3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneBalance"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE Account balance","tags":["Harmony"]}},"/v3/one/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet ONE transaction by transaction hash.
\n","operationId":"OneGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OneTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403TxNotFound"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get ONE Transaction","tags":["Harmony"]}},"/v3/one/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing ONE transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"OneGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}},{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing ONE transactions","tags":["Harmony"]}},"/v3/one/transaction":{"post":{"description":"2 credits per API call
\nSend ONE from account to account.
\nThe default shard 0
is used for the sender and the recipient.
Signing a transaction
\nWhen sending ONE, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"OneBlockchainTransfer","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferOneBlockchain"},{"$ref":"#/components/schemas/TransferOneBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OneBroadcast"},{"$ref":"#/components/schemas/Error403OneGasPrice"},{"$ref":"#/components/schemas/Error403OneTxBody"},{"$ref":"#/components/schemas/Error403OneGasCalculation"},{"$ref":"#/components/schemas/Error403OneTxHash"},{"$ref":"#/components/schemas/Error403OneTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send ONE from account to account","tags":["Harmony"]}},"/v3/one/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on Harmony.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"OneBlockchainSmartContractInvocation","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallOneReadSmartContractMethod"},{"$ref":"#/components/schemas/CallOneSmartContractMethod"},{"$ref":"#/components/schemas/CallOneSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403OneBroadcast"},{"$ref":"#/components/schemas/Error403OneGasPrice"},{"$ref":"#/components/schemas/Error403OneScBody"},{"$ref":"#/components/schemas/Error403OneGasCalculation"},{"$ref":"#/components/schemas/Error403OneTxHash"},{"$ref":"#/components/schemas/Error403OneTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on Harmony","tags":["Harmony"]}},"/v3/one/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to ONE blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"OneBroadcast","parameters":[{"description":"Shard to read data from","in":"query","name":"shardID","required":false,"schema":{"default":0,"type":"number","example":0}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403OneBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed ONE transaction","tags":["Harmony"]}},"/v3/xdc/wallet":{"get":{"description":"1 credit per API call
\nTatum supports BIP44 HD wallets. It is very convenient and secure, since it can generate 2^31 addresses from 1 mnemonic phrase.\nMnemonic phrase consists of 24 special words in defined order and can restore access to all generated addresses and private keys.\n
\nEach address is identified by 3 main values:\n
Tatum follows BIP44 specification and generates for XDC wallet with derivation path m'/44'/550'/0'/0.\nMore about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.\nGenerate BIP44 compatible XDC wallet.
\n","operationId":"XdcGenerateWallet","parameters":[{"description":"Mnemonic to use for generation of extended public and private keys.","in":"query","name":"mnemonic","required":false,"schema":{"type":"string","maxLength":500}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC wallet","tags":["XinFin"]}},"/v3/xdc/address/{xpub}/{index}":{"get":{"description":"1 credit per API call
\nGenerate XDC account deposit address from Extended public key. Deposit address is generated for the specific\nindex - each extended public key can generate up to 2^31 addresses starting from index 0 until 2^31.
\n","operationId":"XdcGenerateAddress","parameters":[{"description":"Extended public key of wallet.","in":"path","name":"xpub","required":true,"schema":{"type":"string","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"}},{"description":"Derivation index of desired address to be generated.","in":"path","name":"index","required":true,"schema":{"type":"number","example":0}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"address":{"type":"string","description":"XDC address","example":"xdca7673161CbfE0116A4De9E341f8465940c2211d4"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC account address from Extended public key","tags":["XinFin"]}},"/v3/xdc/wallet/priv":{"post":{"description":"1 credit per API call
\nGenerate private key of address from mnemonic for given derivation path index. Private key is generated for the specific index - each mnemonic\ncan generate up to 2^31 private keys starting from index 0 until 2^31.
\n","operationId":"XdcGenerateAddressPrivateKey","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKeyRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrivKey"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Generate XDC private key","tags":["XinFin"]}},"/v3/xdc/web3/{xApiKey}":{"post":{"deprecated":true,"description":"2 credits per API call
\nThis endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as a http-based web3 driver to connect directly to the XDC node provided by Tatum.\nTo learn more about XDC Web3, visit the XDC developer's guide.
\n","operationId":"XdcWeb3Driver","parameters":[{"description":"Tatum X-API-Key used for authorization.","in":"path","name":"xApiKey","required":true,"schema":{"type":"string","example":"asdlkfjnqunalkwjfnq2oi303294857k"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 method content body.","example":{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":2}}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","description":"Any valid Web3 response.","example":{"jsonrpc":"2.0","id":2,"result":"Geth/v1.9.9-omnibus-e320ae4c-20191206/linux-amd64/go1.13.4"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"x-codeSamples":[],"summary":"Web3 HTTP driver","tags":["XinFin"]}},"/v3/xdc/block/current":{"get":{"description":"1 credit per API call
\nGet XDC current block number. This is the number of the latest block in the blockchain.
\n","operationId":"XdcGetCurrentBlock","responses":{"200":{"content":{"application/json":{"schema":{"type":"number","description":"Current block number","example":649127}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get current block number","tags":["XinFin"]}},"/v3/xdc/block/{hash}":{"get":{"description":"1 credit per API call
\nGet XDC block by block hash or block number.
\n","operationId":"XdcGetBlock","parameters":[{"description":"Block hash or block number","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"647065"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcBlock"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC block by hash","tags":["XinFin"]}},"/v3/xdc/account/balance/{address}":{"get":{"description":"1 credit per API call
\nGet account balance in XDC. This method does not prints any balance of the ERC20 or ERC721 tokens on the account.
\n","operationId":"XdcGetBalance","parameters":[{"description":"Account address you want to get balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"xdc3223AEB8404C7525FcAA6C512f91e287AE9FfE7B"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in XDC","example":"10.52"}}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC Account balance","tags":["XinFin"]}},"/v3/xdc/transaction/{hash}":{"get":{"description":"2 credits per API call
\nGet XDC transaction by transaction hash.
\n","operationId":"XdcGetTransaction","parameters":[{"description":"Transaction hash","in":"path","name":"hash","required":true,"schema":{"type":"string","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/XdcTx"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get XDC Transaction","tags":["XinFin"]}},"/v3/xdc/transaction/count/{address}":{"get":{"description":"1 credit per API call
\nGet a number of outgoing XDC transactions for the address. When a transaction is sent, there can be multiple outgoing transactions,\nwhich are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents\nthe order of the transaction in the list of outgoing transactions.
\n","operationId":"XdcGetTransactionCount","parameters":[{"description":"address","in":"path","name":"address","required":true,"schema":{"type":"string","maxLength":42,"minLength":42,"example":"0xdac17f958d2ee523a2206206994597c13d831ec7"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"number","example":5,"description":"Number of transactions, that were made from this address. Can be used as a nonce parameter in send transaction calls."}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get count of outgoing XDC transactions","tags":["XinFin"]}},"/v3/xdc/transaction":{"post":{"description":"2 credits per API call
\nSend XDC or Tatum supported ERC20 token from account to account.
\n
Signing a transaction
\nWhen sending XDC, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nAlternatively, using the Tatum client library for supported languages.\n","operationId":"XdcBlockchainTransfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferXdcBlockchain"},{"$ref":"#/components/schemas/TransferXdcBlockchainKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Send XDC / ERC20 from account to account","tags":["XinFin"]}},"/v3/xdc/smartcontract":{"post":{"description":"2 credits per API call
\nInvoke a method in an existing smart contract on XinFin.
\nYou can call a read-only or write method.
\nTroubleshooting a failed transaction
\nTatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
\nFor more information about invoking methods in smart contracts, see this article on our Support Portal.
\nSigning a transaction
\nWhen invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"XdcBlockchainSmartContractInvocation","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CallXdcReadSmartContractMethod"},{"$ref":"#/components/schemas/CallXdcSmartContractMethod"},{"$ref":"#/components/schemas/CallXdcSmartContractMethodKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"},{"$ref":"#/components/schemas/Data"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403XdcBroadcast"},{"$ref":"#/components/schemas/Error403XdcGasCalculation"},{"$ref":"#/components/schemas/Error403XdcTxHash"},{"$ref":"#/components/schemas/Error403XdcTxSign"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Invoke a method in a smart contract on XinFin","tags":["XinFin"]}},"/v3/xdc/broadcast":{"post":{"description":"2 credits per API call
\nBroadcast signed transaction to XDC blockchain. This method is used internally from Tatum KMS or Tatum client libraries.\nIt is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
\n","operationId":"XdcBroadcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastKMS"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionHash"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403XdcBroadcast"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Broadcast signed XDC transaction","tags":["XinFin"]}},"/v3/multitoken/deploy":{"post":{"description":"2 credits per API call
\nDeploy Multi Token Smart Contract. This method creates new ERC1155 Smart Contract (Multi Tokens) on the blockchain. Smart contract is standardized and audited.\nIt is possible to mint, burn and transfer tokens. It is also possible to mint multiple tokens at once.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen deploying a Multi Token smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"DeployMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployMultiToken"},{"$ref":"#/components/schemas/DeployMultiTokenKMS"},{"$ref":"#/components/schemas/DeployMultiTokenCelo"},{"$ref":"#/components/schemas/DeployMultiTokenCeloKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a Multi Token smart contract","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint":{"post":{"description":"2 credits per API call
\nMint a fixed amount of Multi Token and transfer it to destination account. Create and transfer any Multi Token token from smart contract defined in contractAddress. It is possible to add Metadata to the created token with a more detailed information about instead.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"MintMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MintMultiToken"},{"$ref":"#/components/schemas/MintMultiTokenKMS"},{"$ref":"#/components/schemas/MintMultiTokenCelo"},{"$ref":"#/components/schemas/MintMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint/batch":{"post":{"description":"2 credits per API call
\nCreate a fixed amount of multiple Multi Tokens Tokens and transfer them to destination account in one transaction. Create and transfer Multi Tokens tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"MintMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MintMultiTokenBatch"},{"$ref":"#/components/schemas/MintMultiTokenBatchKMS"},{"$ref":"#/components/schemas/MintMultiTokenBatchCelo"},{"$ref":"#/components/schemas/MintMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/burn":{"post":{"description":"2 credits per API call
\nBurn a fixed amount of Multi Tokens by id. This method destroys Multi Tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BurnMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnMultiToken"},{"$ref":"#/components/schemas/BurnMultiTokenKMS"},{"$ref":"#/components/schemas/BurnMultiTokenCelo"},{"$ref":"#/components/schemas/BurnMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/burn/batch":{"post":{"description":"2 credits per API call
\nBurn multiple Multi Token Tokens by id assigned to same address in one transaction. This method destroys any Multi Tokens token from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"BurnMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnMultiTokenBatch"},{"$ref":"#/components/schemas/BurnMultiTokenBatchKMS"},{"$ref":"#/components/schemas/BurnMultiTokenBatchCelo"},{"$ref":"#/components/schemas/BurnMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction":{"post":{"description":"2 credits per API call
\nTransfer a certain amount of Multi Token from account to another account. Transfer Multi Tokens token from smart contract defined in contractAddress.
\nOnly 1 specific token with specified tokenId and value can be transferred. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and blockchains.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferMultiToken","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferMultiToken"},{"$ref":"#/components/schemas/TransferMultiTokenCelo"},{"$ref":"#/components/schemas/TransferMultiTokenKMS"},{"$ref":"#/components/schemas/TransferMultiTokenKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer a Multi Token","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction/batch":{"post":{"description":"2 credits per API call
\nTransfer Multi Token Batch from account to various other accounts in one transaction. Transfer multiple Multi Tokens token from smart contract defined in contractAddress.
\nMultiple token with specified tokenIds and values can be transferred. This method invokes ERC1155 method safeTransfer() to transfer the token in case of ETH, Celo and BSC.\n
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen transferring multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"TransferMultiTokenBatch","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferMultiTokenBatch"},{"$ref":"#/components/schemas/TransferMultiTokenBatchKMS"},{"$ref":"#/components/schemas/TransferMultiTokenBatchCelo"},{"$ref":"#/components/schemas/TransferMultiTokenBatchKMSCelo"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer multiple Multi Tokens","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/mint/add":{"post":{"description":"2 credits per API call
\nAdd Multi Token minter.
\nThis API is supported for the following blockchains:
\nSigning a transaction
\nWhen adding a Multi Token minter, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"AddMultiTokenMinter","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AddMultiTokenMinter"},{"$ref":"#/components/schemas/AddMultiTokenMinterKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403Celo"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Add a Multi Token minter","tags":["Multi Tokens (ERC-1155 or compatible)"]}},"/v3/multitoken/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing Multi Token transactions on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet Multi Token transaction by transaction hash.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet all Multi Tokens that a blockchain address holds. The Multi Tokens are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the amount of a specific Multi Token (minted on the smart contract specified by the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
This API is supported for the following blockchains:
\n1 credit per API call
\nFor multiple blockchain addresses, get the amount of one or multiple Multi Tokens (minted on the smart contract specified by the contractAddress
path parameter in the request endpoint URL) that those addresses hold.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet Multi Token metadata.
\nThis API is supported for the following blockchains:
\nThis endpoint is deprecated. Do not use it.
\nInstead, use this API.
1 credit per API call
\nGet Multi Token contract address from deploy transaction.
\nThis API is supported for the following blockchains:
\n2 credits per API call
\nDeploy a fungible token smart contract on the blockchain. In a deployed smart contract, you can mint and burn fungible tokens. The whole supply of fungible tokens (the supply
parameter in the request body) will be transferred to the specified blockchain address (the address
parameter in the request body).
Additionally, you can specify the number of additional digits for the token amounts using the digits
parameter. Please note that the maximum value for the supply
parameter with added digits is within the range of uint64
.
Smart contracts are standardized and audited.
\nThis API is supported for the following blockchains:
\nYou can review the code of a deployed smart contract here.
\nSigning a transaction
\nWhen deploying a fungible token smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"Erc20Deploy","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainDeployErc20"},{"$ref":"#/components/schemas/ChainDeploySolanaSpl"},{"$ref":"#/components/schemas/ChainDeployCeloErc20"},{"$ref":"#/components/schemas/ChainDeployKcsErc20"},{"$ref":"#/components/schemas/ChainDeployAlgoErc20"},{"$ref":"#/components/schemas/ChainDeployErc20KMS"},{"$ref":"#/components/schemas/ChainDeploySolanaSplKMS"},{"$ref":"#/components/schemas/ChainDeployCeloErc20KMS"},{"$ref":"#/components/schemas/ChainDeployKcsErc20KMS"},{"$ref":"#/components/schemas/ChainDeployAlgoErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy a fungible token smart contract","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/mint":{"post":{"description":"2 credits per API call
\nCreate new fungible tokens in the smart contract (the contractAddress
parameter in the request body) and transfer them to the specified blockchain address (the to
parameter in the request body). You can mint new fungible tokens only if the current supply of tokens in the smart contract is lower than the total supply set for this contract.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen minting fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Mint","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainMintErc20"},{"$ref":"#/components/schemas/ChainMintErc20KMS"},{"$ref":"#/components/schemas/ChainMintKcsErc20"},{"$ref":"#/components/schemas/ChainMintKcsErc20KMS"},{"$ref":"#/components/schemas/ChainMintCeloErc20"},{"$ref":"#/components/schemas/ChainMintCeloErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Mint fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/burn":{"post":{"description":"2 credits per API call
\nBurn fungible tokens. Burning fungible tokens deletes the specified supply of the tokens (the amount
parameter in the request body) from the smart contract (the contractAddress
parameter in the request body).
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen burning fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Burn","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainBurnErc20"},{"$ref":"#/components/schemas/ChainBurnErc20KMS"},{"$ref":"#/components/schemas/ChainBurnKcsErc20"},{"$ref":"#/components/schemas/ChainBurnKcsErc20KMS"},{"$ref":"#/components/schemas/ChainBurnCeloErc20"},{"$ref":"#/components/schemas/ChainBurnCeloErc20KMS"},{"$ref":"#/components/schemas/ChainBurnAlgoErc20"},{"$ref":"#/components/schemas/ChainBurnAlgoErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/approve":{"post":{"description":"2 credits per API call
\nAllow a blockchain address (the spender
parameter in the request body) to transfer and burn fungible tokens on behalf of the smart contract owner.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing a blockchain address to transfer and burn fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Approve","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ApproveErc20"},{"$ref":"#/components/schemas/ApproveErc20KMS"},{"$ref":"#/components/schemas/ApproveCeloErc20"},{"$ref":"#/components/schemas/ApproveCeloErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Allow a blockchain address to transfer and burn fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/transaction":{"post":{"description":"2 credits per API call
\nTransfer a supply of fungible tokens existing in the smart contract (the contractAddress
parameter in the request body) to the specified blockchain address (the to
parameter in the request body).
\nTransferring fungible tokens invokes the transfer()
method.
This API is supported for the following blockchains:
\nTransferring fungible tokens on Algorand
\nOn Algorand, the recipient has to agree in advance to receive your fungible tokens because Algorand charges users for storing the tokens on their addresses, and an Algorand blockchain address by default does not receive the tokens unless explicitly agreed. Before transferring the fungible tokens, make sure that the recipient has agreed to receive the NFT to their address.
Blockchain-specific APIs to transfer fungible tokens
\nYou can also use blockchain-specific APIs for transferring fungible tokens on the following blockchains:\n
Signing a transaction
\nWhen transferring fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nWhen transferring a token on Solana blockchain, this call waits for maximum 45 seconds to check whether the transaction was confirmed on chain. If the transaction was successfully added it returns a success response. Otherwise error is returned with a message:\n\"Transaction {##tx_hash##} has not been confirmed yet. The transaction could still be accepted by the Solana network. We advise to manually check if the transaction has been dropped or accepted before you try to send the transaction again\".
\n","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"operationId":"Erc20Transfer","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ChainTransferEthErc20"},{"$ref":"#/components/schemas/ChainTransferSolanaSpl"},{"$ref":"#/components/schemas/ChainTransferBscBep20"},{"$ref":"#/components/schemas/ChainTransferCeloErc20Token"},{"$ref":"#/components/schemas/ChainTransferAlgoErc20"},{"$ref":"#/components/schemas/ChainTransferKcsEthErc20"},{"$ref":"#/components/schemas/ChainTransferEthErc20KMS"},{"$ref":"#/components/schemas/ChainTransferSolanaSplKMS"},{"$ref":"#/components/schemas/ChainTransferBscBep20KMS"},{"$ref":"#/components/schemas/ChainTransferCeloErc20TokenKMS"},{"$ref":"#/components/schemas/ChainTransferAlgoErc20KMS"},{"$ref":"#/components/schemas/ChainTransferKcsEthErc20KMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error403"}]}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer fungible tokens","tags":["Fungible Tokens (ERC-20 or compatible)"]}},"/v3/blockchain/token/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing transactions related to fungible tokens on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the number of the fungible tokens minted on a specific smart contract (the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
This API is supported for the following blockchains:
\n1 credit per API call
\nGet the number of all fungible tokens that a blockchain address holds across a blockchain. The tokens are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\n100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Deploy an NFT smart contract on the blockchain. In a deployed NFT smart contract, you can mint NFTs (one NFT at a time or multiple NFTs at once), burn, and transfer NFTs.
\nSmart contracts are standardized and audited. You can review the code of a deployed NFT smart contract here (if the contract is deployed on Flow) or here (if the contract is deployed on any other supported blockchain).
\nThis API is supported for the following blockchains:
\nGeneral NFT smart contracts
\nBy default, an NFT smart contract is deployed as a general NFT smart contract compatible with OpenSea royalties. This is a standard NFT contract with AccessControl
and Ownable
, enhanced with NFT batch minting. NFTs minted on this smart contract are compatible with OpenSea and its royalty structure.
\n
You can enable public minting for smart contracts. By default, public minting is disabled, which means that only the blockchain address whose private key was used to create the smart contract or the blockchain addresses added to the smart contract as NFT minters will be able to mint NFTs for the contract. To enable public minting and allow anyone to mint NFTs on top of the smart contract, deploy the contract with the publicMint
parameter set to true
in the request body.
NFT smart contracts and NFT Express
\nIf you want to use NFT Express to mint NFTs on the deployed smart contract, deploy the smart contract as a general NFT smart contract.
\nAfter you have deployed the NFT smart contract, add the Tatum minter address as an NFT minter to your smart contract.
For the complete information about using NFT Express on your smart contract, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
\nSigning a transaction
\nWhen deploying an NFT smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftDeployErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/DeployNft"},{"$ref":"#/components/schemas/DeployNftCelo"},{"$ref":"#/components/schemas/DeployNftTron"},{"$ref":"#/components/schemas/DeployNftKMS"},{"$ref":"#/components/schemas/DeployNftCeloKMS"},{"$ref":"#/components/schemas/DeployNftTronKMS"},{"$ref":"#/components/schemas/DeployNftFlowPK"},{"$ref":"#/components/schemas/DeployNftFlowMnemonic"},{"$ref":"#/components/schemas/DeployNftTezos"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Deploy an NFT smart contract","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint/add":{"post":{"description":"2 credits per API call
\nAllow a blockchain address (the minter
parameter in the request body) to mint NFTs on your NFT smart contract (the contractAddress
parameter in the request body).
NOTE: Use this API only when you are using NFT Express with your own smart contract. For more information, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
\nDo not use this API in any other case.
This API is supported for the following blockchains:
\nSigning a transaction
\nWhen allowing a blockchain address to mint NFTs, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftAddMinter","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AddNftMinter"},{"$ref":"#/components/schemas/AddNftMinterKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Add a blockchain address as an NFT minter to an NFT smart contract","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint":{"post":{"description":"100 credits per API call on Flow
\n2 credits per API call on the other blockchains
You can mint NFTs using either of the following methods:
\n\nNFT Express is Tatum's feature that helps you mint NFTs easier than minting natively on a blockchain.
\nWith NFT Express, you can choose whether to mint NFTs on the pre-built NFT smart contract provided by Tatum or on your own smart contract.
\nIf you want to mint NFTs using the pre-built smart contract, you do not need to deploy your own NFT smart contract. You do not need to provide the address of the NFT smart contract and the token ID in the request body either. The address of the smart contract and the token ID are provided automatically by Tatum.
The token ID is autogenerated. It starts with 0 and is increased by 1 for each new NFT. The token ID is calculated separately for each supported blockchain and its mainnet and testnet.
\nFor more information, see our user documentation.
You can mint NFTs on the pre-built smart contract provided by Tatum on the following blockchains:
\nDepending on what blockchain you use, choose the request body schema to use in the API call.
\nMintNftExpress
schema of the request body.MintNftExpressAlgorand
schema of the request body.manager
parameter.MintNftExpressTezos
schema of the request body. In order to use this function, it is necessary to deploy the contract using NFT Express transferNftAlgoExpress
schema of the request body).MintNftExpressSolana
schema of the request body.to
parameter of the request body). This address is returned in the nftAccountAddress
parameter in the response body, is owned by the recipient's address, and has the same private key.nftAddress
parameter.If you want to mint NFTs using your own smart contract, you are going to use an NTF minter, a special blockchain address provided by Tatum that will cover the minting fees. The number of credits equivalent to the fees will be then deducted from the monthly credit allowance of your paid pricing plan.\n
For more information, see our user documentation and the article in the Tatum blog.
\nYou can mint NFTs on your own smart contract on the following blockchains:
\nTo mint NFTs using your own smart contract, do the following:
\nMintNftMinter
schema of the request body.chain
is the blockchain that you use.to
is the blockchain address where to send the minted NFT to.url
is the URL of the NFT metadata.minter
is the address of the NFT minter that you found in Step 1.contractAddress
is the address of your NFT smart contract.tokenId
is the the token ID of the NFT.\n{\n \"chain\": \"CELO\",\n \"to\": \"0x8ce4e40889a13971681391aad29e88efaf91f784\",\n \"url\": \"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\",\n \"contractAddress\": \"0x687422eEA2cB73B5d3e242bA5456b782919AFc85\",\n \"tokenId\": \"0123\",\n \"minter\": \"0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F\"\n}\n\nWhen you make an API call with this request body, the private key of the NFT minter will be added to the request body automatically:\n
\n{\n \"chain\": \"CELO\",\n \"to\": \"0x8ce4e40889a13971681391aad29e88efaf91f784\",\n \"url\": \"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\",\n \"contractAddress\": \"0x687422eEA2cB73B5d3e242bA5456b782919AFc85\",\n \"tokenId\": \"0123\",\n \"minter\": \"0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F\",\n \"fromPrivateKey\": \"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2\"\n}\n\n
The following table lists the blockchain addresses of the Tatum NFT minters for the testnet and mainnet of the supported blockchains:
\nBlockchain | \nMinter address - testnet* | \nMinter address - mainnet** | \n
---|---|---|
BNB Smart Chain | \n0xc16ae5e8c985b906935a0cadf4e24f0400531883 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Celo | \n0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Ethereum | \n0x53e8577C4347C365E4e0DA5B57A589cB6f2AB848 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Harmony | \n0x8906f62d40293ddca77fdf6714c3f63265deddf0 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Klaytn | \n0x80d8bac9a6901698b3749fe336bbd1385c1f98f2 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Polygon | \n0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5 | \n0x49678AAB11E001eb3cB2cBD9aA96b36DC2461A94 | \n
Horizen Eon | \n0x53e8577c4347c365e4e0da5b57a589cb6f2ab848 | \n0x625805bf8fe714589ea8c90dbc294e656104c7b3 | \n
*If a minter blockchain address on the testnet does not have sufficient funds to cover the transaction fee, add some amount to it using a crypto faucet of the blockchain.
\n**To be able to use NFT Express on the mainnet, you have to have a paid pricing plan.
For Ethereum specifically, we recommend an Enterprise Plan because transaction fees on Ethereum are very high.
When minting an NFT natively on a blockchain, you are using your own smart contract. You are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
\nProviding the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nYou can mint NFTs natively on the following blockchains:
\nDepending on what blockchain you use, choose the request body schema to use in the API call.
\nMintNftAlgorand
schema of the request body.MintNftAlgorandKMS
schema of the request body.manager
parameter.MintNft
schema of the request body.MintNftKMS
schema of the request body.MintNftCelo
schema of the request body.MintNftKMSCelo
schema of the request body.MintNftFlowPK
schema of the request body.MintNftFlowMnemonic
schema of the request body.MintNftFlowKMS
schema of the request body.MintNftSolana
schema of the request body.MintNftSolanaKMS
schema of the request body.MintNftTron
schema of the request body.MintNftKMSTron
schema of the request body.MintNftTezos
schema of the request body.100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Transfer an NFT from the smart contract (the contractAddress
parameter in the request body) to the specified blockchain address (the to
parameter in the request body).
In one API call, you can transfer only one NFT.
\nThis API is supported for the following blockchains:
\nFor Ethereum, Celo, Flare and BNB Smart Chain, transferring NFTs invokes the safeTransfer()
method.
Transferring NFTs on Algorand
\ntransferNftAlgoExpress
schema of the request body.Transferring NFTs on Solana
\nIf you want to transfer an NFT that was minted using NFT Express, use the transferNftSolana
or transferNftSolanaKMS
schema of the request body. In the request body:\n
from
parameter to the address that you used in the to
parameter in the request body of the minting call.to
parameter to the recipient's address.contractAddress
parameter to the address from the nftAddress
parameter returned in the response body of the minting call.fromPrivateKey
/signatureId
parameter to the private key/signature ID of the blockchain address that you specified in the from
parameter.Signing a transaction
\nWhen transferring an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\nNOTE: This does not apply to transferring NFTs that were minted on Algorand using NFT Express (see earlier in this section).
\n","operationId":"NftTransferErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransferNft"},{"$ref":"#/components/schemas/TransferNftCelo"},{"$ref":"#/components/schemas/TransferNftTron"},{"$ref":"#/components/schemas/TransferNftSolana"},{"$ref":"#/components/schemas/TransferNftAlgo"},{"$ref":"#/components/schemas/TransferNftAlgoExpress"},{"$ref":"#/components/schemas/TransferNftFlowPK"},{"$ref":"#/components/schemas/TransferNftFlowMnemonic"},{"$ref":"#/components/schemas/TransferNftTezos"},{"$ref":"#/components/schemas/TransferNftKMS"},{"$ref":"#/components/schemas/TransferNftKMSCelo"},{"$ref":"#/components/schemas/TransferNftAlgoKMS"},{"$ref":"#/components/schemas/TransferNftSolanaKMS"},{"$ref":"#/components/schemas/TransferNftFlowKMS"},{"$ref":"#/components/schemas/TransferNftKMSTron"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Transfer an NFT","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/mint/batch":{"post":{"description":"100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Create multiple NFT Tokens and transfer them to destination account. Create and transfer any NFT tokens from smart contract defined in contractAddress.
\nThis API is supported for the following blockchains:
\n{\n \"to\": [\"0x80d8bac9a6901698b3749fe336bbd1385c1f98f2\"],\n \"url\": [\"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj\"],\n \"tokenId\": [\"9876541124516\"],\n \"contractAddress\":\"0x3cbb48f740595ed846abb641adfcd9f04588348d\",\n \"minter\": \"0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5\",\n \"chain\": \"MATIC\"\n}\nThe blockchain fee of the performed transaction is paid from the address connected with built-in private key and is debited in form of credits. The credits are debited only if NFT mint requests are performed with paid API key plan.\nWe transform fee to the credits in accordance to the rates provided by the Tatum.\nIf you want to batch mint on ERC-721 contract which is not deployed via Tatum API, your smart contract must contain this method:\n
mintMultiple(address[] to, uint256[] tokenId, string[] uri): boolean\nYou can use addresses specified in the bellow table to be used as a minter.\n
Chain | \nTestnet address | \nMainnet Address | \n
---|---|---|
MATIC | \n0x542b9ac4945a3836fd12ad98acbc76a0c8b743f5 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
BSC | \n0xc16ae5e8c985b906935a0cadf4e24f0400531883 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
ONE | \n0x8906f62d40293ddca77fdf6714c3f63265deddf0 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
ETH | \n0x53e8577C4347C365E4e0DA5B57A589cB6f2AB848 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
CELO | \n0xBC2eBA680EE50d685cc4Fe65f102AA70AfB27D3F | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
KLAY | \n0x80d8bac9a6901698b3749fe336bbd1385c1f98f2 | \n0xcf9e127455d28e7362380aec1b92ddee8200b295 | \n
100 credits per API call on Flow
\n2 credits per API call on the other blockchains
Destroy an NFT. Burning the NFT transfers it to an un-spendable blockchain address that no one can access.
\nThis API is supported for the following blockchains:
\nBurning NFTs on Algorand
\nYou can burn only the NFTs that were minted with the address of the manager account specified in the manager
parameter in the minting call (see the MintNftExpressAlgorand
, MintNftAlgorand
, and MintNftAlgorandKMS
schemas of the request body).
Burning NFTs on Tezos
\nYou can burn only the NFTs if you are admin or minter of the contract
Signing a transaction
\nWhen burning an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftBurnErc721","parameters":[{"$ref":"#/components/parameters/TestnetTypeQuery"},{"$ref":"#/components/parameters/TestnetTypeHeader"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BurnNft"},{"$ref":"#/components/schemas/BurnNftCelo"},{"$ref":"#/components/schemas/BurnNftAlgo"},{"$ref":"#/components/schemas/BurnNftTezos"},{"$ref":"#/components/schemas/BurnNftKMSCelo"},{"$ref":"#/components/schemas/BurnNftTron"},{"$ref":"#/components/schemas/BurnNftSolana"},{"$ref":"#/components/schemas/BurnNftSolanaKMS"},{"$ref":"#/components/schemas/BurnNftKMSTron"},{"$ref":"#/components/schemas/BurnNftKMS"},{"$ref":"#/components/schemas/BurnNftAlgoKMS"},{"$ref":"#/components/schemas/BurnNftFlowPK"},{"$ref":"#/components/schemas/BurnNftFlowMnemonic"},{"$ref":"#/components/schemas/BurnNftFlowKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Burn an NFT","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/verify":{"post":{"description":"2 credits per API call
\nVerify an NFT in an NFT collection on Solana. Verifying an NFT sets the Verified
parameter to true
for the NFT, which means that the NFT is really a part of the collection. To know more about Solana collections and verification, refer to the Solana user documentation.
The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program. The NFT must have been minted in this collection.
\nThis API is supported only for Solana.
\nSigning a transaction
\nWhen verifying an NFT, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
\nFor signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
\n","operationId":"NftVerifyInCollection","requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/VerifySolanaNFT"},{"$ref":"#/components/schemas/VerifySolanaNFTKMS"}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/TransactionHash"},{"$ref":"#/components/schemas/SignatureId"}]}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Verify an NFT in an NFT collection on Solana","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/transaction/{chain}/{address}/{tokenAddress}":{"get":{"description":"1 credit per API call
\nGet incoming and outgoing NFT transactions on a blockchain address.
\nThis API is supported for the following blockchains:
\n1 credit per API call
Get incoming and outgoing transactions for an NFT.
This API is supported for the following blockchains:
1 credit per API call
\nGet an NFT transaction by its hash.
\nThis API is supported for the following blockchains:
\n1 credit per API call + 5 credits for each owned NFT
\nGet all NFTs that a blockchain address holds. The NFTs are returned grouped by the smart contracts they were minted on.
\nThis API is supported for the following blockchains:
\nOn Solana and Algorand, if a blockchain address holds fewer than 50 NFTs, the API also returns each NFT's metadata. If the metadata is not returned, you can obtain it using the API for getting NFT metadata.
\n","operationId":"NftGetTokensByAddressErc721","parameters":[{"description":"The blockchain to work with","in":"path","name":"chain","required":true,"schema":{"type":"string","example":"SOL","enum":["ALGO","BSC","CELO","ETH","MATIC","SOL"]}},{"description":"The blockchain address that you want to get the token balance of","in":"path","name":"address","required":true,"schema":{"type":"string","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NftTokenByAddressErc721"}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get NFT balance of the wallet","tags":["NFT (ERC-721 or compatible)"]}},"/v3/nft/collection/{chain}/{address}":{"get":{"description":"1 credit per API call + 5 credits for each listed NFT
\nGet all NFTs from a collection (all the NFTs that were minted on the smart contract).
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet the NFTs minted on a specific smart contract (the contractAddress
path parameter in the request endpoint URL) that a blockchain address holds.
NOTE: This API works only for the NFT smart contracts deployed using the Tatum smart contract API.
\nThis API is supported for the following blockchains:
\n1 credit per API call
\nGet metadata of an NFT.
\nThis API is supported for the following blockchains:
\nThis endpoint is deprecated. Do not use it.
\nInstead, use this API.
1 credit per API call
\nGet NFT contract address from deploy transaction.
\nThis API is supported for the following blockchains:
\n10 credits per API call
\nGet all NFTs (ERC-721 and ERC-1155) and multitokens (ERC-1155 only) of your favorite collections! Our API lets you search for all tokens on:
\nTo get started:
\nexcludeMetadata
to true
).tokenType
.excludeMetadata
and tokenType
won't have any effect on filtering data.5 credits per API call
\nGet metadata of NFTs (ERC-721 and ERC-1155) or multitokens (ERC-1155 only) by IDs for a given token address! Our API lets you search for all tokens on:
\nTo get started:
\n50 credits per API call
\nGet balances of fungible tokens (ERC-20), NFTs (ERC-721 and ERC-1155) or multitokens (ERC-1155 only) for a specific wallet address on the following blockchains:
\nTo get started:
\nexcludeMetadata
to true
).tokenTypes
.excludeMetadata
.20 credits per API call
\nGet all addresses that own your favorite token (ERC-20, ERC-721 or ERC-1155)! Our API lets you search for all token owners on:
\nTo get started:
\ntokenId
. In case of multitoken, result is an array of addresses.1 credit per API call
\nCheck if wallet address owns any specified token (ERC-20, ERC-721 or ERC-1155) on the following blockchains:
\nTo get started:
\ntrue
if provided wallet address owns them.false
and status code is 200
.tokenId
.20 credits per API call
\nGet transactions on the following blockchains:
\nTo get started:
\ntransactionTypes
and even transactionSubtype
(incoming, outgoing, zero-transfer).addresses
query parameter. Following query parameters won't have any effect on filtering data: transactionTypes
, transactionSubtype
, tokenId
, blockTo
.pageSize
and offset
query parameters. \ncursor
query parameter, by filling in the value from prevPage
or nextPage
field in the response body.5 credits per API call
\nGet transactions by hash on the following blockchains:
\nTo get started:
\n20 credits per API call
\nGet all events on given addresses and / or in the requested block range on the following blockchains:
\nTo get started:
\nAs noted above, aside from general info and hashed event data, the API also decodes them for you in case you filter by one of the following supported event types:
\ntokenTransfer
: All transfers of fungible tokens (including stablecoins) and NFTs as per ERC-20 and ERC-721 standard.multitokenTransfer
: All transfers of multitokens (both single transfers and batch transfers) as per ERC-1155 standard.stablecoinTransfer
: Refers to the transfer of specific stablecoins on the mainnet. Typically, the top 10 to 16 stablecoins on each chain according to CoinMarketCap are included. If the contractAddresses
parameter is also used in the filter combination, any tokens specified in it will also be included in the list.uniswapTrade
: Provides all swap events that occur on both Uniswap V2 and V3. In some cases, it may not be possible to map the swapped amounts to specific tokens. As a result, certain decoded data such as token amounts might be missing or in the original big number format. This will be indicated by the response parameter partiallyRaw: true
.10 credits per API call
\nGet information about blocks (when they were added, how many NFTs and events were ingested and list of transaction hashes that were processed within them) on the following blockchains:
\nTo get started, provide a chain and specify one of the filters listed below (combination of these filters is not allowed):
\n1 credit per API call
\nGet information about latest added block on the following blockchains:
\nTo get started, you can just provide a chain.
\n","operationId":"GetLatestBlock","parameters":[{"description":"The blockchain to work with.","in":"query","name":"chain","required":true,"schema":{"$ref":"#/components/schemas/ChainEnum"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlockItem","description":"Latest block added to a blockchain.","example":{"blockNumber":25987956,"blockTimestamp":1677372871000,"hash":"0x047a6ab09f86c760c145dc09b7a43b74d6ad957133ba4462a5530c642d4d9f17","eventIngestedSize":351,"nftIngestedSize":7,"txHashes":["0x01a7983d1391b74305840e4960ba6c61417a9398cb938c3522d0a4a9cedf488f","0x0478fdae7e5e6f1eb522e6f43ba760c924b1f72d16e4dadc332f150829d09cbe","0x05d00f08ae523e445c3b1e7bbabec1896091234643d50e8bcdb76ddd3ff3827a","0x0b644c19257cf34ab98c509c7901af5a4ad8c6f537b625b46ee771a45f1940dc","0x0c1016bf317946d9997588ee3b932bc8ba6033cfcb83eca4b5ebcc4f5eaa076d"]}}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error400"}}},"description":"Bad Request. Validation failed for the given object in the HTTP Body or Request parameters."},"401":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error401NotActive"},{"$ref":"#/components/schemas/Error401Invalid"}]}}},"description":"Unauthorized. Not valid or inactive subscription key present in the HTTP Header."},"403":{"description":"Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error403"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error500"}}},"description":"Internal server error. There was an error on the server during the processing of the request."}},"security":[{"X-API-Key":[]}],"x-codeSamples":[],"summary":"Get latest block","tags":["Data API"]}},"/v3/data/tokens":{"get":{"description":"1 credit per API call
\nGet information about your favorite token! Our API lets you search for all tokens on:
\nTo get started:
\ntokenId
as a query parameter.100 credits per API call
\nGet unspent UTXOs for a specific address up to a specific total amount.\nIf you want to prepare a transaction on UTXO-based chains like Bitcoin, you need to enter unspent UTXOs to be able to perform a transaction. By providing ```totalValue``` as a total, our API will return a list of UTXOs that will be enough to cover the transaction.
\nOur API lets you get the unpenst UTXOs for a specific address on:\nTo get started:
\n100 credits per address for each API call.
\nRetrieve unspent UTXOs for each provided address, up to a specified total amount.\nIf you want to prepare a transaction on UTXO-based chains like Bitcoin, you need to enter unspent UTXOs to be able to perform a transaction. By providing ```totalValue``` as a total, our API will return a list of UTXOs that will be enough to cover the transaction.
\nOur API lets you get the unpenst UTXOs for a specific address on:\nTo get started:
\nfromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromUTXO":{"type":"object","required":["to","fromUTXO","fee","changeAddress"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","address","amount","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"amount":{"description":"The amount of the UTXO to be spent, in ADA","type":"number","example":0,"minimum":0,"maximum":1.652},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"8873d5e84af86978f03b63d9ffc9c6f940bd8501d32e91980c904e8d81c305507dc95992faa5aefccb263b28b411eda2dde7882d922742663804a69d78182e34","minLength":128,"maxLength":128},"address":{"description":"The address that holds the UTXO to be spent","type":"string","example":"addr_test1vzfp68vn36ze5yz7x7evracmasuptjmz99qk4j23gun3pcqhlevq5","minLength":0,"maxLength":128}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromAddressKMS":{"type":"object","required":["to","fromAddress","fee","changeAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"AdaTransactionFromUTXOKMS":{"type":"object","required":["to","fromUTXO","fee","changeAddres"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","signatureId","index"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"amount":{"description":"The amount of the UTXO to be spent, in ADA","type":"number","example":0,"minimum":0,"maximum":1.652},"address":{"description":"The address that holds the UTXO to be spent","type":"string","example":"addr_test1vzfp68vn36ze5yz7x7evracmasuptjmz99qk4j23gun3pcqhlevq5","minLength":0,"maxLength":128},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in ADA). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128},"value":{"description":"The amount to receive (in ADA)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"number","description":"The fee to be paid for the transaction (in ADA).","example":0.0015},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee.","type":"string","example":"addr_test1vzdts2y4k47zwypzdh36azxx0w4v8tev6m6svtz9fud0emgchuswu","minimum":30,"maximum":128}}},"BtcTransactionFromAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromAddressSource":{"type":"object","required":["address","privateKey"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS","minimum":30,"maximum":50},"privateKey":{"description":"The private key of the address to send the assets from","type":"string","minimum":52,"maximum":52,"example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf"}}},"BtcTransactionFromAddressTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaining after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromUTXOSource":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}},"BtcTransactionFromUTXOTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressKMSSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromAddressKMSTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromAddressKMSSource":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS","minimum":30,"maximum":50},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}},"BtcTransactionFromAddressKMSTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BtcTransactionFromUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMSSource"}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"$ref":"#/components/schemas/BtcTransactionFromUTXOKMSTarget"}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"BtcTransactionFromUTXOKMSSource":{"type":"object","required":["txHash","signatureId","index"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}},"BtcGetTxByAddressBatch":{"type":"object","properties":{"txType":{"description":"Type of the transaction to fetch - either incoming, or outgoing. If none is present - all transactions are fetched.","type":"string","example":"incoming","enum":["incoming","outgoing"]},"addresses":{"description":"Addresses","type":"array","items":{"type":"string"},"maxItems":50,"minItems":1,"example":["bc1qdj8dxppx6gyukpemsqx06a39877rt8kcc08uqs","bc1qjwqv9qqnen2gmkqm57p2tl5pqqsyh0xnr7wnk2"]}},"required":["addresses"]},"BtcTransactionFromUTXOKMSTarget":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BTC)","type":"number","minimum":0,"example":0.02969944}}},"BchBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"000000000000000005e14d3f9fdfb70745308706615cfa9edca4f4558332b201"},"size":{"type":"number","description":"Block size.","example":81577},"height":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":500000},"version":{"type":"number","description":"Block version.","example":536870912},"merkleroot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"4af279645e1b337e655ae3286fc2ca09f58eb01efa6ab27adedd1e9e6ec19091"},"tx":{"type":"array","description":"List of transactions present in the block.","items":{"$ref":"#/components/schemas/BchTx"}},"time":{"type":"number","description":"Time of the block.","example":1509343584},"nonce":{"type":"number","description":"Arbitrary number that is used in Bitcoin's proof of work consensus algorithm.","example":3604508752},"difficulty":{"type":"number","example":113081236211.45331},"confirmations":{"type":"number","description":"Number of blocks mined after this block.","example":109602},"previousblockhash":{"type":"string","description":"Hash of the previous block.","example":"0000000000000000043831d6ebb013716f0580287ee5e5687e27d0ed72e6e523"},"nextblockhash":{"type":"string","description":"Hash of the next block.","example":"00000000000000000568f0a96bf4348847bc84e455cbfec389f27311037a20f3"}}},"BchInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"main"},"blocks":{"type":"number","description":"Last block.","example":609604},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"0000000000000000024997c878c5a90bd73cd50060877c4f70eef1f2e92243f5"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":375206303347.133}}},"BchTransaction":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BCH). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BCH)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BCH); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60}}},"BchTransactionKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in BCH). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in BCH)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in BCH); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez","minimum":30,"maximum":60}}},"BchTx":{"type":"object","properties":{"txid":{"type":"string","example":"fe28050b93faea61fa88c4c630f0e1f0a1c24d0082dd0e10d369e13212128f33"},"version":{"type":"number","example":1},"locktime":{"type":"number","example":0},"vin":{"type":"array","items":{"type":"object","properties":{"txid":{"type":"string","example":"eea57285462dd70dadcd431fc814857b3f81fe4d0a059a8c02c12fd7d33c02d1"},"vout":{"type":"number","example":0},"scriptSig":{"properties":{"hex":{"type":"string","example":"48304502210083753ff9954579f1062d60905650d5d07f50dedc96f9425403b80957f199e1ee022053625597b069c48ed29f8825bd3c8f66757ccaa21a7bb49314eae4eca1fb8d7041210299b1eedeb115b5880cd5e0df0717bd982748a8e003e34371dc36301e17ee0ed6"},"asm":{"type":"string","example":"304502210083753ff9954579f1062d60905650d5d07f50dedc96f9425403b80957f199e1ee022053625597b069c48ed29f8825bd3c8f66757ccaa21a7bb49314eae4eca1fb8d70[ALL|FORKID] 0299b1eedeb115b5880cd5e0df0717bd982748a8e003e34371dc36301e17ee0ed6"}},"type":"object"},"coinbase":{"type":"string","example":"04ffff001d02fd04"},"sequence":{"type":"number","example":2147483647}}}},"vout":{"type":"array","items":{"type":"object","properties":{"value":{"type":"number","example":50},"n":{"type":"number","example":0},"scriptPubKey":{"properties":{"hex":{"type":"string","example":"4104f5eeb2b10c944c6b9fbcfff94c35bdeecd93df977882babc7f3a2cf7f5c81d3b09a68db7f0e04f21de5d4230e75e6dbe7ad16eefe0d4325a62067dc6f369446aac"},"asm":{"type":"string","example":"04f5eeb2b10c944c6b9fbcfff94c35bdeecd93df977882babc7f3a2cf7f5c81d3b09a68db7f0e04f21de5d4230e75e6dbe7ad16eefe0d4325a62067dc6f369446a OP_CHECKSIG"},"addresses":{"type":"array","items":{"type":"string"},"example":["1BW18n7MfpU35q4MTBSk8pse3XzQF8XvzT"]},"type":{"type":"string","example":"pubkeyhash"}},"type":"object"}}}}}},"DogeInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"blocks":{"type":"number","description":"Last block.","example":1234314},"headers":{"type":"number","description":"Last headers.","example":1234314},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":0.0018856935093586335}}},"DogeBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"height":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"size":{"type":"number","description":"The size of the block.","example":1234314},"confirmations":{"type":"number","description":"Number of confirmations of that block.","example":1234314},"weight":{"type":"number","description":"The weight of the block.","example":1234314},"version":{"type":"number","example":536870912,"description":"Block version."},"previousblockhash":{"type":"string","description":"Hash of the previous block.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"merkleRoot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0"},"time":{"type":"number","description":"Time of the block.","example":1572865501},"bits":{"type":"number","example":503452237},"nonce":{"type":"number","description":"Arbitrary number that is used in Litecoin's proof of work consensus algorithm.","example":2278594841},"txs":{"type":"array","items":{"$ref":"#/components/schemas/DogeTx"}}}},"DogeTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"size":{"type":"number","description":"Size of the transaction.","example":145},"vsize":{"type":"number","example":145},"version":{"type":"number","description":"Index of the transaction.","example":2},"vin":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"txid":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"vout":{"type":"number","description":"Transaction index of the input.","example":1},"scriptSig":{"type":"object","properties":{"asm":{"type":"string"},"hex":{"type":"string"}}},"sequence":{"type":"number","example":4294967294}}}},"vout":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"number","description":"Amount of UTXO in 1/1000000 DOGE.","example":1000},"n":{"type":"number","description":"Transaction index of the output.","example":1},"scriptPubKey":{"type":"object","properties":{"asm":{"type":"string","example":"OP_HASH160 905c261d73922a21a16f505cefccaa07aaee50cd OP_EQUAL"},"hex":{"type":"string","example":"a914905c261d73922a21a16f505cefccaa07aaee50cd87"},"type":{"type":"string","example":"scripthash"},"addresses":{"type":"array","items":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}}}}},"locktime":{"type":"number","example":1233222}}},"DogeUTXO":{"type":"object","properties":{"scriptPubKey":{"type":"object","properties":{"asm":{"type":"string","example":"OP_HASH160 905c261d73922a21a16f505cefccaa07aaee50cd OP_EQUAL"},"hex":{"type":"string","example":"a914905c261d73922a21a16f505cefccaa07aaee50cd87"},"type":{"type":"string","example":"scripthash"},"addresses":{"type":"array","items":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"version":{"type":"number","description":"The version of the transaction","example":2},"height":{"type":"number","description":"The height (number) of the block where the transaction is included in","example":1233224},"value":{"type":"number","description":"The amount of the UTXO (in 1/1000000 DOGE)","example":1000},"coinbase":{"type":"boolean","description":"If set to \"true\", the transaction is a coinbase transaction (a transaction created by a Bitcoin miner to collect their reward)","example":false},"bestblock":{"type":"string","description":"The block hash","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"}}},"DogeTransactionUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","value","address","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"value":{"type":"string","description":"The amount to send (in DOGE)","example":"0.0015"},"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey","value","address"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"value":{"type":"string","description":"The amount to send (in DOGE)","example":"0.0015"},"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["privateKey","address"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"DogeTransactionAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["signatureId","address"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in DOGE). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in DOGE)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in DOGE); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcInfo":{"type":"object","properties":{"chain":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"blocks":{"type":"number","description":"Last block.","example":1234314},"headers":{"type":"number","description":"Last headers.","example":1234314},"bestblockhash":{"type":"string","description":"Hash of the last block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"difficulty":{"type":"number","description":"Difficulty of the PoW algorithm.","example":0.0018856935093586335}}},"LtcBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"blockNumber":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"version":{"type":"number","example":536870912,"description":"Block version."},"prevBlock":{"type":"string","description":"Hash of the previous block.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"merkleRoot":{"type":"string","description":"The root node of a merkle tree, a descendant of all the hashed pairs in the tree.","example":"a1634a42a8e956a5fb5225d06c3af6207e7f6fe5a00fa45229edfd0ddfa587f0"},"time":{"type":"number","description":"Time of the block.","example":1572865501},"bits":{"type":"number","example":503452237},"nonce":{"type":"number","description":"Arbitrary number that is used in Litecoin's proof of work consensus algorithm.","example":2278594841},"txs":{"type":"array","items":{"$ref":"#/components/schemas/LtcTx"}}}},"LtcTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"witnessHash":{"type":"string","description":"Witness hash in case of a SegWit transaction.","example":"d819688a3ac77cb6d2751808e5411baf7e20fa3eeeccf65867554a09beddd9a3"},"fee":{"type":"string","description":"Fee paid for this transaction, in LTC.","example":"0.00001682"},"rate":{"type":"string","example":"0.00010011"},"ps":{"type":"number","example":1572703011},"blockNumber":{"type":"number","description":"Height of the block this transaction belongs to.","example":1233224},"block":{"type":"string","description":"Hash of the block this transaction belongs to.","example":"b540bf37450eae0fb9fb7f190009ca890f0dd17cb19521c6241a0dc5e70f67dc"},"time":{"type":"number","description":"Time of the transaction.","example":1572694484},"index":{"type":"number","description":"Index of the transaction in the block.","example":2},"version":{"type":"number","description":"Index of the transaction.","example":2},"flag":{"type":"number","example":1},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"prevout":{"properties":{"hash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"index":{"type":"number","description":"Transaction index of the input.","example":1}},"type":"object"},"script":{"type":"string","description":"Data generated by a spender which is almost always used as variables to satisfy a pubkey script.","example":"1600148c65244f095f3689aebb70981d102e33036fe786"},"witness":{"type":"string","description":"Transaction witness.","example":"0247304402202cad8f03fd061fbdd19d285f528dd7451c3818f4a1d0f5f9f559f141fb910c6e02203fb62fc770cf54ae53e4b488b589f9f096d28c1bd24dc8e4d80783dd58041826012102c44d21e840b24c786a7eff2980e35f51c4abcc9a032e7a132ca258f90ee4a19d"},"sequence":{"type":"number","example":4294967294},"coin":{"properties":{"version":{"type":"number","example":2},"height":{"type":"number","example":1232869},"value":{"type":"string","description":"Value of the transaction, in LTC.","example":"0.0989946"},"script":{"type":"string","example":"a91472593295cfe5e7ea466e43822167cabcb2cb103387"},"address":{"type":"string","description":"Sender address.","example":"2N3fqsiA5Nk4pZGWcfZApATGhXfn9B74oXK"},"coinbase":{"type":"boolean","description":"Coinbase transaction - miner fee.","example":false}},"type":"object"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in LTC.","example":"0.0015"},"script":{"type":"string","description":"Transaction script.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"locktime":{"type":"number","description":"Block this transaction was included in.","example":1233222}}},"DogeTxByAddress":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"witnessHash":{"type":"string","description":"Witness hash in case of a SegWit transaction.","example":"d819688a3ac77cb6d2751808e5411baf7e20fa3eeeccf65867554a09beddd9a3"},"fee":{"type":"string","description":"Fee paid for this transaction, in DOGE.","example":"0.00001682"},"rate":{"type":"string","example":"0.00010011"},"ps":{"type":"number","example":1572703011},"blockNumber":{"type":"number","description":"Height of the block this transaction belongs to.","example":1233224},"block":{"type":"string","description":"Hash of the block this transaction belongs to.","example":"b540bf37450eae0fb9fb7f190009ca890f0dd17cb19521c6241a0dc5e70f67dc"},"time":{"type":"number","description":"Time of the transaction.","example":1572694484},"index":{"type":"number","description":"Index of the transaction in the block.","example":2},"version":{"type":"number","description":"Index of the transaction.","example":2},"flag":{"type":"number","example":1},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"prevout":{"properties":{"hash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"index":{"type":"number","description":"Transaction index of the input.","example":1}},"type":"object"},"script":{"type":"string","description":"Data generated by a spender which is almost always used as variables to satisfy a pubkey script.","example":"1600148c65244f095f3689aebb70981d102e33036fe786"},"witness":{"type":"string","description":"Transaction witness.","example":"0247304402202cad8f03fd061fbdd19d285f528dd7451c3818f4a1d0f5f9f559f141fb910c6e02203fb62fc770cf54ae53e4b488b589f9f096d28c1bd24dc8e4d80783dd58041826012102c44d21e840b24c786a7eff2980e35f51c4abcc9a032e7a132ca258f90ee4a19d"},"sequence":{"type":"number","example":4294967294},"coin":{"properties":{"version":{"type":"number","example":2},"height":{"type":"number","example":1232869},"value":{"type":"string","description":"Value of the transaction, in DOGE.","example":"0.0989946"},"script":{"type":"string","example":"a91472593295cfe5e7ea466e43822167cabcb2cb103387"},"address":{"type":"string","description":"Sender address.","example":"2N3fqsiA5Nk4pZGWcfZApATGhXfn9B74oXK"},"coinbase":{"type":"boolean","description":"Coinbase transaction - miner fee.","example":false}},"type":"object"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in DOGE.","example":"0.0015"},"script":{"type":"string","description":"Transaction script.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"}}}},"locktime":{"type":"number","description":"Block this transaction was included in.","example":1233222}}},"LtcUTXO":{"type":"object","properties":{"version":{"type":"number","description":"The version of the transaction","example":2},"height":{"type":"number","description":"The height (number) of the block where the transaction is included in","example":1233224},"value":{"type":"number","description":"The amount of the UTXO","example":30000000},"script":{"type":"string","description":"Data generated by the spender; is almost always used as variables to satisfy the conditions in the pubkey script","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"The blockchain address of the UTXO owner","example":"n4YNG8q5JyxkeWf7zMi1bMyRZbRKK1W7or"},"coinbase":{"type":"boolean","description":"If set to \"true\", the transaction is a coinbase transaction (a transaction created by a Bitcoin miner to collect their reward)","example":false},"hash":{"type":"string","description":"The hash of the transaction","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"index":{"type":"number","description":"The index of the transaction output checked for the UTXO","example":0}}},"LtcTransactionAddress":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their private keys. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","privateKey"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","minimum":30,"maximum":50,"example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS"},"privateKey":{"description":"The private key of the address to send the assets from","type":"string","minimum":52,"maximum":52,"example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf"}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionUTXO":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the private keys of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","privateKey"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address that holds the UTXO to be spent","type":"string","example":"cVX7YtgL5muLTPncHFhP95oitV1mqUUA5VeSn8HeCRJbPqipzobf","minLength":52,"maxLength":52}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionAddressKMS":{"type":"object","required":["to","fromAddress"],"properties":{"fromAddress":{"description":"The array of blockchain addresses to send the assets from and their signature IDs. For each address, the last 100 transactions are scanned for any UTXO to be included in the transaction.","type":"array","items":{"type":"object","required":["address","signatureId"],"properties":{"address":{"description":"The blockchain address to send the assets from","type":"string","minimum":30,"maximum":50,"example":"2N9bBiH2qrTDrPCzrNhaFGdkNKS86PJAAAS"},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the address to send the assets from"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromAddress
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee to; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"LtcTransactionUTXOKMS":{"type":"object","required":["to","fromUTXO"],"properties":{"fromUTXO":{"description":"The array of transaction hashes, indexes of its UTXOs, and the signature IDs of the associated blockchain addresses","type":"array","items":{"type":"object","required":["txHash","index","signatureId"],"properties":{"txHash":{"description":"The transaction hash of the UTXO to be spent","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"The index of the UTXO to be spent","type":"number","example":0,"minimum":0,"maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"The KMS identifier of the private key of the blockchain address that holds the UTXO to be spent"},"signatureIdIndex":{"description":"Index of the address in the wallet. Required when signatureId represents the mnenomic.","type":"number","example":0,"minimum":0,"maximum":2147483647}}}},"to":{"description":"The array of blockchain addresses to send the assets to and the amounts that each address should receive (in LTC). The difference between the UTXOs calculated in the fromUTXO
section and the total amount to receive calculated in the to
section will be used as the gas fee. To explicitly specify the fee amount and the blockchain address where any extra funds remaining after covering the fee will be sent, set the fee
and changeAddress
parameters.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"The blockchain address to receive the assets","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60},"value":{"description":"The amount to receive (in LTC)","type":"number","minimum":0,"example":0.02969944}}}},"fee":{"type":"string","description":"The fee to be paid for the transaction (in LTC); if you are using this parameter, you have to also use the changeAddress
parameter because these two parameters only work together.","example":"0.0015"},"changeAddress":{"description":"The blockchain address to send any extra assets remaning after covering the fee; if you are using this parameter, you have to also use the fee
parameter because these two parameters only work together.","type":"string","example":"2MzNGwuKvMEvKMQogtgzSqJcH2UW3Tc5oc7","minimum":30,"maximum":60}}},"AdaBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of block.","example":"6178dda07b94becb118f67b21aa72f60d85c1029e9e9b8ae56a25d684de66078"},"number":{"type":"number","description":"The number of blocks preceding a particular block on a block chain.","example":1234314},"epochNo":{"type":"number","example":536870912,"description":"Number of the epoch the block is included in."},"slotNo":{"type":"number","description":"Number of the slot the block is included in.","example":"a3047a060e5d586a9b26779ebe62fc57ce7323745da8f28761ab755454d89c52"},"forgedAt":{"type":"string","description":"Time of the block.","example":"2020-10-20T08:21:50.107Z"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/AdaTx"}}}},"AdaTx":{"type":"object","properties":{"hash":{"type":"string","description":"Transaction hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"},"fee":{"type":"string","description":"Fee paid for this transaction, in ADA.","example":"0.00001682"},"block":{"type":"object","properties":{"number":{"type":"number","description":"Index of the block this transaction belongs to.","example":1233224},"hash":{"type":"string","description":"Block hash.","example":"5f83d51c8d3054012cea3011fa626b85d89442788721afd60719ab1f9ab8f78a"}}},"inputs":{"description":"List of transactions, from which assets are being sent.","type":"array","items":{"type":"object","properties":{"txHash":{"type":"string","description":"Transaction hash of the input.","example":"0db5a2881f26f7dce20222f9c2538dc296ab562e134a72052596bdf4bb6913b4"},"value":{"type":"string","description":"Value of the transaction, in Lovelace - 1/1000000 of ADA.","example":"989946"},"address":{"type":"string","description":"Sender address.","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"}}}},"outputs":{"description":"List of recipient addresses and amounts to send to each of them.","type":"array","items":{"$ref":"#/components/schemas/AdaUTXO"}}}},"AdaUTXO":{"type":"object","properties":{"value":{"type":"string","description":"Sent amount in ADA.","example":"1.5"},"index":{"type":"number","description":"Index of the output in the transaction.","example":1},"txHash":{"type":"string","description":"Transaction hash.","example":"76a914fc8f50c952da910f473a0533561311ad140c989b88ac"},"address":{"type":"string","description":"Recipient address.","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"}}},"AdaAccountBalance":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"object","properties":{"symbol":{"type":"string","description":"Name of the asset."},"decimals":{"type":"number","description":"Number of decimal places."}}},"value":{"type":"string","description":"Quantity of the asset."}}}},"AdaTransaction":{"type":"object","required":["to"],"properties":{"fromAddress":{"description":"Array of addresses and corresponding private keys. Tatum will automatically scan last unspent transactions for each address and will use all of the unspent values. We advise to use this option if you have 1 address per 1 transaction only.","type":"array","items":{"type":"object","required":["address"],"properties":{"address":{"description":"Address to send assets from.","type":"string","minimum":30,"maximum":150,"example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9"},"privateKey":{"description":"Private key of the address to send assets from. Private key, or signature Id must be present.","type":"string","minimum":192,"maximum":192,"example":"7808a501e1bbc9926ac8ac6981e47cb0401288ae331a1f2333d1bed46c5b3051b5f875c39477b05bc3a43a3800b763f616ae3646f21df0ab5d95db944e71f5cfa8082d5c4e6241d49b17b2b6173f01bb3fd03be012cc8908ceea9e559e33e4fc"},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}}}},"fromUTXO":{"description":"Array of transaction hashes, index of UTXO in it and corresponding private keys. Use this option if you want to calculate amount to send manually. Either fromUTXO or fromAddress must be present.","type":"array","items":{"type":"object","required":["txHash","index"],"properties":{"txHash":{"description":"Transaction hash of the UTXO to be spent.","type":"string","example":"53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc","minLength":64,"maxLength":64},"index":{"description":"Index of the UTXO to be spent.","type":"number","example":0,"minimum":0,"maximum":2147483647},"privateKey":{"description":"Private key of the UTXO to be spent. Private key, or signature Id must be present.","type":"string","example":"7808a501e1bbc9926ac8ac6981e47cb0401288ae331a1f2333d1bed46c5b3051b5f875c39477b05bc3a43a3800b763f616ae3646f21df0ab5d95db944e71f5cfa8082d5c4e6241d49b17b2b6173f01bb3fd03be012cc8908ceea9e559e33e4fc","minLength":192,"maxLength":192},"signatureId":{"type":"string","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}}}},"to":{"description":"Array of addresses and values to send Litecoins to. Values must be set in LTC. Difference between from and to is transaction fee.","type":"array","items":{"type":"object","required":["address","value"],"properties":{"address":{"description":"Destination address.","type":"string","example":"addr1qxm3vd0msv9ph8elhy7xrv975z88y6lr3d8vdgy3fwr2e22uvu2ffa2ctx3pdl4rjjja5p7al2k356x5yx8cn03am88s2807d9","minimum":30,"maximum":150},"value":{"description":"Amount to be sent, in ADA.","type":"number","minimum":0,"example":0.029609}}}}}},"AdaInfo":{"type":"object","properties":{"testnet":{"type":"string","description":"Chain of the blockchain, main or test.","example":"test"},"tip":{"type":"object","properties":{"number":{"type":"number","description":"Last block.","example":2749845},"slotNo":{"type":"number","description":"Last slot number.","example":31798572},"epoch":{"type":"object","properties":{"number":{"type":"number","description":"Last epoch number.","example":143}}}}}}},"Blockage":{"properties":{"id":{"description":"The ID of the blockage","type":"string","example":"5e68c66581f2ee32bc354087"},"accountId":{"description":"The ID of the account where the amount is blocked","type":"string","example":"5e68c66581f2ee32bc354087"},"amount":{"description":"The amount blocked on the account","example":"5","type":"string"},"type":{"description":"The type of the blockage","type":"string","example":"DEBIT_CARD_OP"},"description":{"description":"The description of the blockage","type":"string","example":"Card payment in the shop."}}},"BlockAmount":{"properties":{"amount":{"description":"The amount to be blocked on the account","maxLength":38,"pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","example":"5","type":"string"},"type":{"description":"The type of the blockage that you are applying; can be a code or an identifier from an external system or a short description of the blockage","type":"string","minLength":1,"maxLength":100,"example":"DEBIT_CARD_OP"},"description":{"description":"The description of the blockage that you are applying","type":"string","minLength":1,"maxLength":300,"example":"Card payment in the shop."}},"required":["amount","type"],"type":"object"},"BroadcastKMS":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"signatureId":{"description":"ID of prepared payment template to sign. Required only, when broadcasting transaction signed by Tatum KMS.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"},"index":{"description":"(Only if the signature ID is mnemonic-based and you run KMS v6.2 or later) The index of the address to send the assets from that was generated from the mnemonic","type":"number","minimum":0,"maximum":2147483647}},"required":["txData"],"type":"object"},"HmacWebHook":{"properties":{"hmacSecret":{"description":"Your HMAC secret password, which is used for signing the webhook payload.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string","maxLength":100}},"required":["hmacSecret"],"type":"object"},"Broadcast":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"signatureId":{"type":"string","minLength":24,"maxLength":24,"example":"5e68c66581f2ee32bc354087","description":"Identifier of KMS pending transaction ID to be completed with the broadcast."}},"required":["txData"],"type":"object"},"BroadcastResponse":{"properties":{"completed":{"description":"Flag, if withdrawal is successfully completed within Tatum systems.","example":true,"type":"boolean"},"txId":{"description":"Transaction ID of broadcast transaction and status","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","type":"string"}},"type":"object"},"BroadcastWithdrawal":{"properties":{"currency":{"description":"Currency of signed transaction to be broadcast, BTC, LTC, DOGE, BNB, XLM, TRX, BCH, ETH, XRP, ERC20, TRC20","example":"BTC","maxLength":40,"minLength":2,"type":"string"},"txData":{"description":"Raw signed transaction to be published to network.","example":"62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D","maxLength":500000,"minLength":1,"type":"string"},"withdrawalId":{"description":"Withdrawal ID to be completed by transaction broadcast","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"required":["txData","currency"],"type":"object"},"Id":{"type":"object","properties":{"id":{"type":"string","description":"ID of the entity.","example":"5e68c66581f2ee32bc354087"}}},"CreateAccountBatch":{"type":"object","properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/CreateAccount"}}},"required":["accounts"]},"CreateAccount":{"properties":{"currency":{"description":"The currency for the virtual account
\nThe currency for the virtual account
\naccountingCurrency
parameter at the account level.","default":"EUR","example":"USD","$ref":"#/components/schemas/FiatCurrency"},"customerCountry":{"description":"The ISO 3166-1 code of the country that the customer has to be compliant with","example":"US","maxLength":2,"minLength":2,"type":"string"},"providerCountry":{"description":"The ISO 3166-1 code of the country that the service provider has to be compliant with","example":"US","maxLength":2,"minLength":2,"type":"string"}},"required":["externalId"],"type":"object","description":"If a customer with the specified external ID does not exist, a new customer is created. If a customer with the specified external ID exists, it is updated with the provided information."},"CustomerUpdate":{"properties":{"externalId":{"description":"External customer ID. If not set, it will not be updated.","example":"123654","maxLength":100,"minLength":1,"type":"string"},"accountingCurrency":{"description":"All transaction will be accounted in this currency for all accounts. Currency can be overridden per account level. If not set, it will not be updated. ISO-4217","example":"USD","$ref":"#/components/schemas/FiatCurrency"},"customerCountry":{"description":"Country customer has to be compliant with. If not set, it will not be updated. ISO-3166-1.","example":"US","$ref":"#/components/schemas/CountryCode","type":"string"},"providerCountry":{"description":"Country service provider has to be compliant with. If not set, it will not be updated. ISO-3166-1","example":"US","$ref":"#/components/schemas/CountryCode"}},"type":"object","required":["externalId"]},"DeployErc20OffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","mnemonic","index"]},"DeployErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployErc20OffchainPKXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","privateKey"]},"DeployErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","signatureId"]},"DeployErc20OffchainKMSXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key from which a deposit address for the virtual account will be generated","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","signatureId"]},"DeployKCSErc20OffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"Mnemonic to generate private key for the deploy account of ERC20, from which the gas will be paid (index will be used). If address is not present, mnemonic is used to generate xpub and index is set to 1. Either mnemonic and index or privateKey and address must be present, not both.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"derivation index of address to pay for deployment of ERC20","example":0,"type":"integer","maximum":2147483647},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","mnemonic","index"]},"DeployKCSErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"Mnemonic to generate private key for the deploy account of ERC20, from which the gas will be paid (index will be used). If address is not present, mnemonic is used to generate xpub and index is set to 1. Either mnemonic and index or privateKey and address must be present, not both.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"derivation index of address to pay for deployment of ERC20","example":0,"type":"integer","maximum":2147483647},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployKCSErc20OffchainPKXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"privateKey":{"description":"Private key of Ethereum account address, from which gas for deployment of ERC20 will be paid. Private key, mnemonic or signature Id must be present.","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","privateKey"]},"DeployKCSErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"privateKey":{"description":"Private key of Ethereum account address, from which gas for deployment of ERC20 will be paid. Private key, mnemonic or signature Id must be present.","type":"string","maxLength":66,"minLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployKCSErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"address":{"description":"Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.","maxLength":42,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the mnemonic / private key associated in signing application.\nWhen hash identifies mnemonic, index must be present to represent specific account to pay from.\nPrivate key, mnemonic or signature Id must be present.\n"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","address","signatureId"]},"DeployKCSErc20OffchainKMSXpub":{"type":"object","properties":{"symbol":{"description":"Name of the ERC20 token - stored as a symbol on Blockchain","example":"MT","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"Description of the ERC20 token","example":"My ERC20 Token","maxLength":100,"minLength":1,"type":"string"},"basePair":{"description":"Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"xpub":{"description":"Extended public key (xpub), from which address, where all initial supply will be stored, will be generated. Either xpub and derivationIndex, or address must be present, not both.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"Derivation index for xpub to generate specific deposit address.","format":"int32","example":0,"type":"integer","maximum":2147483647},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the mnemonic / private key associated in signing application.\nWhen hash identifies mnemonic, index must be present to represent specific account to pay from.\nPrivate key, mnemonic or signature Id must be present.\n"},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0}},"required":["description","supply","symbol","basePair","xpub","derivationIndex","signatureId"]},"DeployAlgoErc20OffchainMnemonicAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"artist alarm clerk obscure timber firm reopen provide ankle vicious exhibit waste math toilet believe puppy lucky coast post kind black suspect mule able market","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","mnemonic","index"]},"DeployAlgoErc20OffchainPKAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"privateKey":{"description":"The private key of the blockchain address from which the fee for deploying the smart contract will be deducted","type":"string","maxLength":103,"minLength":103,"example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","privateKey","address"]},"DeployAlgoErc20OffchainKMSAddress":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":8,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":58,"minLength":58,"example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of either the private key of the blockchain address from which the fee for deploying the smart contract will be deducted, or the mnemonic to generate the private key for the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"}},"required":["description","supply","symbol","basePair","address","signatureId"]},"TransferAlgoErc20":{"type":"object","properties":{"senderAccountId":{"maxLength":24,"minLength":24,"description":"The ID of the virtual account to send the ERC-20-equivalent Algorand tokens from","example":"61b3bffddfb389cde19c73be","type":"string"},"address":{"description":"The blockchain address to send the ERC-20-equivalent Algorand tokens to","example":"5YVZBUH3STSQ5ABCTLEIEIJ7QOZFILM2DLAEEA4ZL6CU55ODZIQXO5EMYM","maxLength":58,"minLength":58,"type":"string"},"amount":{"description":"The amount of the ERC-20-equivalent Algorand tokens to send","maxLength":38,"example":"10000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"privateKey":{"maxLength":103,"minLength":103,"description":"The secret of the Algorand wallet (account). Secret, or signature Id must be present.","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q","type":"string"},"compliant":{"description":"Compliance check; if the withdrawal is not compliant, it will not be processed","example":false,"type":"boolean"},"paymentId":{"description":"The identifier of the token transfer that is shown on the virtual account for the created transaction","example":"1234","maxLength":100,"minLength":1,"type":"string"},"senderNote":{"maxLength":500,"minLength":1,"description":"The note for the recipient; must not contain spaces","example":"Helloworld","type":"string"}},"required":["senderAccountId","address","privateKey","amount","fee"]},"DeployTrcOffchainMnemXpub":{"type":"object","properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain","example":"MY_TOKEN","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","example":6,"minimum":0,"type":"number"},"type":{"description":"The type of the token","example":"TRC10","type":"string","enum":["TRC10","TRC20"]},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key of the TRON wallet from which a deposit address for the virtual account will be generated","maxLength":130,"minLength":130,"example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"mnemonic":{"maxLength":500,"minLength":1,"description":"The mnemonic of the TRON wallet to generate the private key for the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the derivation index of this address","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"index":{"description":"The derivation index of the blockchain address from which the fee for deploying the smart contract will be deducted; is used together with the mnemonic to generate the private key for this address","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","example":"EUR","$ref":"#/components/schemas/FiatOrCryptoCurrency"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forbasePair
*baseRate
"},"url":{"description":"(TRC-10 tokens only) The URL of the project that the token is created forsymbol
parameter of the smart contract that you are going to deploy or have already deployed for this token.","example":"MY_TOKEN","maxLength":30,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"1000000.0","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","minimum":0,"example":8,"type":"number"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"xpub":{"description":"The extended public key of the wallet from which a deposit address for the virtual account will be generatedErc20Address
schema of this API.","maxLength":150,"minLength":1,"example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"},"derivationIndex":{"description":"The derivation index to use together with the extended public key to generate the deposit address","format":"int32","example":0,"type":"integer","maximum":2147483647},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"accountingCurrency":{"description":"The ISO 4217 code of the currency in which all transactions for the created virtual account will be billed","default":"USD","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["symbol","supply","decimals","description","basePair","derivationIndex","xpub"],"type":"object"},"Erc20Address":{"properties":{"symbol":{"description":"The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchainsymbol
parameter of the smart contract that you are going to deploy or have already deployed for this token.","example":"MY_TOKEN","maxLength":30,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"The supply of the token","maxLength":38,"example":"1000000.0","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"decimals":{"description":"The number of decimal places that the token has","minimum":0,"example":8,"type":"number"},"description":{"description":"The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain","example":"My Public Token","maxLength":100,"minLength":1,"type":"string"},"address":{"description":"The blockchain address to be assigned to the virtual account as a deposit address","maxLength":44,"minLength":42,"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"basePair":{"description":"The base pair for the virtual currency that represents the token; used to calculate the value of a transaction","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of basePair
*baseRate
"},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"accountingCurrency":{"description":"AThe ISO 4217 code of the currency in which all transactions for the created virtual account will be billed","default":"USD","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["symbol","supply","decimals","description","basePair","address"],"type":"object"},"Erc20Response":{"properties":{"accountId":{"description":"The ID of the created virtual account with the currency set to the token name (the symbol
parameter of the request body)symbol
parameter of the request body)","type":"string","example":"5e68c66581f2ee32bc354087"},"address":{"description":"The deposit address of the virtual account","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW","type":"string"}},"type":"object"},"DeployErc20Response":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20/BEP20 token symbol. Account will be unfrozen when ERC20/BEP20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"txId":{"description":"TX hash of successful transaction. From this transaction receipt contract address can be obtained.","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"}},"type":"object","required":["accountId","txId"]},"DeployErc20SignatureResponse":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20/BEP20 token symbol. Account will be unfrozen when ERC20/BEP20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"type":"object","required":["accountId","signatureId"]},"DeployAlgoErc20Response":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20 token symbol. Account will be unfrozen when ERC20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"txId":{"description":"TX hash of successful transaction. From this transaction receipt contract address can be obtained.","example":"JGDMW6F6BUWQLFXDEPZIUO5WCTQOL3QV7KZ2SBV44K5WE6SSNN7Q","type":"string"}},"type":"object","required":["accountId","txId"]},"DeployAlgoErc20SignatureResponse":{"properties":{"accountId":{"description":"Account ID with the type of currency as created ERC20 token symbol. Account will be unfrozen when ERC20 contract address will be set.","type":"string","example":"5e68c66581f2ee32bc354087"},"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"type":"object","required":["accountId","signatureId"]},"Error":{"properties":{"errorCode":{"description":"payment.amount.notNull","type":"string"},"message":{"description":"Payment amount must be greater than 0.","type":"string"},"statusCode":{"description":"403","type":"number"}},"required":["errorCode","message"],"type":"object"},"Error400":{"properties":{"errorCode":{"example":"validation.failed","description":"validation.failed","type":"string"},"message":{"example":"Request validation failed. Please see data for additional information.","description":"Request validation failed. Please see data for additional information.","type":"string"},"statusCode":{"example":400,"description":"400","type":"number"},"data":{"type":"array","items":{"type":"object","required":["target"],"properties":{"target":{"type":"object","additionalProperties":true,"description":"Request object present in the body of the HTTP request","example":{"property":12345}},"value":{"type":"number","description":"Value of the target object which validation is wrong. Can be of any data type, example here is using type number.","example":12345},"property":{"type":"string","description":"Property name of the target object which validation is wrong","example":"property1"},"constraints":{"type":"object","additionalProperties":true,"description":"Object of failed constraints for the target object. Key is the constraint, value is detailed description of the failed constraint.","example":{"min":"property1 must not be less than 50000"}}}}}},"required":["errorCode","message","statusCode","data"],"type":"object"},"Error401Invalid":{"properties":{"errorCode":{"example":"subscription.invalid","description":"subscription.invalid","type":"string"},"message":{"example":"Unable to find valid subscription for '${apiKey}'","description":"Unable to find valid subscription for '${apiKey}'","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error401NotActive":{"properties":{"errorCode":{"example":"subscription.not.active","description":"subscription.not.active","type":"string"},"message":{"example":"Subscription not active anymore.","description":"Subscription not active anymore.","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ComplianceBtc":{"properties":{"errorCode":{"description":"compliance.country.btc.not.supported","example":"compliance.country.btc.not.supported","type":"string"},"message":{"description":"Customer country not supported for BTC.","example":"Customer country not supported for BTC.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Libra":{"properties":{"errorCode":{"description":"libra.request.failed","example":"libra.request.failed","type":"string"},"message":{"description":"${error}","example":"${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthBroadcast":{"properties":{"errorCode":{"description":"ethereum.broadcast.failed","example":"ethereum.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxNotFound":{"properties":{"errorCode":{"description":"tx.missing","example":"tx.missing","type":"string"},"message":{"description":"No such tx.","example":"No such tx.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error404TxNotFound":{"properties":{"errorCode":{"description":"tx.not.found","example":"tx.not.found","type":"string"},"message":{"description":"Transaction not found. Possible not exists or is still pending.","example":"Transaction not found. Possible not exists or is still pending.","type":"string"},"statusCode":{"description":"404","example":404,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20Unsupported":{"properties":{"errorCode":{"description":"eth.erc20.unsupported","example":"eth.erc20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxHash":{"properties":{"errorCode":{"description":"eth.transaction.hash","example":"eth.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxSign":{"properties":{"errorCode":{"description":"eth.transaction.sign","example":"eth.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc20TxSign":{"properties":{"errorCode":{"description":"eth.erc20.sign","example":"eth.erc20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc721TxSign":{"properties":{"errorCode":{"description":"eth.erc721.sign","example":"eth.erc721.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthErc721Call":{"properties":{"errorCode":{"description":"eth.erc721.failed","example":"eth.erc721.failed","type":"string"},"message":{"description":"Unable to obtain information for token. ${error}","example":"Unable to obtain information for token. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthGasCalculation":{"properties":{"errorCode":{"description":"eth.transaction.gas","example":"eth.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthTxBody":{"properties":{"errorCode":{"description":"ethereum.transaction.body","example":"ethereum.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthScBody":{"properties":{"errorCode":{"description":"ethereum.sc.invalid","example":"ethereum.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EthGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ComplianceEth":{"properties":{"errorCode":{"description":"compliance.country.eth.not.supported","example":"compliance.country.eth.not.supported","type":"string"},"message":{"description":"Customer country not supported for ETH.","example":"Customer country not supported for ETH.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountTestnet":{"properties":{"errorCode":{"description":"account.blockchain.testnet","example":"account.blockchain.testnet","type":"string"},"message":{"description":"Unable to create account, unsupported testnet blockchain.","example":"Unable to create account, unsupported testnet blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountXpub":{"properties":{"errorCode":{"description":"account.xpub.present","example":"account.xpub.present","type":"string"},"message":{"description":"Unable to create ${account.currency} account with xpub.","example":"Unable to create ${account.currency} account with xpub.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressXpub":{"properties":{"errorCode":{"description":"account.xpub.present","example":"account.xpub.present","type":"string"},"message":{"description":"Xpub assigned to account, it is not possible to assign address. Use generateAddress method instead.","example":"Xpub assigned to account, it is not possible to assign address. Use generateAddress method instead.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCurrency":{"properties":{"errorCode":{"description":"ledger.currency.invalid","example":"ledger.currency.invalid","type":"string"},"message":{"description":"Unable to create an account, unsupported currency.","example":"Unable to create an account, unsupported currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountIncompatibleXpub":{"properties":{"errorCode":{"description":"account.xpub.incompatible","example":"account.xpub.incompatible","type":"string"},"message":{"description":"Xpub not compatible with account currency.","example":"Xpub not compatible with account currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountIncompatibleXpubBtc":{"properties":{"errorCode":{"description":"Address.generation.failed.wrong.xpub","example":"address.generation.failed.wrong.xpub","type":"string"},"message":{"description":"Unable to generate address, wrong xpub and account type.","example":"Unable to generate address, wrong xpub and account type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountAddressGeneral":{"properties":{"errorCode":{"description":"Address.generation.failed","example":"address.generation.failed","type":"string"},"message":{"description":"Unable to generate address.","example":"Unable to generate address.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbFailed":{"properties":{"errorCode":{"description":"bnb.failed","example":"bnb.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbAddressFailed":{"properties":{"errorCode":{"description":"Address.bnb.generation.failed.wrong.xpub","example":"address.bnb.generation.failed.wrong.xpub","type":"string"},"message":{"description":"Unable to generate BNB address, wrong xpub and account type.","example":"Unable to generate BNB address, wrong xpub and account type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbBroadcatSigFailed":{"properties":{"errorCode":{"description":"bnb.broadcast.bad.signature","example":"bnb.broadcast.bad.signature","type":"string"},"message":{"description":"Unable to broadcast BNB transaction, bad signature.","example":"Unable to broadcast BNB transaction, bad signature.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbTxStateFailed":{"properties":{"errorCode":{"description":"bnb.broadcast.failed.tx.state","example":"bnb.broadcast.failed.tx.state","type":"string"},"message":{"description":"Unable to broadcast BNB transaction, tx ${hash} state not OK.","example":"Unable to broadcast BNB transaction, tx ${hash} state not OK.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BnbTxFailed":{"properties":{"errorCode":{"description":"bnb.transfer.failed","example":"bnb.transfer.failed","type":"string"},"message":{"description":"Unable to transfer funds. ${error}","example":"Unable to transfer funds. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTxFailed":{"properties":{"errorCode":{"description":"transaction.failed","example":"transaction.failed","type":"string"},"message":{"description":"No spendable inputs.","example":"No spendable inputs.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTx":{"properties":{"errorCode":{"description":"transaction.invalid.body","example":"transaction.invalid.body","type":"string"},"message":{"description":"Either UTXO, or addresses must be present.","example":"Either UTXO, or addresses must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountNotExists":{"properties":{"errorCode":{"description":"account.not.exists","example":"account.not.exists","type":"string"},"message":{"description":"No such account.","example":"No such account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockageNotExists":{"properties":{"errorCode":{"description":"blockage.not.exists","example":"blockage.not.exists","type":"string"},"message":{"description":"No such blockage.","example":"No such blockage.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockageAmount":{"properties":{"errorCode":{"description":"blockage.amount.exceeded","example":"blockage.amount.exceeded","type":"string"},"message":{"description":"Amount to transfer is greater then amount of the blockage.","example":"Amount to transfer is greater then amount of the blockage.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionNotExists":{"properties":{"errorCode":{"description":"subscription.not.exists","example":"subscription.not.exists","type":"string"},"message":{"description":"No such subscription.","example":"No such subscription.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionType":{"properties":{"errorCode":{"description":"subscription.type.invalid","example":"subscription.type.invalid","type":"string"},"message":{"description":"Invalid subscription type.","example":"Invalid subscription type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionCurrency":{"properties":{"errorCode":{"description":"subscription.attr.currency.invalid","example":"subscription.attr.currency.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'currency'.","example":"Invalid subscription attribute 'currency'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionInterval":{"properties":{"errorCode":{"description":"subscription.attr.interval.invalid","example":"subscription.attr.interval.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'interval'.","example":"Invalid subscription attribute 'interval'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionBalance":{"properties":{"errorCode":{"description":"subscription.attr.balance.invalid","example":"subscription.attr.balance.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'limit' or 'typeOfBalance'.","example":"Invalid subscription attribute 'limit' or 'typeOfBalance'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionId":{"properties":{"errorCode":{"description":"subscription.attr.incoming.invalid","example":"subscription.attr.incoming.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'id' or 'url'.","example":"Invalid subscription attribute 'id' or 'url'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SubscriptionPendingId":{"properties":{"errorCode":{"description":"subscription.attr.pending.invalid","example":"subscription.attr.pending.invalid","type":"string"},"message":{"description":"Invalid subscription attribute 'id' or 'url'.","example":"Invalid subscription attribute 'id' or 'url'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403ReportNotAvailable":{"properties":{"errorCode":{"description":"report.invalid","example":"report.invalid","type":"string"},"message":{"description":"Unsupported report type.","example":"Unsupported report type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountInactive":{"properties":{"errorCode":{"description":"account.inactive","example":"account.inactive","type":"string"},"message":{"description":"Unable to deactivate inactive account.","example":"Unable to deactivate inactive account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountActive":{"properties":{"errorCode":{"description":"account.active","example":"account.active","type":"string"},"message":{"description":"Unable to activate active account.","example":"Unable to activate active account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountFrozen":{"properties":{"errorCode":{"description":"account.frozen","example":"account.frozen","type":"string"},"message":{"description":"Unable to freeze frozen account.","example":"Unable to freeze frozen account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountNotFrozen":{"properties":{"errorCode":{"description":"account.not.frozen","example":"account.not.frozen","type":"string"},"message":{"description":"Unable to unfreeze unfrozen account.","example":"Unable to unfreeze unfrozen account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerInternalNotExists":{"properties":{"errorCode":{"description":"customer.internal.not.exists","example":"customer.internal.not.exists","type":"string"},"message":{"description":"No such customer.","example":"No such customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerActive":{"properties":{"errorCode":{"description":"customer.active","example":"customer.active","type":"string"},"message":{"description":"Unable to activate active customer.","example":"Unable to activate active customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerInactive":{"properties":{"errorCode":{"description":"customer.inactive","example":"customer.inactive","type":"string"},"message":{"description":"Unable to perform operation on inactive customer.","example":"Unable to perform operation on inactive customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerDisabled":{"properties":{"errorCode":{"description":"customer.disabled","example":"customer.disabled","type":"string"},"message":{"description":"Unable to disable disabled customer.","example":"Unable to disable disabled customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerEnabled":{"properties":{"errorCode":{"description":"customer.enabled","example":"customer.enabled","type":"string"},"message":{"description":"Unable to enable enabled customer.","example":"Unable to enable enabled customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerDeactivateActiveAccounts":{"properties":{"errorCode":{"description":"customer.deactivate.account.active","example":"customer.deactivate.account.active","type":"string"},"message":{"description":"Unable to deactivate customer, accounts not deactivated.","example":"Unable to deactivate customer, accounts not deactivated.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerNotExists":{"properties":{"errorCode":{"description":"customer.not.exists","example":"customer.not.exists","type":"string"},"message":{"description":"No customer with given external ID ${externalId} exists.","example":"No customer with given external ID ${externalId} exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockDelete":{"properties":{"errorCode":{"description":"customer.blockage.inactive","example":"customer.blockage.inactive","type":"string"},"message":{"description":"Unable to delete blockages on account for inactive customer.","example":"Unable to delete blockages on account for inactive customer.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CustomerNotActive":{"properties":{"errorCode":{"description":"customer.not.active","example":"customer.not.active","type":"string"},"message":{"description":"Customer not active.","example":"Customer not active.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCNoAccount":{"properties":{"errorCode":{"description":"virtual.account.notValid","example":"virtual.account.notValid","type":"string"},"message":{"description":"Unable to perform operation on virtual currency, account does not exists.","example":"Unable to perform operation on virtual currency, account does not exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCTxFailed":{"properties":{"errorCode":{"description":"virtual.tx.failed","example":"virtual.tx.failed","type":"string"},"message":{"description":"Unable to perform operation on virtual currency, impossible to store transaction.","example":"Unable to perform operation on virtual currency, impossible to store transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCRevokeBalance":{"properties":{"errorCode":{"description":"virtual.account.balance","example":"virtual.account.balance","type":"string"},"message":{"description":"Insufficient balance to revoke virtual currency on account.","example":"Insufficient balance to revoke virtual currency on account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCCreateFailed":{"properties":{"errorCode":{"description":"virtual.creation.error","example":"virtual.creation.error","type":"string"},"message":{"description":"It is not possible to create virtual currency.","example":"It is not possible to create virtual currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCPrefix":{"properties":{"errorCode":{"description":"virtual.name.prefix","example":"virtual.name.prefix","type":"string"},"message":{"description":"Virtual currency has wrong name, must start with VC_.","example":"Virtual currency has wrong name, must start with VC_.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCDuplicate":{"properties":{"errorCode":{"description":"virtual.duplicate","example":"virtual.duplicate","type":"string"},"message":{"description":"Virtual currency with given name already exists.","example":"Virtual currency with given name already exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCustomerInactive":{"properties":{"errorCode":{"description":"account.customer.inactive","example":"account.customer.inactive","type":"string"},"message":{"description":"Unable to activate account, customer inactive.","example":"Unable to activate account, customer inactive.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountBalanceNonZero":{"properties":{"errorCode":{"description":"account.balance.non.zero","example":"account.balance.non.zero","type":"string"},"message":{"description":"Unable to deactivate account with non-zero balance.","example":"Unable to deactivate account with non-zero balance.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TradeBalanceNonZero":{"properties":{"errorCode":{"description":"account.trade.non.zero","example":"account.trade.non.zero","type":"string"},"message":{"description":"Unable to deactivate account with non-zero exchange trades.","example":"Unable to deactivate account with non-zero exchange trades.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AmountFormat":{"properties":{"errorCode":{"description":"amount.format","example":"amount.format","type":"string"},"message":{"description":"Amount has incorrect format.","example":"Amount has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403RecipientFormat":{"properties":{"errorCode":{"description":"withdrawal.recipient.format","example":"withdrawal.recipient.format","type":"string"},"message":{"description":"Recipient blockchain address has incorrect format.","example":"Recipient blockchain address has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AccountCurrencyVC":{"properties":{"errorCode":{"description":"account.currency.missing","example":"account.currency.missing","type":"string"},"message":{"description":"No such virtual currency ${currency} for account ${account}.","example":"No such virtual currency ${currency} for account ${account}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VCNotFound":{"properties":{"errorCode":{"description":"vc.not.found","example":"vc.not.found","type":"string"},"message":{"description":"No such virtual currency.","example":"No such virtual currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressUsed":{"properties":{"errorCode":{"description":"Address.used","example":"address.used","type":"string"},"message":{"description":"Address and currency already in use.","example":"Address and currency already in use.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressNotFound":{"properties":{"errorCode":{"description":"Address.not.found","example":"address.not.found","type":"string"},"message":{"description":"No such address exists.","example":"No such address exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressAccountXpubMissing":{"properties":{"errorCode":{"description":"account.xpub.missing","example":"account.xpub.missing","type":"string"},"message":{"description":"No xpub assigned to account, it is not possible to generate address. Use assignAddress method instead.","example":"No xpub assigned to account, it is not possible to generate address. Use assignAddress method instead.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressIndexUsed":{"properties":{"errorCode":{"description":"Address.index.used","example":"address.index.used","type":"string"},"message":{"description":"Unable to create address, derivation index is already used.","example":"Unable to create address, derivation index is already used.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcBlockchain":{"properties":{"errorCode":{"description":"blockchain.error.code","example":"blockchain.error.code","type":"string"},"message":{"description":"${error.message} Code: ${error.code}","example":"${error.message} Code: ${error.code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error404BlockNotExists":{"properties":{"errorCode":{"description":"block.hash.not.exists","example":"block.hash.not.exists","type":"string"},"message":{"description":"No such block.","example":"No such block.","type":"string"},"statusCode":{"description":"404","example":404,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Broadcast":{"properties":{"errorCode":{"description":"blockchain.broadcast.error","example":"blockchain.broadcast.error","type":"string"},"message":{"description":"Unable to broadcast transaction, wrong input data.","example":"Unable to broadcast transaction, wrong input data.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BlockchainPrivateFailed":{"properties":{"errorCode":{"description":"key.generation.failed.wrong.mnemonic","example":"key.generation.failed.wrong.mnemonic","type":"string"},"message":{"description":"Unable to generate address, wrong mnemonic and index.","example":"Unable to generate address, wrong mnemonic and index.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcUTXO":{"properties":{"errorCode":{"description":"tx.hash.index.spent","example":"tx.hash.index.spent","type":"string"},"message":{"description":"No such UTXO for transaction and index.","example":"No such UTXO for transaction and index.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BcashBroadcast":{"properties":{"errorCode":{"description":"bch.broadcast.failed","example":"bch.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction. Error from blockchain: ${error}","example":"Unable to broadcast transaction. Error from blockchain: ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalNotFound":{"properties":{"errorCode":{"description":"withdrawal.missing","example":"withdrawal.missing","type":"string"},"message":{"description":"No such withdrawal.","example":"No such withdrawal.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KMSNotExists":{"properties":{"errorCode":{"description":"kms.missing","example":"kms.missing","type":"string"},"message":{"description":"No such KMS signature with id '{id}'.","example":"No such KMS signature with id '{id}'.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainNotCancelled":{"properties":{"errorCode":{"description":"withdrawal.not.cancelled.transaction.failed","example":"withdrawal.not.cancelled.transaction.failed","type":"string"},"message":{"description":"Unable to broadcast transaction, and impossible to cancel withdrawal. ID is attached, \"${withdrawalId}\", cancel it manually.","example":"Unable to broadcast transaction, and impossible to cancel withdrawal. ID is attached, \"${withdrawalId}\", cancel it manually.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XlmFailed":{"properties":{"errorCode":{"description":"xlm.failed","example":"xlm.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpFailed":{"properties":{"errorCode":{"description":"xrp.failed","example":"xrp.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpCode":{"properties":{"errorCode":{"description":"xrp.account.failed","example":"xrp.account.failed","type":"string"},"message":{"description":"${error} Code: ${code}","example":"${error} Code: ${code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpLedger":{"properties":{"errorCode":{"description":"xrp.ledger.failed","example":"xrp.ledger.failed","type":"string"},"message":{"description":"${error} Code: ${code}","example":"${error} Code: ${code}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpBroadcast":{"properties":{"errorCode":{"description":"xrp.broadcast.failed","example":"xrp.broadcast.failed","type":"string"},"message":{"description":"Xrp submit tx failed. ${error}","example":"Xrp submit tx failed. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpMultiple":{"properties":{"errorCode":{"description":"xrp.settings.multiple","example":"xrp.settings.multiple","type":"string"},"message":{"description":"It is possible to set 1 parameter at a time.","example":"It is possible to set 1 parameter at a time.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpAttr":{"properties":{"errorCode":{"description":"attr.wrong.format","example":"attr.wrong.format","type":"string"},"message":{"description":"Wrong attr of withdrawal, should be of uint32 type.","example":"Wrong attr of withdrawal, should be of uint32 type.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpFee":{"properties":{"errorCode":{"description":"xrp.fee","example":"xrp.fee","type":"string"},"message":{"description":"Unable to calculate fee.","example":"Unable to calculate fee.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XrpSign":{"properties":{"errorCode":{"description":"xrp.sign.failed","example":"xrp.sign.failed","type":"string"},"message":{"description":"Unable to sign tx. ${error}","example":"Unable to sign tx. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XlmTxFailed":{"properties":{"errorCode":{"description":"xlm.tx.failed","example":"xlm.tx.failed","type":"string"},"message":{"description":"Unable to construct transaction. ${error}","example":"Unable to construct transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetFailed":{"properties":{"errorCode":{"description":"vet.failed","example":"vet.failed","type":"string"},"message":{"description":"Unable to communicate with blockchain. ${error}","example":"Unable to communicate with blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetGas":{"properties":{"errorCode":{"description":"vet.transaction.gas","example":"vet.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403VetTxHash":{"properties":{"errorCode":{"description":"vet.transaction.hash","example":"vet.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash.","example":"Unable to calculate transaction hash.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransactionFeeEgldBlockchain":{"type":"object","properties":{"sender":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"receiver":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"value":{"type":"string","description":"Value to be sent.","example":"0.1"},"data":{"type":"string","description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"}},"required":["sender","receiver","value"]},"Error403EgldGasCalculation":{"properties":{"errorCode":{"description":"egld.transaction.gas","example":"egld.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainBroadcastState":{"properties":{"errorCode":{"description":"withdrawal.unexpected.state","example":"withdrawal.unexpected.state","type":"string"},"message":{"description":"Unable to complete withdrawal, which is not in InProgress state.","example":"Unable to complete withdrawal, which is not in InProgress state.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainCancelled":{"properties":{"errorCode":{"description":"withdrawal.prepare.failed","example":"withdrawal.prepare.failed","type":"string"},"message":{"description":"Unable to prepare transaction, withdrawal cancelled.","example":"Unable to prepare transaction, withdrawal cancelled.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainNotSupported":{"properties":{"errorCode":{"description":"offchain.not.supported","example":"offchain.not.supported","type":"string"},"message":{"description":"Offchain not supported for account with ${account.currency} currency.","example":"Offchain not supported for account with ${account.currency} currency.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AddressAccountXpubUsed":{"properties":{"errorCode":{"description":"xpub.used","example":"xpub.used","type":"string"},"message":{"description":"XPub already used registered within Tatum","example":"XPub already used registered within Tatum","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403RateNotFound":{"properties":{"errorCode":{"description":"rate.not.found","example":"rate.not.found","type":"string"},"message":{"description":"No such currency rate.","example":"No such currency rate.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainBroadcast":{"properties":{"errorCode":{"description":"broadcast.failed.withdrawalId","example":"broadcast.failed.withdrawalId","type":"string"},"message":{"description":"WithdrawalId must be present.","example":"WithdrawalId must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OffchainCheck":{"properties":{"errorCode":{"description":"withdrawal.check.currency","example":"withdrawal.check.currency","type":"string"},"message":{"description":"Withdrawal check available only for ETH based currencies.","example":"Withdrawal check available only for ETH based currencies.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcTxUtxoFailed":{"properties":{"errorCode":{"description":"transaction.preparation.failed.utxo","example":"transaction.preparation.failed.utxo","type":"string"},"message":{"description":"Impossible to find last UTXO.","example":"Impossible to find last UTXO.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BtcMnemonicTxFailed":{"properties":{"errorCode":{"description":"transaction.preparation.failed","example":"transaction.preparation.failed","type":"string"},"message":{"description":"Impossible to prepare transaction. Either mnemonic or keyPair and attr must be present.","example":"Impossible to prepare transaction. Either mnemonic or keyPair and attr must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalFailed":{"properties":{"errorCode":{"description":"withdrawal.failed.transaction.failed","example":"withdrawal.failed.transaction.failed","type":"string"},"message":{"description":"Unable to store withdrawal, it is impossible to create transaction.","example":"Unable to store withdrawal, it is impossible to create transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalCancelled":{"properties":{"errorCode":{"description":"withdrawal.not.cancelled.transaction.failed","example":"withdrawal.not.cancelled.transaction.failed","type":"string"},"message":{"description":"Unable to cancel withdrawal ${id}, it is impossible to create refund transaction.","example":"Unable to cancel withdrawal ${id}, it is impossible to create refund transaction.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FeeFormat":{"properties":{"errorCode":{"description":"fee.format","example":"fee.format","type":"string"},"message":{"description":"Fee has incorrect format.","example":"Fee has incorrect format.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderNotFound":{"properties":{"errorCode":{"description":"senderAccount.not.exists","example":"senderAccount.not.exists","type":"string"},"message":{"description":"Unable to find sender account ${transaction.senderAccountId}.","example":"Unable to find sender account ${transaction.senderAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderFrozen":{"properties":{"errorCode":{"description":"senderAccount.frozen","example":"senderAccount.frozen","type":"string"},"message":{"description":"Sender account ${transaction.senderAccountId} is frozen, unable to perform payment.","example":"Sender account ${transaction.senderAccountId} is frozen, unable to perform payment.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxSenderCustomerDisabled":{"properties":{"errorCode":{"description":"senderAccount.customer.disabled","example":"senderAccount.customer.disabled","type":"string"},"message":{"description":"Sender accounts customer ${senderAccount.customerId} is disabled, unable to perform payment.","example":"Sender accounts customer ${senderAccount.customerId} is disabled, unable to perform payment.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxRecipientNotFound":{"properties":{"errorCode":{"description":"recipientAccount.not.exists","example":"recipientAccount.not.exists","type":"string"},"message":{"description":"Unable to find recipient account ${transaction.recipientAccountId}.","example":"Unable to find recipient account ${transaction.recipientAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxCurrency":{"properties":{"errorCode":{"description":"transaction.currency.incompatible","example":"transaction.currency.incompatible","type":"string"},"message":{"description":"Incompatible currencies for sender account ${transaction.senderAccountId} and recipient account ${transaction.recipientAccountId}.","example":"Incompatible currencies for sender account ${transaction.senderAccountId} and recipient account ${transaction.recipientAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxBalance":{"properties":{"errorCode":{"description":"balance.insufficient","example":"balance.insufficient","type":"string"},"message":{"description":"Insufficient balance for account ${transaction.senderAccountId} and payment amount ${transaction.amount}. Sender balance is ${senderAccount.balance.availableBalance as string}, amount is ${amount}","example":"Insufficient balance for account ${transaction.senderAccountId} and payment amount ${transaction.amount}. Sender balance is ${senderAccount.balance.availableBalance as string}, amount is ${amount}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountBtc":{"properties":{"errorCode":{"description":"amount.btc","example":"amount.btc","type":"string"},"message":{"description":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","example":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountBtcOffchain":{"properties":{"errorCode":{"description":"transaction.amount.btc","example":"transaction.amount.btc","type":"string"},"message":{"description":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","example":"BTC|LTC|BCH|DOGE payment amount must be at least 0.00000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountAda":{"properties":{"errorCode":{"description":"transaction.amount.ada","example":"transaction.amount.ada","type":"string"},"message":{"description":"ADA payment amount must be at least 0.000001, not ${transaction.amount}.","example":"ADA payment amount must be at least 0.000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountAdaOffchain":{"properties":{"errorCode":{"description":"amount.ada","example":"amount.ada","type":"string"},"message":{"description":"ADA payment amount must be at least 0.000000000001, not ${transaction.amount}.","example":"ADA payment amount must be at least 0.000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalPending":{"properties":{"errorCode":{"description":"withdrawal.pending","example":"withdrawal.pending","type":"string"},"message":{"description":"Unable to prepare withdrawal, last withdrawal with id ${id} is not yet processed by blockchain.","example":"Unable to prepare withdrawal, last withdrawal with id ${id} is not yet processed by blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountEth":{"properties":{"errorCode":{"description":"amount.eth","example":"amount.eth","type":"string"},"message":{"description":"ETH payment amount must be at least 0.000000000001, not ${transaction.amount}.","example":"ETH payment amount must be at least 0.000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxAmountEthOffchain":{"properties":{"errorCode":{"description":"transaction.amount.eth","example":"transaction.amount.eth","type":"string"},"message":{"description":"ETH payment amount must be at least 0.000000000000000001, not ${transaction.amount}.","example":"ETH payment amount must be at least 0.000000000000000001, not ${transaction.amount}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403TxNotCompliant":{"properties":{"errorCode":{"description":"transaction.not.compliant","example":"transaction.not.compliant","type":"string"},"message":{"description":"Transaction not compliant, recipient account customer country is not defined.","example":"Transaction not compliant, recipient account customer country is not defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403WithdrawalVC":{"properties":{"errorCode":{"description":"withdrawal.account.virtual","example":"withdrawal.account.virtual","type":"string"},"message":{"description":"Sender account cannot be virtual.","example":"Sender account cannot be virtual.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20Prefix":{"properties":{"errorCode":{"description":"erc20.symbol.prefix","example":"erc20.symbol.prefix","type":"string"},"message":{"description":"ERC20 token cannot start with VC_.","example":"ERC20 token cannot start with VC_.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20XpubBoth":{"properties":{"errorCode":{"description":"erc20.address.xpub.both","example":"erc20.address.xpub.both","type":"string"},"message":{"description":"Either xpub or address must be present, not both.","example":"Either xpub or address must be present, not both.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20XpubMissing":{"properties":{"errorCode":{"description":"erc20.address.xpub.missing","example":"erc20.address.xpub.missing","type":"string"},"message":{"description":"Either xpub or address must be present.","example":"Either xpub or address must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403Erc20NameDuplicate":{"properties":{"errorCode":{"description":"erc20.duplicate.name","example":"erc20.duplicate.name","type":"string"},"message":{"description":"ERC20 token with given name already exists.","example":"ERC20 token with given name already exists.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1NotFound":{"properties":{"errorCode":{"description":"trade.currency1AccountId.not.exists","example":"trade.currency1AccountId.not.exists","type":"string"},"message":{"description":"Unable to find currency1 account ${trade.currency1AccountId}.","example":"Unable to find currency1 account ${trade.currency1AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderFeeNotFound":{"properties":{"errorCode":{"description":"trade.feeAccount","example":"trade.feeAccount","type":"string"},"message":{"description":"Unable to find fee account ${trade.feeAccountId}.","example":"Unable to find fee account ${trade.feeAccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderFeeIncompatible":{"properties":{"errorCode":{"description":"trade.currency.fee","example":"trade.currency.fee","type":"string"},"message":{"description":"Incompatible currencies for currency1 and fee account.","example":"Incompatible currencies for currency1 and fee account.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Frozen":{"properties":{"errorCode":{"description":"trade.currency1AccountId.frozen","example":"trade.currency1AccountId.frozen","type":"string"},"message":{"description":"Currency1 account ${trade.currency1AccountId} is frozen, unable to perform trade.","example":"Currency1 account ${trade.currency1AccountId} is frozen, unable to perform trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1CustomerDisabled":{"properties":{"errorCode":{"description":"trade.currency1AccountId.customer.disabled","example":"trade.currency1AccountId.customer.disabled","type":"string"},"message":{"description":"Currency1 account's customer ${currency1Account.customerId} is disabled, unable to perform exchange trade.","example":"Currency1 account's customer ${currency1Account.customerId} is disabled, unable to perform exchange trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2NotFound":{"properties":{"errorCode":{"description":"trade.currency2AccountId.not.exists","example":"trade.currency2AccountId.not.exists","type":"string"},"message":{"description":"Unable to find currency2 account ${trade.currency2AccountId}.","example":"Unable to find currency2 account ${trade.currency2AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Frozen":{"properties":{"errorCode":{"description":"trade.currency2AccountId.frozen","example":"trade.currency2AccountId.frozen","type":"string"},"message":{"description":"Currency2 account ${trade.currency2AccountId} is frozen, unable to perform trade.","example":"Currency2 account ${trade.currency2AccountId} is frozen, unable to perform trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2CustomerDisabled":{"properties":{"errorCode":{"description":"trade.currency2AccountId.customer.disabled","example":"trade.currency2AccountId.customer.disabled","type":"string"},"message":{"description":"Currency2 account's customer ${currency2Account.customerId} is disabled, unable to perform exchange trade.","example":"Currency2 account's customer ${currency2Account.customerId} is disabled, unable to perform exchange trade.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Pair":{"properties":{"errorCode":{"description":"trade.currency1.pair","example":"trade.currency1.pair","type":"string"},"message":{"description":"Incompatible currencies for currency1 account ${trade.currency1AccountId} and trading pair.","example":"Incompatible currencies for currency1 account ${trade.currency1AccountId} and trading pair.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Pair":{"properties":{"errorCode":{"description":"trade.currency2.pair","example":"trade.currency2.pair","type":"string"},"message":{"description":"Incompatible currencies for currency2 account ${trade.currency2AccountId} and trading pair.","example":"Incompatible currencies for currency2 account ${trade.currency2AccountId} and trading pair.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency1Balance":{"properties":{"errorCode":{"description":"trade.currency1.balance","example":"trade.currency1.balance","type":"string"},"message":{"description":"Insufficient balance on currency1 account ${trade.currency1AccountId}.","example":"Insufficient balance on currency1 account ${trade.currency1AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OrderCurrency2Balance":{"properties":{"errorCode":{"description":"trade.currency2.balance","example":"trade.currency2.balance","type":"string"},"message":{"description":"Insufficient balance on currency2 account ${trade.currency2AccountId}.","example":"Insufficient balance on currency2 account ${trade.currency2AccountId}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error500":{"properties":{"message":{"example":"Internal server error","description":"Internal server error","type":"string"},"statusCode":{"example":500,"description":"500","type":"number"}},"required":["statusCode","message"],"type":"object"},"Error403":{"properties":{"message":{"example":"Forbidden","description":"Forbidden","type":"string"},"statusCode":{"example":403,"description":"403","type":"number"}},"required":["statusCode","message"],"type":"object"},"Error401":{"properties":{"message":{"example":"Unauthorized","description":"Unauthorized","type":"string"},"statusCode":{"example":401,"description":"401","type":"number"}},"required":["statusCode","message"],"type":"object"},"FeeEvmBased":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"number","description":"Gas limit for transaction in gas price.","example":40000},"gasPrice":{"type":"number","description":"Gas price in Gwei.","example":20}}},"FeeBtcBased":{"type":"object","required":["fast","medium","slow"],"properties":{"fast":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 1-2 blocks.","example":"0.006584"},"medium":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 5-6 blocks.","example":"0.004584"},"slow":{"type":"string","description":"Transaction fee in BTC|LTC to be paid, if transaction should be included in next 7+ blocks.","example":"0.002584"}}},"EstimateFee":{"type":"object","required":["chain","type"],"properties":{"chain":{"type":"string","description":"The blockchain to estimate the fee for","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"The type of the transaction","enum":["DEPLOY_ERC20","DEPLOY_NFT","MINT_NFT","BURN_NFT","TRANSFER_NFT","TRANSFER_ERC20","DEPLOY_AUCTION","DEPLOY_MARKETPLACE"]},"sender":{"type":"string","maxLength":42,"minLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the sender address"},"recipient":{"description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the recipient address","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"contractAddress":{"description":"(Only if type=TRANSFER_ERC20
) The blockchain address of the smart address of the fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"(Only if type=TRANSFER_ERC20
) The amount of the fungible token to be sent","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}}},"EstimateFeeDeployCustodialWallet":{"type":"object","required":["chain","type","batchCount"],"properties":{"chain":{"type":"string","description":"Blockchain to estimate fee for.","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"Type of transaction","enum":["DEPLOY_CUSTODIAL_WALLET_BATCH"]},"batchCount":{"description":"Number of addresses to create","example":10,"minimum":1,"maximum":300,"type":"number"}}},"EstimateFeeBatchMintNft":{"type":"object","required":["chain","type","sender","recipients","tokenIds","urls","contractAddress"],"properties":{"chain":{"type":"string","description":"Blockchain to estimate fee for.","enum":["CELO","ETH","BSC","XDC","ONE","MATIC","KLAY"]},"type":{"type":"string","description":"Type of transaction","enum":["MINT_NFT_BATCH"]},"sender":{"type":"string","maxLength":42,"minLength":43,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","description":"Address of the minter"},"recipients":{"type":"array","description":"Blockchain addresses to mint tokens to","items":{"example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":43,"type":"string"}},"contractAddress":{"description":"Contract address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":43,"type":"string"},"tokenIds":{"type":"array","description":"Token IDs","items":{"example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"urls":{"type":"array","description":"Metadata URLs","items":{"example":"ipfs://QmXJJ6UF5WkF4WTJvsdhiA1etGwBLfpva7Vr9AudGMe3pj","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}}}},"EstimateFeeTransferFromCustodial":{"type":"object","required":["chain","type","sender","recipient","custodialAddress","amount","tokenType"],"properties":{"chain":{"type":"string","description":"The blockchain to estimate the fee for","enum":["CELO","ETH","BSC","XDC","KLAY","ONE","MATIC"]},"type":{"type":"string","description":"The type of the transaction","enum":["TRANSFER_CUSTODIAL"]},"sender":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"The blockchain address of the sender"},"recipient":{"description":"The blockchain address of the recipient","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"contractAddress":{"description":"Contract address of the token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"custodialAddress":{"description":"The blockchain address of the custodial wallet contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"tokenType":{"description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"type":"number","minimum":0,"maximum":3,"enum":[0,1,2,3]},"amount":{"description":"1
.100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","marketplaceFee","fromPrivateKey"]},"GenerateMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"description":"The address that will be the owner of the marketplace","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the blockchain address from which the fee will be deducted"}},"required":["chain","marketplaceFee","from","fromPrivateKey"]},"GenerateMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"description":"The address that will be the owner of the marketplace","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryMint":{"description":"Address of a SPL token contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"}},"required":["chain","marketplaceFee","from","signatureId"]},"GenerateMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","marketplaceFee","chain","feeCurrency","fromPrivateKey"]},"GenerateMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","chain","marketplaceFee","signatureId"]},"GenerateMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","marketplaceFee","chain","feeCurrency","signatureId"]},"GenerateAuction":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","auctionFee","fromPrivateKey"]},"GenerateAuctionCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","auctionFee","chain","feeCurrency","fromPrivateKey"]},"GenerateAuctionKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","KLAY","BSC","MATIC"],"example":"ETH","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["feeRecipient","chain","auctionFee","signatureId"]},"GenerateAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeRecipient":{"maxLength":42,"minLength":42,"description":"Address of the recipient of the fee for the trade.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"Percentage of the selling amount of the NFT asset. 100 - 1%","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeRecipient","auctionFee","chain","feeCurrency","signatureId"]},"GenerateMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"feeRecipient":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","from","feeRecipient","marketplaceFee","fromPrivateKey"]},"GenerateMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"feeRecipient":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","from","feeRecipient","marketplaceFee","signatureId"]},"SellAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of native currency cashback. In case of ERC-1155 this field is required and must be greater than 0","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the seller's blockchain address"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","fromPrivateKey"]},"SellAssetOnMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"nftAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset to sell","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the seller","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"authorityPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the seller"}},"required":["chain","contractAddress","nftAddress","price","from","fromPrivateKey"]},"SellAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"nftAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset to sell","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the seller","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller"}},"required":["chain","contractAddress","nftAddress","price","from","signatureId"]},"SellAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of native currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the seller's blockchain address"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","feeCurrency","fromPrivateKey"]},"SellAssetOnMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of natiev currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller's blockchain address"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","signatureId"]},"SellAssetOnMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter amount only in case of natiev currency cashback.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the seller's blockchain address"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","feeCurrency","signatureId"]},"WithdrawFromMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the marketplace fee recipient","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"amount":{"description":"Amount of funds to withdraw.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketplace fee recipient"}},"required":["chain","contractAddress","nftAddress","amount","from","fromPrivateKey"]},"WithdrawFromMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the marketplace fee recipient","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"amount":{"description":"Amount of funds to withdraw.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketplace fee recipient"}},"required":["chain","contractAddress","nftAddress","amount","from","signatureId"]},"CreateAuction":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","fromPrivateKey"]},"CreateAuctionCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","feeCurrency","fromPrivateKey"]},"CreateAuctionKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","signatureId"]},"CreateAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the auction smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"nftAddress":{"maxLength":42,"minLength":42,"description":"Address of the NFT asset to sell smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"seller":{"maxLength":42,"minLength":42,"description":"Address of the seller of the NFT asset.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"id":{"type":"string","description":"ID of the auction. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"endedAt":{"description":"Last block, where auction accepts bids.","example":100000,"minimum":0,"type":"number"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","contractAddress","tokenId","isErc721","id","seller","endedAt","feeCurrency","signatureId"]},"SellAssetOnMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"nftAddress":{"maxLength":34,"minLength":34,"description":"Address of the NFT asset to sell smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"seller":{"maxLength":34,"minLength":34,"description":"Address of the seller of the NFT asset.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","fromPrivateKey"]},"SellAssetOnMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nftAddress":{"maxLength":34,"minLength":34,"description":"Address of the NFT asset to sell smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"seller":{"maxLength":34,"minLength":34,"description":"Address of the seller of the NFT asset.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"amount":{"description":"Amount of the assets to be sent. For ERC-721 tokens, enter 1.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"ID of token, if transaction is for ERC-721 or ERC-1155.","example":"100000","type":"string","maxLength":256},"price":{"description":"Price of the asset to sell. Marketplace fee will be obtained on top of this price.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155.","example":true},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","nftAddress","chain","contractAddress","tokenId","isErc721","listingId","seller","price","from","signatureId"]},"BuyAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"The ID of the listing with the asset that you want to buy","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"amount":{"description":"(Only if you pay with the native blockchain currency) The price of the asset that you want to buy plus the marketplace fee. Do not use if you pay with fungible tokens.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"(Only if you pay with the fungible tokens) The blockchain address of the fungible tokens. Do not use if you pay with the native blockchain currency.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"buyer":{"maxLength":42,"minLength":42,"description":"(Only if you want to buy the asset on behalf of someone else and this person wants to pay with the fungible tokens; for example, for buying the asset from a custodial wallet address) The blockchain address of the buyer on whose behalf you are buying the assetrequiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the buyer"}},"required":["chain","contractAddress","listingId","from","fromPrivateKey"]},"BuyAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"The blockchain address of the listing with the asset that you want to buy","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the buyer","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the buyer"}},"required":["chain","contractAddress","listingId","from","signatureId"]},"BuyAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"The ID of the listing with the asset that you want to buy","minLength":1,"maxLength":200},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"amount":{"description":"(Only if you pay with the native blockchain currency) The price of the asset that you want to buy plus the marketplace fee. Do not use if you pay with fungible tokens.","example":"1","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"(Only if you pay with the fungible tokens) The blockchain address of the fungible tokens. Do not use if you pay with the native blockchain currency.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"buyer":{"maxLength":42,"minLength":42,"description":"(Only if you want to buy the asset on behalf of someone else and this person wants to pay with the fungible tokens; for example, for buying the asset from a custodial wallet address) The blockchain address of the buyer on whose behalf you are buying the asset100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","fromPrivateKey"]},"UpdateFeeSolana":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The new percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketspace authority"}},"required":["chain","contractAddress","marketplaceFee","from","fromPrivateKey"]},"UpdateFeeSolanaKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The new percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketspace authority"}},"required":["chain","contractAddress","marketplaceFee","from","signatureId"]},"UpdateFeeCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","feeCurrency","fromPrivateKey"]},"UpdateFeeKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","marketplaceFee","signatureId","contractAddress"]},"UpdateFeeCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the marketplace smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","marketplaceFee","feeCurrency","signatureId"]},"UpdateFeeTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","marketplaceFee","fromPrivateKey"]},"UpdateFeeTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","marketplaceFee","from","signatureId"]},"UpdateFeeAuction":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","fromPrivateKey"]},"UpdateFeeAuctionKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["nftAddress","chain","auctionFee","signatureId","contractAddress"]},"UpdateFeeAuctionCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","feeCurrency","fromPrivateKey"]},"UpdateFeeAuctionCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the auction smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"auctionFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the auction as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","auctionFee","feeCurrency","signatureId"]},"UpdateMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the marketplace authority"}},"required":["chain","contractAddress","from","fromPrivateKey"]},"UpdateMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"marketplaceFee":{"type":"number","description":"The percentage of the amount that an NFT was sold for that will be sent to the marketplace as a fee. To set the fee to 1%, set this parameter to 100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.","example":150,"minimum":0,"maximum":10000},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the marketplace authority","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"treasuryWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace treasury account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"feeWithdrawalDestination":{"description":"The address that will be able to withdraw funds from the marketplace fee account to own address","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"requiresSignOff":{"description":"Set to \"false\" if you do not want the marketplace to sign all operations related to the listings and sales; if not set, defaults to \"true\" (the marketplace must sign all the operations)","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the marketplace authority"}},"required":["chain","contractAddress","from","signatureId"]},"CancelSellAssetOnMarketplace":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["chain","contractAddress","listingId","fromPrivateKey"]},"CancelSellAssetOnMarketplaceSolana":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"Blockchain address of the listing","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset owner","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authorityPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"The private key of the asset owner"}},"required":["chain","contractAddress","listingId","from","fromPrivateKey"]},"CancelSellAssetOnMarketplaceSolanaKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["SOL"],"example":"SOL","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"Blockchain address of the smart contract","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","type":"string"},"listingId":{"maxLength":44,"minLength":32,"description":"Blockchain address of the listing","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"from":{"maxLength":44,"minLength":32,"description":"Blockchain address of the asset owner","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU"},"authoritySignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key used for signing transactions as authority; required if requiresSignOff
is set to \"true\" for the marketplace"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the asset owner"}},"required":["chain","contractAddress","listingId","from","signatureId"]},"CancelSellAssetOnMarketplaceCelo":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","listingId","feeCurrency","fromPrivateKey"]},"CancelSellAssetOnMarketplaceKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["ETH","ONE","BSC","KLAY","MATIC"],"example":"ETH","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["nftAddress","chain","listingId","signatureId","contractAddress"]},"CancelSellAssetOnMarketplaceCeloKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["CELO"],"example":"CELO","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of the marketplace smart contract.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"erc20Address":{"maxLength":42,"minLength":42,"description":"Optional address of the ERC20 token, which will be used as a selling currency of the NFT.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"listingId":{"type":"string","description":"ID of the listing. It's up to the developer to generate unique ID","minLength":1,"maxLength":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","listingId","feeCurrency","signatureId"]},"CancelSellAssetOnMarketplaceTron":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","listingId","fromPrivateKey"]},"CancelSellAssetOnMarketplaceTronKMS":{"type":"object","properties":{"chain":{"description":"Blockchain to work with.","enum":["TRON"],"example":"TRON","type":"string"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of the marketplace smart contract.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"maxLength":34,"minLength":34,"description":"Address of the recipient of the fee for the trade.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"erc20Address":{"maxLength":34,"minLength":34,"description":"Optional address of the TRC20 token, which will be used as a selling currency of the NFT.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01}},"required":["feeLimit","chain","contractAddress","listingId","from","signatureId"]},"ApproveTransferCustodialWallet":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","fromPrivateKey","tokenAddress"]},"ApproveTransferCustodialWalletCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","fromPrivateKey","tokenAddress"]},"ApproveTransferCustodialWalletCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","signatureId","tokenAddress"]},"ApproveTransferCustodialWalletKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that holds the asset","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to allow the transfer of the asset from the gas pump address","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 2
for Multi Tokens (ERC-1155 or equivalent).","example":0,"enum":[0,1,2]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"The address of the asset to transfer","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or Multi Token) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","spender","signatureId","tokenAddress"]},"TransferCustodialWallet":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","fromPrivateKey"]},"TransferCustodialWalletCelo":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","fromPrivateKey"]},"TransferCustodialWalletCeloKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["CELO"],"example":"CELO","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeCurrency":{"type":"string","default":"CELO","description":"The currency in which the gas fee will be paid","enum":["CELO","CUSD","CEUR"]},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","signatureId"]},"TransferCustodialWalletKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"maxLength":42,"minLength":42,"description":"The blockchain address that receives the asset","example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,2,3]},"tokenAddress":{"maxLength":42,"minLength":42,"description":"(Only if the asset is a fungible token, NFT, or Multi Token) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"0x782919AFc85eEA2cB736874225456bB5d3e242bA","type":"string"},"amount":{"description":"(Only if the asset is a fungible token, Multi Token, or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is a Multi Token or NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transfer transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["custodialAddress","chain","contractType","recipient","signatureId"]},"TransferCustodialWalletTronKMS":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["TRON"],"example":"TRON","type":"string"},"custodialAddress":{"maxLength":34,"minLength":34,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"from":{"type":"string","minLength":34,"maxLength":34,"description":"The blockchain address that owns the gas pump address (\"master address\") in the Base58 format","example":"TBAYy8ykFZqdzxMwaqacHvUvUzUTp6ZR5U"},"recipient":{"maxLength":34,"minLength":34,"description":"The blockchain address that receives the asset","example":"TYMcTVBz48okKLRczhwiDu22V6XG3yk6W9","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,3]},"tokenAddress":{"maxLength":34,"minLength":34,"description":"(Only if the asset is a fungible token or NFT) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"TYMG3ykLRczh6W9cTVBz48wiDu22V6XokK","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is an NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that owns the gas pump address key (\"master address\")"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the \"master address\""},"feeLimit":{"type":"number","minimum":0,"description":"The maximum amount to be paid as the gas fee (in TRX)","example":10}},"required":["custodialAddress","chain","contractType","feeLimit","from","recipient","signatureId"]},"TransferCustodialWalletTron":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["TRON"],"example":"TRON","type":"string"},"custodialAddress":{"maxLength":34,"minLength":34,"description":"The gas pump address that transfers the asset; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh","type":"string"},"recipient":{"maxLength":34,"minLength":34,"description":"The blockchain address that receives the asset","example":"TYMcTVBz48okKLRczhwiDu22V6XG3yk6W9","type":"string"},"contractType":{"type":"number","description":"The type of the asset to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","example":0,"enum":[0,1,3]},"tokenAddress":{"maxLength":34,"minLength":34,"description":"(Only if the asset is a fungible token or NFT) The address of the token to transfer. Do not use if the asset is a native blockchain currency.","example":"TYMG3ykLRczh6W9cTVBz48wiDu22V6XokK","type":"string"},"amount":{"description":"(Only if the asset is a fungible token or native blockchain currency) The amount of the asset to transfer. Do not use if the asset is an NFT.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"tokenId":{"description":"(Only if the asset is an NFT) The ID of the token to transfer. Do not use if the asset is a fungible token or native blockchain currency.","example":"100000","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"The private key of the blockchain address that owns the gas pump address (\"master address\")"},"feeLimit":{"type":"number","minimum":0,"description":"The maximum amount to be paid as the gas fee (in TRX)","example":10}},"required":["custodialAddress","chain","contractType","feeLimit","recipient","fromPrivateKey"]},"TransferCustodialWalletBatch":{"type":"object","properties":{"chain":{"description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE","XDC"],"example":"ETH","type":"string"},"custodialAddress":{"maxLength":42,"minLength":42,"description":"The gas pump address that transfers the assets; this is the address that you precalculated and activated earlier and that is assigned to a customer in your custodial application; this is not the \"master address\"","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"recipient":{"type":"array","description":"The blockchain address that receives the assets","items":{"maxLength":42,"minLength":42,"example":"0xe242bA5456b782919AFc85687422eEA2cB73B5d3","type":"string"}},"contractType":{"type":"array","description":"The type of the assets to transfer. Set 0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\n0
for fungible tokens (ERC-20 or equivalent), 1
for NFTs (ERC-721 or equivalent), 2
for Multi Tokens (ERC-1155 or equivalent), or 3
for native blockchain currencies.","items":{"type":"number","example":0,"enum":[0,1,2,3]}},"tokenAddress":{"type":"array","description":"\"tokenAddress\": [\"0x782919AFc85eEA2cB736874225456bB5d3e242bA\",\"0x74225456bB5d3e242bA782919AFc85eEA2cB7368\",...,\"0x3e242bA78274225456bB52cB7368d919AFc85eEA\"]
\n\"tokenAddress\": [\"0\",\"0\",...,\"0\"]
\n\"amount\": [\"100000\",\"15000\",...,\"250000\"]
\n\"amount\": [\"0\",\"0\",...,\"0\"]
\n\"tokenId\": [\"12\",\"13\",...,\"24\"]
\n \"tokenId\": [\"0\",\"0\",...,\"0\"]
\nsignatureId
parameter that you provided in the request body. The signatureId
parameter in the request body specifies the signature ID associated with the private key in KMS.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","type":"string"}},"required":["signatureId"]},"OffchainTransactionResult":{"type":"object","properties":{"id":{"description":"ID of withdrawal. If transaction is not valid in blockchain, use this id to cancel withdrawal.","example":"5e68c66581f2ee32bc354087","type":"string"},"txId":{"description":"TX hash of successful transaction.","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"completed":{"description":"If set to \"true\", the withdrawal has been completed in the virtual account; if set to \"false\", the withdrawal has not been completed and you have to complete it manually","example":true,"type":"boolean"}},"required":["txId","id","completed"]},"OffchainTransactionSignatureResult":{"type":"object","properties":{"signatureId":{"description":"ID of prepared payment template to sign. This is should be stored on a client side to retrieve ID of the blockchain transaction, when signing application signs the transaction and broadcasts it to the blockchain.","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","format":"uuid","type":"string"}},"required":["id","signatureId"]},"Url":{"properties":{"url":{"description":"QR Code as data URL","type":"string"}},"type":"object"},"VirtualCurrency":{"properties":{"name":{"description":"Virtual currency name. Must be prefixed with 'VC_'.","example":"VC_VIRTUAL","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"supply":{"description":"Supply of virtual currency.","maxLength":38,"minLength":1,"example":"1000000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"customer":{"$ref":"#/components/schemas/CustomerRegistration"},"description":{"description":"Used as a description within Tatum system.","example":"My Virtual Token description.","maxLength":100,"minLength":1,"type":"string"},"accountCode":{"description":"For bookkeeping to distinct account purpose.","maxLength":50,"example":"AC_1011_B","minLength":1,"type":"string"},"accountNumber":{"description":"Account number from external system.","example":"1234567890","type":"string","minLength":1,"maxLength":50},"accountingCurrency":{"description":"All transaction will be billed in this currency for created account associated with this currency. If not set, EUR is used. ISO-4217","$ref":"#/components/schemas/FiatCurrency","example":"USD"}},"required":["basePair","name","supply"],"type":"object"},"VC":{"properties":{"name":{"description":"Virtual currency name. Must be prefixed with 'VC_'.","example":"VC_VIRTUAL","type":"string"},"supply":{"description":"Supply of virtual currency.","example":"1000000","type":"string"},"accountId":{"description":"Virtual currency account.","example":"5e68c66581f2ee32bc354087","type":"string"},"baseRate":{"type":"number","default":1,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"precision":{"type":"number","example":6,"description":"Number of decimal places of this virtual currency."},"trcType":{"type":"string","example":"TRC20","description":"Type of Tron token.","enum":["TRC10","TRC20"]},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"BTC","type":"string"},"customerId":{"description":"ID of customer associated with virtual currency.","type":"string","example":"5e68c66581f2ee32bc354087"},"description":{"description":"Used as a description within Tatum system.","example":"My Virtual Token description.","type":"string"},"erc20Address":{"description":"Address of ERC20 token, when virtual currency is based on the Ethereum blockchain.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"issuerAccount":{"description":"Blockchain account for XLM or XRP based virtual currencies, which is marked as the issuer of the custom blockchain asset.","example":"GDKYMXOAJ5MK4EVIHHNWRGAAOUZMNZYAETMHFCD6JCVBPZ77TUAZFPKT","type":"string"},"chain":{"description":"Blockchain, on which this virtual currency is paired on. Not present, when Tatum's private ledger is used as a base ledger.","example":"ETH","type":"string","enum":["ETH","XRP","XLM"]},"initialAddress":{"description":"Ethereum address, where initial supply was minted, when virtual currency is based on the Ethereum blockchain.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"}},"required":["basePair","baseRate","name","accountId","supply"],"type":"object"},"VirtualCurrencyUpdate":{"properties":{"name":{"description":"Virtual currency name, which will be updated. It is not possible to update the name of the virtual currency.","example":"VC_VIRTUAL","maxLength":30,"pattern":"^[a-zA-Z0-9_]+$","minLength":1,"type":"string"},"baseRate":{"type":"number","example":1,"default":1,"minimum":0,"description":"Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair."},"basePair":{"description":"Base pair for virtual currency. Transaction value will be calculated according to this base pair. e.g. 1 VC_VIRTUAL is equal to 1 BTC, if basePair is set to BTC.","$ref":"#/components/schemas/FiatOrCryptoCurrency","example":"EUR"}},"required":["name"],"type":"object"},"VirtualCurrencyOperation":{"properties":{"accountId":{"description":"Ledger account with currency of the virtual currency, on which the operation will be performed.","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"amount":{"description":"Amount of virtual currency to operate within this operation.","maxLength":38,"example":"1.5","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"paymentId":{"description":"Identifier of the payment, shown for created Transaction within Tatum sender account.","example":"My Payment","maxLength":100,"minLength":1,"type":"string"},"reference":{"description":"Reference of the payment.","example":"akjsndakjsdn-asd-kjasnd-asdkn-asdjnasjkdn","maxLength":100,"minLength":1,"type":"string"},"transactionCode":{"description":"For bookkeeping to distinct transaction purpose.","example":"1_01_EXTERNAL_CODE","maxLength":100,"minLength":1,"type":"string"},"recipientNote":{"description":"Note visible to both, sender and recipient. Available for both Mint and Revoke operations","example":"Private note","maxLength":500,"minLength":1,"type":"string"},"counterAccount":{"description":"External account identifier. By default, there is no counterAccount present in the transaction.","example":"5e6645712b55823de7ea82f1","maxLength":24,"minLength":24,"type":"string"},"senderNote":{"description":"Note visible to sender. Available in Revoke operation.","example":"Sender note","maxLength":500,"minLength":1,"type":"string"}},"required":["accountId","amount"],"type":"object"},"Wallet":{"type":"object","required":["mnemonic","xpub"],"properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"xpub":{"description":"Generated Extended public key for wallet with derivation path according to BIP44. This key can be used to generate addresses.","example":"xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid","type":"string"}}},"GeneratedAddressEth":{"type":"object","properties":{"address":{"type":"string","description":"Ethereum address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"GeneratedAddressBtc":{"type":"object","properties":{"address":{"type":"string","description":"Bitcoin address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"Withdrawal":{"properties":{"senderAccountId":{"description":"Sender account ID","example":"5e68c66581f2ee32bc354087","maxLength":24,"minLength":24,"type":"string"},"address":{"description":"Blockchain address to send assets to. For BTC, LTC, DOGE and BCH, it is possible to enter list of multiple recipient blockchain addresses as a comma separated string.","example":"mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7","maxLength":10000,"minLength":1,"type":"string"},"amount":{"description":"Amount to be withdrawn to blockchain.","maxLength":38,"example":"0.001","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"attr":{"description":"Used to parametrize withdrawal. Used for XRP withdrawal to define destination tag of recipient, or XLM memo of the recipient, if needed.
\nFor Bitcoin, Litecoin, Bitcoin Cash, used as a change address for left coins from transaction.
Used to parametrize withdrawal. Used for XRP withdrawal to define destination tag of recipient, or XLM memo of the recipient, if needed.
\nFor Bitcoin, Litecoin, Bitcoin Cash, used as a change address for left coins from transaction.
from
parameter","minimum":0,"example":200},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","fromPrivateKey"]},"ActivateGasPumpTatum":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","MATIC","KLAY","ONE"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feesCovered":{"type":"boolean","example":true,"description":"Set to \"true\" to cover the gas fee by credits from your monthly credit allowance."}},"required":["chain","owner","from","to","feesCovered"]},"ActivateGasPumpKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","ETH","KLAY","MATIC","ONE"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic"}},"required":["chain","owner","from","to","signatureId"]},"ActivateGasPumpCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeCurrency":{"type":"string","description":"The currency in which the gas fee will be paid","example":"CELO","enum":["CELO","CUSD","CEUR"]},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","fromPrivateKey","feeCurrency"]},"ActivateGasPumpCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeCurrency":{"type":"string","description":"The currency in which the gas fee will be paid","example":"CELO","enum":["CELO","CUSD","CEUR"]},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address that will pay the gas fee that was generated from the mnemonic"}},"required":["chain","owner","from","to","signatureId","feeCurrency"]},"ActivateGasPumpTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the gas fee (in TRX)","example":600},"fromPrivateKey":{"type":"string","maxLength":64,"example":"e26c1595086cd52f2bc61774c7228b841db66b4b9b0ed36dc29dbc90595dd5b6","minLength":64,"description":"The private key of the blockchain address that will pay the gas fee for the activation transaction"}},"required":["chain","owner","from","to","feeLimit","fromPrivateKey"]},"ActivateGasPumpTronKMS":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"owner":{"type":"string","description":"The blockchain address that owns the precalculated gas pump addresses and is used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to activate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to activate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":200},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the gas fee (in TRX)","example":600},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that will pay the gas fee for the activation transaction"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the specific address from the mnemonic"}},"required":["chain","owner","from","to","feeLimit","signatureId"]},"CreateGasPump":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","MATIC","KLAY","ONE","TRON"]},"owner":{"type":"string","description":"The blockchain address that will own the precalculated gas pump addresses and will be used to pay gas fees for operations made on the gas pump addresses; can be referred to as \"master address\"","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"from":{"type":"integer","description":"The start index of the range of gas pump addresses to precalculate","minimum":0,"example":0},"to":{"type":"integer","description":"The end index of the range of gas pump addresses to precalculate; must be greater than or equal to the value in the from
parameter","minimum":0,"example":1000}},"required":["chain","owner","from","to"]},"GasPumpTrxOut":{"type":"object","properties":{"valid":{"type":"array","description":"Activated gas pump addresses","items":{"$ref":"#/components/schemas/ValidGasPumpAddress"}},"invalid":{"type":"array","description":"Not activated gas pump addresses","items":{"$ref":"#/components/schemas/InvalidGasPumpAddress"}}}},"ValidGasPumpAddress":{"type":"object","properties":{"index":{"type":"number","description":"The index of the activated gas pump address","example":1},"address":{"type":"string","description":"The activated gas pump address","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea"}}},"InvalidGasPumpAddress":{"type":"object","properties":{"address":{"type":"string","description":"The not activated gas pump address","example":"0x2b5a0bE5940B63dE1eDdCCCa7bd977357e2488eD"},"reason":{"type":"string","description":"The reason why the gas pump address did not get activated","example":"Wallet already exists"}}},"SolanaMarketplaceTransactionHash":{"type":"object","properties":{"txId":{"description":"The hash (ID) of the transaction","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"contractAddress":{"description":"The address of deployed marketplace contract","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5","type":"string"},"feeAccount":{"description":"The blockchain address of the fee account","example":"B2va8BWefHKhKnejxiKxLxWYbpzwJWPsNGzEPCiYHQDH","type":"string"},"treasuryAccount":{"description":"The blockchain address of the treasury account","example":"9MLntRkghAgC7ZR1RQouE9EkXwjTfZxbi9nBziofPTjM","type":"string"}},"required":["txId","contractAddress","feeAccount","treasuryAccount"]},"SolanaMarketplaceSellTransactionHash":{"type":"object","properties":{"txId":{"description":"The hash (ID) of the transaction","example":"c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9","type":"string"},"listingId":{"description":"The ID of the listing","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5","type":"string"}},"required":["txId","listingId"]},"EvmListingData":{"type":"object","properties":{"amount":{"type":"string","description":"Amount of NFTs to sold in this listing. Valid only for ERC1155 listings.","example":"1"},"buyer":{"type":"string","description":"Address of the buyer, if exists.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"erc20Address":{"type":"string","description":"Address of the ERC20 token smart contract, which should be used for paying for the asset","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"isErc721":{"type":"boolean","description":"True if asset is NFT of type ERC721, false if ERC1155","example":true},"listingId":{"type":"string","description":"ID of the listing.","example":"12345"},"nftAddress":{"type":"string","description":"Address of the NFT smart contract.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"price":{"type":"string","description":"Price of the NFT asset in native currency or ERC20 token based on the presence of erc20Address field.","example":"1.234"},"seller":{"type":"string","description":"Address of the seller.","example":"0xc21C81ef03f98898Fb155E00C364e8a7b9D158b8"},"state":{"type":"string","description":"State of the listing. 0 - available, 1 - sold, 2 - cancelled","enum":["0","1","2"],"example":"1"}}},"SolanaListingData":{"type":"object","required":["amount","listingId","nft","price","seller","state","createdAt"],"properties":{"amount":{"type":"string","description":"Amount of NFTs to sold in this listing.","example":"1"},"buyer":{"type":"string","description":"Address of the buyer, if exists.","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"listingId":{"type":"string","description":"ID of the listing","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"nft":{"type":"object","required":["address","data"],"properties":{"address":{"type":"string","description":"NFT Address","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"data":{"$ref":"#/components/schemas/SolanaNftMetadata"}}},"price":{"type":"string","description":"Price of the NFT asset in native currency or ERC20 token based on the presence of erc20Address field.","example":"1.234"},"seller":{"type":"string","description":"Address of the seller.","example":"9qhKAgVRebMnjVM4AHdHcseYQG47Mns3U8e7dRz24kg5"},"state":{"type":"string","description":"State of the listing. 0 - available, 1 - sold, 2 - cancelled","enum":["0","1","2"],"example":"1"},"createdAt":{"type":"number","description":"Timestamp when this listing was created","example":1669751911},"purchasedAt":{"type":"number","description":"Timestamp when this listing was purchased","example":1669751911},"cancelledAt":{"type":"number","description":"Timestamp when this listing was cancelled","example":1669751911}}},"FlowAddressXpub":{"type":"object","properties":{"txId":{"type":"string","example":"d1c75a84e4bdf0dd9bf1bcd0ce4fb25f89e2ed3c5e9574dbca2760b52c428717","description":"The ID of the transaction"},"address":{"type":"string","example":5695321609876367000,"description":"The generated blockchain address"}},"required":["txId","address"]},"CountryCode":{"type":"string","enum":["AD","AE","AF","AG","AI","AL","AM","AO","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]},"FiatCurrency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BRL","BSD","BTN","BWP","BYN","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DOGE","DZD","EGP","ERN","ETB","ETH","EUR","FJD","FKP","FLOW","FUSD","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LVL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VEF","VND","VUV","WST","XAF","XAG","XAU","XCD","XDR","XOF","XPF","YER","ZAR","ZMK","ZMW","ZWL"]},"FiatOrCryptoCurrency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","ALGO","ADA","BAM","BAT","BBD","BCH","BDT","BGN","BHD","BIF","BMD","BNB","BND","BOB","BRL","BSD","BTC","BTN","BWP","BYN","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DOGE","DZD","EGP","ERN","ETB","ETH","EUR","FJD","FKP","FLOW","FUSD","FREE","GMC","GMC_BSC","RMD","GBP","GEL","GGP","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","IMP","INR","IQD","IRR","ISK","JEP","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LEO","LINK","LKR","LRD","LSL","LTC","LTL","LVL","LYD","MAD","MATIC","MDL","MGA","MKD","MKR","MMK","MMY","MNT","MOP","MRO","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PAX","PAXG","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","STD","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TRON","TUSD","BUSD","TWD","TZS","UAH","UGX","UNI","USD","USDC","USDC_MATIC","USDC_MATIC_NATIVE","USDT","USDT_TRON","USDT_MATIC","UYU","UZS","VEF","VND","VUV","WBTC","WST","XAF","XAG","XAU","XCD","XCON","XDR","XOF","XPF","XRP","YER","ZAR","ZMK","ZMW","ZWL"]},"GasEstimated":{"type":"object","required":["gasLimit","gasPrice"],"properties":{"gasPrice":{"type":"string","description":"The estimated price for one gas unit (in wei)","example":"10000000000"},"gasLimit":{"type":"number","description":"The number of the gas units needed to process the transaction at the estimated gas price","example":"21000"}}},"Erc20Currency":{"enum":["BAT","BUSD","COIIN","ETH","FREE","GMC","LATOKEN","LEO","LINK","MATIC_ETH","MKR","MMY","PAX","PAXG","PLTC","REVV","SAND","TUSD","UNI","USDC","USDT","WBTC","XCON"],"example":"ETH","type":"string"},"NodeRpcPutChains":{"type":"string","example":"algorand-testnet-algod","enum":["algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","egld-mainnet","egld-testnet","stellar-mainnet","stellar-testnet","bnb-mainnet","bnb-testnet"]},"NodeRpcGetChains":{"type":"string","example":"algorand-testnet-algod","enum":["algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","egld-mainnet","egld-testnet","lisk-mainnet","lisk-testnet","stellar-mainnet","stellar-testnet","tezos-mainnet","tezos-testnet","tron-mainnet","tron-testnet","flow-mainnet","flow-testnet","bnb-mainnet","bnb-testnet","kadena-mainnet","kadena-testnet","iota-mainnet"]},"NodeRpcPostChains":{"type":"string","example":"ethereum-sepolia","enum":["ethereum-sepolia","ethereum-mainnet","ethereum-holesky","polygon-amoy","polygon-mainnet","klaytn-baobab","klaytn-cypress","solana-devnet","solana-mainnet","celo-mainnet","celo-testnet","lisk-mainnet","lisk-testnet","algorand-testnet-algod","algorand-mainnet-algod","algorand-testnet-indexer","algorand-mainnet-indexer","bitcoin-mainnet","bitcoin-testnet","litecoin-core-mainnet","litecoin-core-testnet","kcs-testnet","kcs-mainnet","cardano-preprod","cardano-mainnet","vechain-testnet","vechain-mainnet","ripple-mainnet","ripple-testnet","flare-mainnet","flare-coston","flare-coston2","flare-songbird","flow-mainnet","flow-testnet","xdc-mainnet","xdc-testnet","tron-mainnet","tron-testnet","bsc-mainnet","bsc-testnet","bch-mainnet","bch-testnet","stellar-mainnet","stellar-testnet","bnb-mainnet","bnb-testnet","egld-mainnet","egld-testnet","doge-mainnet","doge-testnet","one-mainnet-s0","one-testnet-s0","eos-mainnet","eos-testnet","avax-mainnet","avax-testnet","avax-x-mainnet","avax-x-testnet","avax-p-mainnet","avax-p-testnet","fantom-mainnet","fantom-testnet","arb-nova-mainnet","arb-one-mainnet","arb-testnet","optimism-mainnet","optimism-testnet","near-mainnet","near-testnet","cro-mainnet","cro-testnet","rsk-mainnet","rsk-testnet","aurora-mainnet","aurora-testnet","gno-mainnet","gno-testnet","dot-mainnet","dot-testnet","ksm-mainnet","ksm-testnet","oasis-mainnet","oasis-testnet","tezos-mainnet","tezos-testnet","zcash-mainnet","zcash-testnet","palm-mainnet","palm-testnet","zilliqa-mainnet","zilliqa-testnet","ethereum-classic-mainnet","ethereum-classic-testnet","base-mainnet","base-sepolia","chiliz-mainnet","chiliz-testnet","kadena-mainnet","kadena-testnet","rostrum-mainnet","cosmos-mainnet","haqq-mainnet","haqq-testnet","eon-mainnet","eon-testnet","iota-mainnet"]},"EthTestnetType":{"type":"string","default":"ethereum-sepolia","enum":["ethereum-sepolia","ethereum-holesky"]},"TestnetType":{"type":"string","description":"Specifies the testnet type. The default is ethereum-sepolia for Ethereum (ETH) currency and flare-coston for Flare (FLR) currency. Valid testnet types depend on the specified currency.","enum":["ethereum-sepolia","ethereum-holesky","flare-coston","flare-coston2","flare-songbird"]},"FlareTestnetType":{"type":"string","default":"flare-coston","enum":["flare-coston","flare-coston2","flare-songbird"]},"TransferManagedAddress":{"type":"object","properties":{"chain":{"type":"string","description":"Blockchain to work on","example":"SOL","enum":["SOL"]},"txData":{"type":"string","minLength":1,"maxLength":500000,"description":"Hex serialized data representing transaction, which should be signed using one of the managed wallets.","example":"020001044a22af97a838a504e6f7c0b18d779afcea612da50794cc1dac641861fc1ab14afa5cacaf91c298694e64bb5496916c3c68a32affb92d4bcd2736fbb00169d57bd840de2a454960308f688cd3ee308c1fa01ecfa0b03770aaaf3b52d71d46c31d000000000000000000000000000000000000000000000000000000000000000060d38e0da20dc5900b7e902c918eae6a95e2d90af154b53a422f4ab26b050f4f01030201020c02000000e803000000000000"},"walletIds":{"type":"array","items":{"type":"object","required":["key","type"],"properties":{"key":{"type":"string","description":"Wallet ID of wallet, which should be used for signing. In case of RAW type of the wallet, this represents the private key which will be used for signatures.","example":"0b1eae3d-2520-4903-8bbf-5dec3ad2a5d4"},"type":{"type":"string","example":"MANAGED","description":"Type of the wallet to be used - RAW represents native private key, MANAGED represents ID of the managed wallet.","enum":["MANAGED","RAW"]}}}}},"required":["chain","txData","walletIds"]},"CustodialManagedAddress":{"type":"object","required":["address","walletId","chain"],"properties":{"address":{"type":"string","description":"Blockchain address","example":"8oJ8KRL87ja7DjPSsmBG1KtfrpsfLGDMJDGzev68DGqx"},"walletId":{"type":"string","format":"uuid","example":"52901013-94ab-4124-8645-acba4ee90bb8","description":"Unique identifier of the managed address"},"chain":{"type":"string","description":"Blockchain of the address","example":"SOL","enum":["BSC","ETH","KLAY","ONE","CELO","MATIC","SOL","LTC","BTC"]},"privateKey":{"type":"string","example":"4jCFiqh3tLxKxt3vYW478qodivkCkSzqtpG4wqEaYkgdVC1o79a1VJTc5UiCmCmZBwoJmjaenfYH1ML7ra8vbNpA","description":"Private key of the address. Not present by default."}}},"AvalancheBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/AvalancheTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"AvalancheTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403AvalancheBroadcast":{"properties":{"errorCode":{"description":"avalanche.broadcast.failed","example":"avalanche.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheBep20Unsupported":{"properties":{"errorCode":{"description":"avalanche.bep20.unsupported","example":"avalanche.bep20.unsupported","type":"string"},"message":{"description":"Unsupported AVAX ERC20 blockchain.","example":"Unsupported AVAX ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheTxHash":{"properties":{"errorCode":{"description":"avalanche.transaction.hash","example":"avalanche.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheTxSign":{"properties":{"errorCode":{"description":"avalanche.transaction.sign","example":"avalanche.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheErc20TxSign":{"properties":{"errorCode":{"description":"avalanche.bep20.sign","example":"avalanche.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheGasCalculation":{"properties":{"errorCode":{"description":"avalanche.transaction.gas","example":"avalanche.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheTxBody":{"properties":{"errorCode":{"description":"avalanche.transaction.body","example":"avalanche.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheScBody":{"properties":{"errorCode":{"description":"avalanche.sc.invalid","example":"avalanche.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403AvalancheGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferBep20Blockchain":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send HRM20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of HRM20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that HRM20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","digits","fromPrivateKey","amount"]},"TransferBep20BlockchainKMS":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send HRM20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of HRM20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that HRM20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","signatureId","digits","amount"]},"CallAvalancheSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Avalanche transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallAvalancheSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallAvalancheSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Avalanche transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferAvalancheBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Avalanche transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Avalanche Blockchain Account.","enum":["AVAX"],"example":"AVAX","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"AvalancheEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Avalanche.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferAvalancheBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Avalanche transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Avalanche Blockchain Account.","enum":["AVAX"],"example":"AVAX","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"DeployBep20":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Kcs blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Kcs account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["name","symbol","address","supply","fromPrivateKey","digits"]},"GeneratedAddressAvalanche":{"type":"object","properties":{"address":{"type":"string","description":"Avalanche address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"DeployBep20KMS":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Kcs blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["name","symbol","address","supply","signatureId","digits"]},"AvalancheBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in AVAX","example":"10.52"}}},"CallAvalancheSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"AlgoWallet":{"type":"object","properties":{"address":{"maxLength":58,"minLength":58,"description":"address of Algorand account.","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"secret":{"maxLength":103,"minLength":103,"description":"secretKey can generate Mnemonic, similar to private Key.","type":"string","example":"NBYMCVEEDFYV3TPWVRE6APE7PKHUJD4XAKXCKNCLKGUXOC3LFNJGZQCJCRA53HB7ZAHF6NFJH2QIVQ5USQNWG35QCJLD4KZ5IWMB24Q"},"mnemonic":{"description":"Mnemonic of the wallet.","type":"string","example":"work syrup plug fluid moon regret wolf visa muffin supply erode lemon absurd voyage plastic blade baby stable burger glue dynamic expire cabin abandon pilot"}}},"AlgoBlock":{"type":"object","properties":{"genesisHash":{"description":"hash to which this block belongs","type":"string","example":"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI="},"genesisId":{"description":"ID to which this block belongs","type":"string","example":"testnet-v1.0"},"previousBlockHash":{"description":"Previous block hash","type":"string","example":"JeLGQTbqnBsD3NXE8Bf1TpPFMFadEVVyHhkcD61ljAU="},"rewards":{"description":"rewards","type":"object","example":{"fee-sink":"A7NMWS3NT3IUDMLVO26ULGXGIIOUQ3ND2TXSER6EBGRZNOBOUIQXHIBGDE","rewards-calculation-round":17000000,"rewards-level":27521,"rewards-pool":"7777777777777777777777777777777777777777777777777774MSJUVU","rewards-rate":0,"rewards-residue":2020197303}},"round":{"description":"Current round on which this block was appended to the chain","type":"number","example":16775567},"seed":{"description":"Sortition seed.","type":"string","example":"VPBpyrHyqbfqrHqJ3l39LXGN4qgEdNnE5kpJfk3vJtA="},"timestamp":{"description":"Block creation timestamp in seconds since eposh","type":"number","example":1632167753},"txns":{"description":"Array of transactions","type":"array","items":{"$ref":"#/components/schemas/AlgoTx"}},"txn":{"description":"TransactionsRoot authenticates the set of transactions appearing in the block.","type":"string","example":"++MWW82yIvYQ0AEoPP0aDGGHGk/dSp5WHlbkf9SVU1U="},"txnc":{"description":"TxnCounter counts the number of transations committed in the ledger","type":"number","example":27814470},"upgradeState":{"description":"upgrade state","type":"object","example":{"current-protocol":"https://github.com/algorandfoundation/specs/tree/abc54f79f9ad679d2d22f0fb9909fb005c16f8a1","next-protocol-approvals":0,"next-protocol-switch-on":0,"next-protocol-vote-before":0}},"upgradeVote":{"description":"upgrade vote","type":"object","example":{"upgrade-approve":false,"upgrade-delay":0}}}},"AlgoTx":{"type":"object","properties":{"closeRewards":{"description":"rewards applied to close-remainder-to account.","type":"number","example":0},"closingAmount":{"description":"closing amount for transaction.","type":"number","example":0},"confirmedRound":{"description":"Round when the transaction was confirmed.","type":"number","example":16775567},"fee":{"description":"Transaction fee","type":"number","example":0.001},"firstValid":{"description":"First valid round for this transaction.","type":"number","example":16775565},"genesisHash":{"description":"Hash of genesis block","type":"string","example":"SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI="},"genesisId":{"description":"genesis block ID.","type":"string","example":"testnet-v1.0"},"id":{"description":"transaction ID","type":"string","example":"HNIQ76UTJYPOLZP5FWODYABBJPYPGJNEM2QEJSMDMQRWEKHEYJHQ"},"intraRoundOffset":{"description":"Offset into the round where this transaction was confirmed.","type":"number","example":1},"lastValid":{"description":"Last valid round for this transaction.","type":"number","example":16775571},"note":{"description":"Free form data","type":"string","example":"cGluZ3Bvbmf0Jyl21QrtLw=="},"paymentTransaction":{"description":"payment Transaction","type":"object"},"receiverRewards":{"description":"rewards applied to receiver account.","type":"number","example":0},"roundTime":{"description":"Time when the block this transaction is in was confirmed.","type":"number","example":1632167753},"sender":{"description":"Sender's address","type":"string","example":"U6QEM4KM7KKGCLH4FELZBGJEVVSF556ELXHUOZC4ESPFS4O4V4VQXKQRXQ"},"senderRewards":{"description":"rewards applied to sender account.","type":"number","example":0},"signature":{"description":"signature","type":"object"},"txType":{"description":"indicates what type of transaction this is. Different types have differnet fields.","type":"string","example":"pay"}}},"AlgoTxsWithPagination":{"type":"object","properties":{"nextToken":{"description":"Used for pagination, when making another request provide this token with the next parameter.","type":"string","example":"ywAAAAAAAAAAAAAA"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/AlgoTx"}}}},"TransferAlgorandBlockchain":{"type":"object","properties":{"from":{"description":"The blockchain address of the sender","type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"to":{"description":"The blockchain address of the recipient","type":"string","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"amount":{"description":"The amount to send in Algos","type":"string","example":"1"},"note":{"description":"The note for the recipient; must not contain spaces","type":"string","example":"Helloworld"},"fromPrivateKey":{"description":"Private key of sender address. Private key, or signature Id must be present.","type":"string","example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI"}},"required":["from","to","amount","fromPrivateKey"]},"ReceiveAlgorandAsset":{"type":"object","properties":{"assetId":{"description":"AssetID of the asset you wanna enable for the sender.","type":"number","example":116363571},"fromPrivateKey":{"description":"Private key of sender address. Private key, or signature Id must be present.","type":"string","example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["assetId","fromPrivateKey"]},"ReceiveAlgorandAssetKMS":{"type":"object","properties":{"from":{"description":"Blockchain sender address.","type":"string","minLength":58,"maxLength":58,"example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"assetId":{"description":"AssetID of the asset you wanna enable for the sender.","type":"number","example":98745612},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["assetId","from","signatureId"]},"AlgoTransactionHashKMS":{"type":"object","properties":{"txId":{"description":"TX hash of transaction.","example":"GTNOIDCIHZLESKNQPJXOXE476ODYDNNQBA3N2Q75MYQ4SI4XL5SA","type":"string"},"assetIndex":{"description":"If transaction created new ASA asset, this value is the index of the asset on the network.","example":87751984,"type":"number"},"confirmed":{"example":false,"type":"boolean","description":"If transaction was not confirmed within 5 rounds, result is false.","default":false},"failed":{"description":"In case of the transaction was broadcast to the blockchain, but it was not possible to complete Tatum KMS signature, reponse is marked as failed and must be marked manually.","example":false,"type":"boolean"}},"required":["txId"]},"TransferAlgorandBlockchainKMS":{"type":"object","properties":{"from":{"description":"The blockchain address of the sender","type":"string","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4"},"to":{"description":"The blockchain address of the recipient","type":"string","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"amount":{"description":"The amount to send in Algos","type":"string","example":"1"},"note":{"description":"The note for the recipient; must not contain spaces","type":"string","example":"Helloworld"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["from","to","amount","signatureId"]},"OptimismBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/OptimismTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"OptimismTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403OptimismBroadcast":{"properties":{"errorCode":{"description":"optimism.broadcast.failed","example":"optimism.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismBep20Unsupported":{"properties":{"errorCode":{"description":"optimism.bep20.unsupported","example":"optimism.bep20.unsupported","type":"string"},"message":{"description":"Unsupported OPTIMISM ERC20 blockchain.","example":"Unsupported OPTIMISM ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismTxHash":{"properties":{"errorCode":{"description":"optimism.transaction.hash","example":"optimism.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismTxSign":{"properties":{"errorCode":{"description":"optimism.transaction.sign","example":"optimism.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismErc20TxSign":{"properties":{"errorCode":{"description":"optimism.bep20.sign","example":"optimism.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismGasCalculation":{"properties":{"errorCode":{"description":"optimism.transaction.gas","example":"optimism.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismTxBody":{"properties":{"errorCode":{"description":"optimism.transaction.body","example":"optimism.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismScBody":{"properties":{"errorCode":{"description":"optimism.sc.invalid","example":"optimism.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OptimismGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallOptimismSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Optimism transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallOptimismSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallOptimismSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Optimism transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferOptimismBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Optimism transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Optimism Blockchain Account.","enum":["OPTIMISM"],"example":"OPTIMISM","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"OptimismEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Optimism.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferOptimismBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Optimism transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Optimism Blockchain Account.","enum":["OPTIMISM"],"example":"OPTIMISM","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressOptimism":{"type":"object","properties":{"address":{"type":"string","description":"Optimism address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"OptimismBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in OPTIMISM","example":"10.52"}}},"CallOptimismSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"MaticBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in MATIC","example":"10.52"}}},"GeneratedAddressMatic":{"type":"object","properties":{"address":{"type":"string","description":"Polygon address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"PolygonBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/PolygonTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"baseFeePerGas":{"description":"Represents the current per-unit gas price, set by the Ethereum protocol, to be burned for transaction processing.","type":"number","example":78890946115}}},"PolygonTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/PolygonTxLog"}}}},"PolygonTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403PolygonBroadcast":{"properties":{"errorCode":{"description":"polygon.broadcast.failed","example":"polygon.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonBep20Unsupported":{"properties":{"errorCode":{"description":"polygon.bep20.unsupported","example":"polygon.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxHash":{"properties":{"errorCode":{"description":"polygon.transaction.hash","example":"polygon.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxSign":{"properties":{"errorCode":{"description":"polygon.transaction.sign","example":"polygon.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonErc20TxSign":{"properties":{"errorCode":{"description":"polygon.bep20.sign","example":"polygon.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonGasCalculation":{"properties":{"errorCode":{"description":"polygon.transaction.gas","example":"polygon.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonTxBody":{"properties":{"errorCode":{"description":"polygon.transaction.body","example":"polygon.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonScBody":{"properties":{"errorCode":{"description":"polygon.sc.invalid","example":"polygon.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403PolygonGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallPolygonSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallPolygonSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"CallPolygonSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallPolygonSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferPolygonBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Polygon Blockchain Account. ERC20 tokens like USDC_MATIC, USDT_MATIC, GAMEE, INTENT, EURTENT, GOLDAX are available only for mainnet use.","enum":["MATIC","USDC_MATIC","USDT_MATIC","GAMEE","INTENT","EURTENT","GOLDAX"],"example":"MATIC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"PolygonEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in MATIC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferPolygonBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Polygon transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Polygon Blockchain Account. ERC20 tokens like USDC_MATIC, USDT_MATIC, GAMEE, INTENT, EURTENT, GOLDAX are available only for mainnet use.","enum":["MATIC","USDC_MATIC","USDT_MATIC","GAMEE","INTENT","EURTENT","GOLDAX"],"example":"MATIC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"CronosBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/CronosTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"CronosTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403CronosBroadcast":{"properties":{"errorCode":{"description":"cronos.broadcast.failed","example":"cronos.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosBep20Unsupported":{"properties":{"errorCode":{"description":"cronos.bep20.unsupported","example":"cronos.bep20.unsupported","type":"string"},"message":{"description":"Unsupported CRO ERC20 blockchain.","example":"Unsupported CRO ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxHash":{"properties":{"errorCode":{"description":"cronos.transaction.hash","example":"cronos.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxSign":{"properties":{"errorCode":{"description":"cronos.transaction.sign","example":"cronos.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosErc20TxSign":{"properties":{"errorCode":{"description":"cronos.bep20.sign","example":"cronos.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosGasCalculation":{"properties":{"errorCode":{"description":"cronos.transaction.gas","example":"cronos.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosTxBody":{"properties":{"errorCode":{"description":"cronos.transaction.body","example":"cronos.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosScBody":{"properties":{"errorCode":{"description":"cronos.sc.invalid","example":"cronos.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CronosGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallCronosSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallCronosSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallCronosSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferCronosBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Cronos Blockchain Account.","enum":["CRO"],"example":"CRO","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"CronosEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Cronos.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferCronosBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Cronos transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Cronos Blockchain Account.","enum":["CRO"],"example":"CRO","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressCronos":{"type":"object","properties":{"address":{"type":"string","description":"Cronos address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"CronosBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in CRO","example":"10.52"}}},"CallCronosSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"KlaytnBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/KlaytnTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"KlaytnTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"type":{"description":"Type of Klaytn Transaction","type":"string","example":"TxTypeLegacyTransaction"},"typeInt":{"description":"Type of Klaytn Transaction","type":"number","example":0},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in peb.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in peb.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403KlaytnBroadcast":{"properties":{"errorCode":{"description":"klaytn.broadcast.failed","example":"klaytn.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnKlay20Unsupported":{"properties":{"errorCode":{"description":"klaytn.bep20.unsupported","example":"klaytn.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxHash":{"properties":{"errorCode":{"description":"klaytn.transaction.hash","example":"klaytn.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxSign":{"properties":{"errorCode":{"description":"klaytn.transaction.sign","example":"klaytn.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnErc20TxSign":{"properties":{"errorCode":{"description":"klaytn.bep20.sign","example":"klaytn.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnGasCalculation":{"properties":{"errorCode":{"description":"klaytn.transaction.gas","example":"klaytn.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnTxBody":{"properties":{"errorCode":{"description":"klaytn.transaction.body","example":"klaytn.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnScBody":{"properties":{"errorCode":{"description":"klaytn.sc.invalid","example":"klaytn.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KlaytnGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferKlay20Blockchain":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","contractAddress","digits","fromPrivateKey","amount"]},"CallKlaytnSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallKlaytnSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallKlaytnSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferKlaytnBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Klaytn Blockchain Account.","enum":["KLAY"],"example":"KLAY","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"KlaytnEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in KLAY.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferKlaytnBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Klaytn transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Klaytn Blockchain Account.","enum":["KLAY"],"example":"KLAY","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gpeb.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent in Ether.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"SolBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in SOL","example":"10.52"}}},"SolanaWallet":{"type":"object","properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"address":{"description":"Generated account address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"privateKey":{"description":"Generated private key for account.","example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","type":"string"}}},"SolanaBlockReward":{"type":"object","properties":{"commission":{"type":"string","format":"nullable"},"lamports":{"type":"number","example":7},"postBalance":{"type":"number","example":10149491708073344},"pubkey":{"type":"string","example":"ETSKPSzESbVdmtUn67LA2p9J1gPCSEgYvmJS9pNNWQqR"},"rewardType":{"type":"string","example":"Rent"}}},"TokenBalance":{"type":"object","properties":{"accountIndex":{"description":"Index of the account in which the token balance is provided for.","type":"number","example":1},"mint":{"description":"Pubkey of the token's mint.","type":"string","example":"So11111111111111111111111111111111111111112"},"owner":{"description":"Pubkey of token balance's owner.","type":"string","example":"BYM81n8HvTJuqZU1PmTVcwZ9G8uoji7FKM6EaPkwphPt"},"programId":{"description":"Pubkey of the Token program that owns the account.","type":"string","example":"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},"uiTokenAmount":{"$ref":"#/components/schemas/UiTokenAmount"}}},"UiTokenAmount":{"type":"object","properties":{"amount":{"description":"Raw amount of tokens as a string, ignoring decimals.","type":"string","example":2653579503},"decimals":{"description":"Number of decimals configured for token's mint.","type":"number","example":9},"uiAmount":{"description":"Token amount as a float, accounting for decimals.","type":["number","null"],"example":2.653579503},"uiAmountString":{"description":"Token amount as a string, accounting for decimals.","type":"string","example":2.653579503}}},"SolanaTxMeta":{"type":"object","properties":{"err":{"type":"object"},"fee":{"type":"number","example":5000},"innerInstructions":{"type":"array","items":{"type":"object"}},"logMessages":{"type":"array","items":{"type":"string","example":"Program Vote111111111111111111111111111111111111111 invoke [1]"}},"postBalances":{"type":"array","items":{"type":"number","example":1101768559544744}},"postTokenBalances":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}},"preBalances":{"type":"array","items":{"type":"number","example":1101768559549744}},"preTokenBalances":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}},"rewards":{"type":"array","items":{"type":"object"}},"status":{"type":"object","properties":{"Ok":{"type":"string","format":"nullable"}}}}},"SolanaTxMessageHeader":{"type":"object","properties":{"numReadonlySignedAccounts":{"type":"number","example":0},"numReadonlyUnsignedAccounts":{"type":"number","example":3},"numRequiredSignatures":{"type":"number","example":1}}},"SolanaTxMessageInstruction":{"type":"object","properties":{"accounts":{"type":"array","items":{"type":"number","example":1}},"data":{"type":"string","example":"2ZjTR1vUs2pHXyTM4rXnJowxekwfBcBJwsE4EameG3Sapvgfit27vrBd8k8QYCoTtMgfHEJLDqWEWBYUYVd"},"programIdIndex":{"type":"number","example":4}}},"SolanaTxMessage":{"type":"object","properties":{"header":{"$ref":"#/components/schemas/SolanaTxMessageHeader"},"accountKeys":{"type":"array","items":{"type":"string","example":"0974de54f77afa9ad3d474909f6ce095b9623a359a5d08cc807b8a92dd5e1f96"}},"recentBlockhash":{"type":"string","example":"C3vsoVwVWx7yPRhsNoKpcm2CJTrnVcvimdC4bd3jTPbj"},"instructions":{"type":"array","items":{"$ref":"#/components/schemas/SolanaTxMessageInstruction"}},"indexToProgramIds":{"type":"object"}}},"SolanaTxTransaction":{"type":"object","properties":{"message":{"$ref":"#/components/schemas/SolanaTxMessage"},"signatures":{"type":"array","items":{"type":"string","example":"5FPSzkTsjZDBigU3ZagvkcwSPimt4K6voqrN9uUNVzWDBeRXWVH3uMarDPpSfrS7sFQeyKyDd5KpbdCrL3EWEP59"}}}},"SolanaBlockTx":{"type":"object","properties":{"meta":{"$ref":"#/components/schemas/SolanaTxMeta"},"transaction":{"$ref":"#/components/schemas/SolanaTxTransaction"}}},"SolanaTx":{"type":"object","properties":{"blockTime":{"type":"number","example":1638279975},"meta":{"$ref":"#/components/schemas/SolanaTxMeta"},"transaction":{"$ref":"#/components/schemas/SolanaTxTransaction"},"slot":{"type":"number","example":97744333}}},"SolanaBlock":{"type":"object","properties":{"blockHeight":{"type":"number","example":94778421},"blockTime":{"type":"number","example":1638279333},"blockhash":{"type":"string","example":"Ch7qVhCkSqEvhWE8xzJZbJKRcsH6wtTjfiMJdt9eKiD7"},"parentSlot":{"type":"number","example":97742681},"previousBlockhash":{"type":"string","example":"C3vsoVwVWx7yPRhsNoKpcm2CJTrnVcvimdC4bd3jTPbj"},"rewards":{"type":"array","items":{"$ref":"#/components/schemas/SolanaBlockReward"}},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/SolanaBlockTx"}}}},"Error403SolanaBroadcast":{"properties":{"errorCode":{"description":"solana.broadcast.failed","example":"Solana.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaBroadcastConfirm":{"properties":{"errorCode":{"description":"solana.broadcast.confirm.failed","example":"Solana.broadcast.confirm.failed","type":"string"},"message":{"description":"Unexpected error occurred. Reason: ${error}.","example":"Unexpected error occurred. Reason: ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxHash":{"properties":{"errorCode":{"description":"solana.transaction.hash","example":"solana.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxSign":{"properties":{"errorCode":{"description":"solana.transaction.sign","example":"solana.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403SolanaTxBody":{"properties":{"errorCode":{"description":"solana.transaction.body","example":"Solana.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferSolanaBlockchain":{"type":"object","properties":{"from":{"description":"Blockchain address to send assets from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"to":{"description":"Blockchain address to send assets to","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"amount":{"description":"Amount to be sent in SOL.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"zgsAKfjuXrAxEyuYRxbbxPM3rdsPbJPnGreaGMbcdUApJ6wHnCqQnf9b1RNPdeZxsRMkezh4VgXQ7YrbpndGtEv","minLength":87,"description":"Private key of sender address. Private key, or signature Id must be present."},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["to","amount","from","fromPrivateKey"]},"TransferSolanaBlockchainKMS":{"type":"object","properties":{"from":{"description":"Blockchain address to send assets from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"to":{"description":"Blockchain address to send assets to","example":"FZAS4mtPvswgVxbpc117SqfNgCDLTCtk5CoeAtt58FWU","maxLength":44,"minLength":32,"type":"string"},"amount":{"description":"Amount to be sent in SOL.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["to","amount","from","signatureId"]},"SolanaBroadcastConfirmOptions":{"description":"Options for sending and waiting for a transaction","type":"object","properties":{"commitment":{"type":"string","description":"Commitment to waiting for transaction confirmation","example":"confirmed","enum":["confirmed","finalized"]},"preflightCommitment":{"type":"string","description":"Preflight Commitment.","example":"finalized","enum":["confirmed","finalized","processed","recent","single","singleGossip","max"]}}},"SolanaBroadcastConfirm":{"properties":{"txData":{"description":"Raw signed transaction to be published to network.","example":"01de391b34567fc65080dfe9e27170e2f9ac1cd1719878719feb74bb422d1795201df71fcf7349f5","maxLength":500000,"minLength":1,"type":"string"},"options":{"$ref":"#/components/schemas/SolanaBroadcastConfirmOptions"}},"required":["txData"],"type":"object"},"SolanaTransactionHashWithConfirm":{"type":"object","properties":{"txId":{"description":"TX hash of successful transaction.","example":"5Sh63rNFg6iR9YUGPwEkbAg4kYSWnf5eRS2wcLG1Gc6psj27SGK3LNuN9jNSPKn3JoChgmq8pSirHWsPPWzy2PFw","type":"string"},"confirmed":{"description":"Indicates whether or not the transferred commitment has been fulfilled","example":false,"type":"boolean"}},"required":["txId","confirmed"]},"FlareBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/FlareTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"FlareTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403FlareBroadcast":{"properties":{"errorCode":{"description":"flare.broadcast.failed","example":"flare.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareBep20Unsupported":{"properties":{"errorCode":{"description":"flare.bep20.unsupported","example":"flare.bep20.unsupported","type":"string"},"message":{"description":"Unsupported FLR ERC20 blockchain.","example":"Unsupported FLR ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxHash":{"properties":{"errorCode":{"description":"flare.transaction.hash","example":"flare.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxSign":{"properties":{"errorCode":{"description":"flare.transaction.sign","example":"flare.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareErc20TxSign":{"properties":{"errorCode":{"description":"flare.bep20.sign","example":"flare.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareGasCalculation":{"properties":{"errorCode":{"description":"flare.transaction.gas","example":"flare.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareTxBody":{"properties":{"errorCode":{"description":"flare.transaction.body","example":"flare.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareScBody":{"properties":{"errorCode":{"description":"flare.sc.invalid","example":"flare.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403FlareGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallFlareSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallFlareSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallFlareSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferFlareBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Flare Blockchain Account.","enum":["FLR"],"example":"FLR","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"FlareEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Flare.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferFlareBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Flare transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Flare Blockchain Account.","enum":["FLR"],"example":"FLR","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressFlare":{"type":"object","properties":{"address":{"type":"string","description":"Flare address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"FlareBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in FLR","example":"10.52"}}},"CallFlareSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"BaseBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/BaseTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"BaseTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403BaseBroadcast":{"properties":{"errorCode":{"description":"base.broadcast.failed","example":"base.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseBep20Unsupported":{"properties":{"errorCode":{"description":"base.bep20.unsupported","example":"base.bep20.unsupported","type":"string"},"message":{"description":"Unsupported BASE ERC20 blockchain.","example":"Unsupported BASE ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxHash":{"properties":{"errorCode":{"description":"base.transaction.hash","example":"base.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxSign":{"properties":{"errorCode":{"description":"base.transaction.sign","example":"base.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseErc20TxSign":{"properties":{"errorCode":{"description":"base.bep20.sign","example":"base.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseGasCalculation":{"properties":{"errorCode":{"description":"base.transaction.gas","example":"base.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseTxBody":{"properties":{"errorCode":{"description":"base.transaction.body","example":"base.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseScBody":{"properties":{"errorCode":{"description":"base.sc.invalid","example":"base.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BaseGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallBaseSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallBaseSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallBaseSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferBaseBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Base Blockchain Account.","enum":["BASE"],"example":"BASE","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"BaseEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in Base.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferBaseBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Base transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Base Blockchain Account.","enum":["BASE"],"example":"BASE","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"GeneratedAddressBase":{"type":"object","properties":{"address":{"type":"string","description":"Base address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"BaseBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in BASE","example":"10.52"}}},"CallBaseSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"Error403Celo":{"properties":{"errorCode":{"description":"celo.error","example":"celo.error","type":"string"},"message":{"description":"Unexpected error occurred. Reason: ${reason}","example":"Unexpected error occurred. Reason: ${reason}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferErc721Celo":{"type":"object","properties":{"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","tokenId","fromPrivateKey"]},"TransferErc721KMSCelo":{"type":"object","properties":{"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","feeCurrency","signatureId","tokenId"]},"MintErc721Celo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","example":"https://my_token_data.com","type":"string","maxLength":256},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","url","feeCurrency","contractAddress","fromPrivateKey","tokenId"]},"MintErc721KMSCelo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC721 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","example":"https://my_token_data.com","type":"string","maxLength":256},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","url","feeCurrency","contractAddress","signatureId","tokenId"]},"MintErc20Celo":{"type":"object","properties":{"amount":{"description":"Amount to be minted and transfered to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","amount","feeCurrency","contractAddress","fromPrivateKey"]},"MintErc20KMSCelo":{"type":"object","properties":{"amount":{"description":"Amount to be minted and transfered to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","amount","feeCurrency","contractAddress","signatureId"]},"MintMultipleErc721Celo":{"type":"object","properties":{"to":{"type":"array","description":"Blockchain address to send ERC721 token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["100000"],"items":{"type":"string","maxLength":32}},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","url","fromPrivateKey","feeCurrency","tokenId"]},"MintMultipleErc721KMSCelo":{"type":"object","properties":{"to":{"type":"array","description":"Blockchain address to send ERC721 token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["100000"],"items":{"type":"string","maxLength":32}},"url":{"description":"Metadata of the token. See https://eips.ethereum.org/EIPS/eip-721#specification for more details.","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","feeCurrency","tokenId","url","signatureId"]},"BurnErc721Celo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","feeCurrency","fromPrivateKey","tokenId"]},"BurnErc721KMSCelo":{"type":"object","properties":{"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeCurrency","contractAddress","tokenId","signatureId"]},"BurnErc20Celo":{"type":"object","properties":{"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","feeCurrency","fromPrivateKey","amount"]},"BurnErc20KMSCelo":{"type":"object","properties":{"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC721 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["feeCurrency","contractAddress","tokenId","amount"]},"TransferCeloBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"type":"string","description":"Currency of the transaction.","enum":["CELO","CUSD","CEUR"]},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","fromPrivateKey","currency","feeCurrency"]},"TransferCeloBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"currency":{"type":"string","description":"Currency of the transaction.","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","feeCurrency","currency","amount","signatureId"]},"CeloEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"CeloBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/CeloTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"CeloTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"feeCurrency":{"type":"string","description":"Address of the currency used to pay for gas.","example":"0xef4229c8c3250c675f21bcefa42f58efbff6002a"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"DeployErc721Celo":{"type":"object","properties":{"name":{"description":"Name of the ERC721 token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the ERC721 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of Celo account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","feeCurrency","fromPrivateKey"]},"DeployErc721CeloKMS":{"type":"object","properties":{"name":{"description":"Name of the ERC721 token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the ERC721 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","feeCurrency","signatureId"]},"DeployErc20Celo":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Celo blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Celo account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","address","supply","fromPrivateKey","digits","feeCurrency"]},"DeployErc20KMSCelo":{"type":"object","properties":{"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Celo blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","symbol","address","supply","signatureId","digits","feeCurrency"]},"CallCeloSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","feeCurrency"]},"CallCeloReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."}},"required":["contractAddress","params","methodABI","methodName"]},"CallCeloSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName","feeCurrency"]},"TransferErc20Celo":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","digits","feeCurrency","fromPrivateKey","amount"]},"TransferErc20CeloKMS":{"type":"object","properties":{"to":{"maxLength":50,"minLength":1,"description":"Blockchain address to send ERC20 token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount to be sent.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"digits":{"description":"Number of decimal points that ERC20 token has.","example":18,"maximum":30,"minimum":1,"type":"number"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","contractAddress","signatureId","digits","amount","feeCurrency"]},"Error403CeloGasCalculation":{"properties":{"errorCode":{"description":"celo.transaction.gas","example":"celo.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403CeloTxBody":{"properties":{"errorCode":{"description":"celo.transaction.body","example":"celo.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"EgldBlock":{"type":"object","properties":{"nonce":{"description":"The block height.","type":"number","example":5440076},"round":{"description":"The round number.","type":"number","example":186582},"hash":{"description":"Hash of the block.","type":"string","example":"bd2de3618929b696807f6ef8a619f93d29d639aec9277f9c6f8569a8487141b1"},"prevBlockHash":{"description":"Hash of the previous block.","type":"string","example":"2a11aad21e933be58200839ff875f0ca7e955b8c483a0e117cb92409e5d2a5da"},"epoch":{"description":"An epoch is a sequence of consecutive rounds during which the configuration of the network does not change (currently aprox. 24 hrs in length).","type":"number","example":18},"numTxs":{"description":"Number of transactions in current block.","type":"number","example":8},"shardBlocks":{"description":"Array of shard blocks","type":"array","items":{"$ref":"#/components/schemas/EgldShardBlock"}},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/EgldTx"}}}},"EgldShardBlock":{"type":"object","properties":{"hash":{"description":"The block hash.","type":"string","example":"a6f2ac15a6b1bafdde9afff2297cef49c4c523c516f8ee12fed54be070e9512b"},"nonce":{"description":"The block height.","type":"number","example":5440070},"shard":{"description":"The shard number.","type":"number","example":1}}},"EgldTx":{"type":"object","properties":{"type":{"type":"string","description":"Type of transaction.","example":null},"nonce":{"type":"number","description":"Nonce of the transaction.","example":2},"round":{"type":"number","description":"The round number.","example":186580},"epoch":{"type":"number","description":"An epoch is a sequence of consecutive rounds during which the configuration of the network does not change (currently aprox. 24 hrs in length).","example":12},"value":{"type":"string","description":"Transferred value.","example":"1000000000000000000"},"receiver":{"type":"string","description":"Address of the receiver.","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7"},"sender":{"type":"string","description":"Address of the sender.","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq1"},"gasPrice":{"type":"number","description":"Gas price provided by the sender","example":1000000000},"gasLimit":{"type":"number","description":"Gas provided by the sender","example":70000},"data":{"type":"string","description":"Data field in transaction.","example":"Zm9yIHRlc3Rz"},"signature":{"type":"string","description":"Signature of the transaction.","example":"c6ab10b401f14b122caf9d2ef80d532b986aa82b589dac77d77929da27ae2382c6ab10b401f14b122caf9d2ef80d532b986aa82b589dac77d77929da27ae238"},"sourceShard":{"type":"number","description":"Source shard.","example":2},"destinationShard":{"type":"number","description":"Destination shard.","example":1},"blockNonce":{"type":"number","description":"Nonce of block which contains current transaction.","example":186535},"blockHash":{"type":"string","description":"Hash of block which contains current transaction.","example":"bd2de3618929b696807f6ef8a619f93d29d639aec9277f9c6f8569a8487141b1"},"miniblockHash":{"type":"string","description":"Miniblock hash.","example":"7cb0a10cf9e9ec9ff719ffe99349db3feac3ec217b6de62f6cf7756647194bbf"},"timestamp":{"type":"number","description":"The unix timestamp for when the block was collated.","example":1569600592},"status":{"type":"string","description":"Status of the transaction.","example":"Success"},"hyperblockNonce":{"type":"number","description":"Nonce of the hyperblockwhere this transaction was in.","example":123321},"hyperblockHash":{"type":"string","description":"Hash of the hyperblock where this transaction was in.","example":"715224f1f7d8330e3837500d1f82431954e30db6149f3ee4644d0950576d8dfe"}}},"Error403EgldBroadcast":{"properties":{"errorCode":{"description":"egld.broadcast.failed","example":"egld.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EgldTxHash":{"properties":{"errorCode":{"description":"egld.transaction.hash","example":"egld.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403EgldTxSign":{"properties":{"errorCode":{"description":"egld.transaction.sign","example":"egld.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TransferEgldBlockchain":{"type":"object","properties":{"from":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"to":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"amount":{"type":"string","description":"Value to be sent.","example":"0"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction. If transfer to a smart contract, then 500000 + an appropriate amount for the method call","example":"500000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price.","example":"1000000000","pattern":"^[+]?\\d+$"}}},"data":{"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","type":"string","example":"4d79206e6f746520746f2074686520726563697069656e74"},"fromPrivateKey":{"type":"string","maxLength":64,"minLength":64,"example":"0cd8e6217b4a218807b858ffb508483cdcdadbb7a21196727f764a510a692760","description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["fromPrivateKey","from","to","amount"]},"TransferEgldBlockchainKMS":{"type":"object","properties":{"from":{"description":"Account address of the sender","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq7","maxLength":62,"minLength":62,"type":"string"},"to":{"description":"Account address of the receiver or smart contract","example":"erd17k95m339aqzxzyvjjjfa3lka0yyeqgcsda50tw5z9g73ycfe2caq9e6jq6","maxLength":62,"minLength":62,"type":"string"},"amount":{"type":"string","description":"Value to be sent.","example":"0"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction.","example":"500000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price.","example":"1000000000","pattern":"^[+]?\\d+$"}}},"data":{"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","type":"string","example":"4d79206e6f746520746f2074686520726563697069656e74"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["signatureId","from","to","amount"]},"TransferTronBlockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","to","amount"]},"TransferTronBlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["from","signatureId","to","amount"]},"TransferTronTrc10Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenId":{"type":"string","minLength":1,"maxLength":100,"description":"ID of the token to transfer.","example":"1000538"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","tokenId","to","amount"]},"TransferTronTrc10BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenId":{"type":"string","minLength":1,"maxLength":100,"description":"ID of the token to transfer.","example":"1000538"},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","tokenId","to","amount"]},"TransferTronTrc20Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenAddress":{"type":"string","minLength":34,"maxLength":34,"description":"Address of the TRC20 token to transfer.","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW"},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","tokenAddress","to","amount","feeLimit"]},"TransferTronTrc20BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"to":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"tokenAddress":{"type":"string","minLength":34,"maxLength":34,"description":"Address of the TRC20 token to transfer.","example":"TVAEYCmc15awaDRAjUZ1kvcHwQQaoPw2CW"},"feeLimit":{"type":"number","minimum":0,"description":"Fee in TRX to be paid.","example":0.01},"amount":{"description":"Amount to be sent in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","tokenAddress","to","amount","feeLimit"]},"CreateTronTrc20Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC20 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"symbol":{"type":"string","minLength":1,"maxLength":100,"description":"Symbol of the token.","example":"SYM"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":30,"description":"Number of decimal places of the token.","example":10}},"required":["fromPrivateKey","name","recipient","symbol","totalSupply","decimals"]},"CreateTronTrc20BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC20 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"symbol":{"type":"string","minLength":1,"maxLength":100,"description":"Symbol of the token.","example":"SYM"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":30,"description":"Number of decimal places of the token.","example":10}},"required":["from","signatureId","name","recipient","symbol","totalSupply","decimals"]},"CreateTronTrc10Blockchain":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC 10 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"abbreviation":{"type":"string","minLength":1,"maxLength":100,"description":"Abbreviation of the token.","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"Description of the token.","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"URL of the token.","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":5,"description":"Number of decimal places of the token.","example":10}},"required":["fromPrivateKey","recipient","name","abbreviation","description","url","totalSupply","decimals"]},"CreateTronTrc10BlockchainKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"recipient":{"type":"string","minLength":34,"maxLength":34,"description":"Recipient address of created TRC 10 tokens.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"Name of the token.","example":"My token"},"abbreviation":{"type":"string","minLength":1,"maxLength":100,"description":"Abbreviation of the token.","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"Description of the token.","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"URL of the token.","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"Total supply of the tokens.","example":100000},"decimals":{"type":"number","minimum":0,"maximum":5,"description":"Number of decimal places of the token.","example":10}},"required":["from","signatureId","recipient","name","abbreviation","description","url","totalSupply","decimals"]},"TronTrc10Detail":{"type":"object","properties":{"ownerAddress":{"type":"string","minLength":34,"maxLength":34,"description":"The address of the TRC-10 token's owner in the hexadecimal format","example":"41d2803f9c22aa429d71554c9427e97ffedcec17c7"},"name":{"type":"string","minLength":1,"maxLength":100,"description":"The name of the TRC-10 token","example":"My token"},"abbr":{"type":"string","minLength":1,"maxLength":100,"description":"The abbreviated name of the TRC-10 token","example":"SYM"},"description":{"type":"string","minLength":1,"maxLength":100,"description":"The description of the TRC-10 token","example":"My short description"},"url":{"type":"string","minLength":1,"maxLength":100,"description":"The URL of the TRC-10 token","example":"https://mytoken.com"},"totalSupply":{"type":"number","minimum":0,"description":"The total supply of tokens in the TRC-10 token","example":100000},"precision":{"type":"number","minimum":0,"maximum":5,"description":"The number of decimal places","example":10},"id":{"type":"number","description":"The ID of the TRC-10 token","example":1000540}}},"FreezeTron":{"type":"object","properties":{"fromPrivateKey":{"type":"string","minLength":64,"maxLength":64,"description":"Private key of the address, from which the TRX will be sent.","example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701"},"resource":{"type":"string","description":"Resource to obtain, BANDWIDTH or ENERGY.","example":"ENERGY","enum":["BANDWIDTH","ENERGY"]},"amount":{"description":"Amount to be frozen in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["fromPrivateKey","resource","amount"]},"FreezeTronKMS":{"type":"object","properties":{"from":{"type":"string","minLength":34,"maxLength":34,"description":"Sender address of TRON account in Base58 format.","example":"TYMwiDu22V6XG3yk6W9cTVBz48okKLRczh"},"signatureId":{"type":"string","minimum":36,"maximum":36,"format":"uuid","example":"1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"resource":{"type":"string","description":"Resource to obtain, BANDWIDTH or ENERGY.","example":"ENERGY","enum":["BANDWIDTH","ENERGY"]},"amount":{"description":"Amount to be frozen in TRX.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["from","signatureId","resource","amount"]},"Error403Tron":{"properties":{"errorCode":{"description":"tron.failed","example":"tron.failed","type":"string"},"message":{"description":"Unable to communicate to blockchain. ${error}","example":"Unable to communicate to blockchain. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"TronWallet":{"type":"object","required":["mnemonic","xpub"],"properties":{"mnemonic":{"description":"Generated mnemonic for wallet.","example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","type":"string"},"xpub":{"description":"Generated Extended public key for wallet with derivation path according to BIP44. This key can be used to generate addresses.","example":"0244b3f40c6e570ae0032f6d7be87737a6c4e5314a4a1a82e22d0460a0d0cd794936c61f0c80dc74ace4cd04690d4eeb1aa6555883be006e1748306faa7ed3a26a","type":"string"}}},"TronBlock":{"type":"object","properties":{"hash":{"type":"string","description":"Block hash","example":"000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8"},"blockNumber":{"type":"number","description":"Block number.","example":26585295},"timestamp":{"type":"number","description":"Time of the block in UTC millis.","example":1610134209000},"parentHash":{"type":"string","description":"Hash of the parent block.","example":"000000000195a8ce6003aa8b6443c52734b80aefdcd079bf40e7f165b046370e"},"witnessAddress":{"type":"string","description":"Witness address.","example":"4118e2e1c6cdf4b74b7c1eb84682e503213a174955"},"witnessSignature":{"type":"string","description":"Witness signature.","example":"e20cb7a1f01d279ebe9c20baa0d747bea160042639ba0be63460cbb21ae63f072520e7766cb7aa1bd4e74bebbdea64be431ecf52c2aa2123ca0b1d7495bd581d00"},"transactions":{"type":"array","description":"Transactions that occurs in this block.","items":{"$ref":"#/components/schemas/TronTx"}}}},"TronBroadcast":{"type":"object","required":["txData"],"properties":{"txData":{"type":"string","description":"Raw signed transaction to be published to network.","minLength":1,"maxLength":50000,"example":"{\"raw_data\": \"{\\\"contract\\\":[{\\\"parameter\\\":{\\\"value\\\":{\\\"amount\\\":1000,\\\"owner_address\\\":\\\"41608f8da72479edc7dd921e4c30bb7e7cddbe722e\\\",\\\"to_address\\\":\\\"41e9d79cc47518930bc322d9bf7cddd260a0260a8d\\\"},\\\"type_url\\\":\\\"type.googleapis.com/protocol.TransferContract\\\"},\\\"type\\\":\\\"TransferContract\\\"}],\\\"ref_block_bytes\\\":\\\"5e4b\\\",\\\"ref_block_hash\\\":\\\"47c9dc89341b300d\\\",\\\"expiration\\\":1591089627000,\\\"timestamp\\\":1591089567635}\",\"raw_data_hex\": \"0a025e4b220847c9dc89341b300d40f8fed3a2a72e5a66080112620a2d747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5472616e73666572436f6e747261637412310a1541608f8da72479edc7dd921e4c30bb7e7cddbe722e121541e9d79cc47518930bc322d9bf7cddd260a0260a8d18e8077093afd0a2a72e\"}"}}},"TronTx":{"type":"object","required":["txID","signature","blockNumber","ret","rawData"],"properties":{"ret":{"type":"array","description":"Result of the smart contract invocation.","items":{"properties":{"contractRet":{"type":"string","description":"Returns the value of the smart contract invocation.","example":"SUCCESS"}}},"required":["contractRet"]},"signature":{"type":"array","description":"List of signatures of the transaction.","items":{"type":"string","example":"91fa5d81f9578970d21fdcde4ebb849674d437b62774f34e8d9e4cb50960c0031362cbcb649553b1f5f9daf19495ae46e517d4401172b5e53bb06bfe6896e2e300"}},"blockNumber":{"type":"number","description":"The block in which the transaction was included.","example":11223344},"txID":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"netUsage":{"type":"number","description":"Usage of the network.","example":0},"rawData":{"type":"object","description":"Raw data of the transaction.","required":["expiration","timestamp","contract"],"properties":{"contract":{"type":"array","description":"Smart contract invocations details.","items":{"type":"object","properties":{"parameter":{"type":"object","properties":{"value":{"type":"object","properties":{"data":{"type":"string","format":"hex","description":"The amount transferred within the transaction.","example":"0x000002e917e68b4e"},"amount":{"type":"number","description":"The amount transferred within the transaction.","example":1000000},"owner_address":{"type":"string","example":"418632237fd33f62c549ee044dd3da779aba947dcc","description":"Address of the sender."},"to_address":{"type":"string","description":"Address of the recipient.","example":"41a614f803b6fd780986a42c78ec9c7f77e6ded13c"},"ownerAddressBase58":{"type":"string","example":"TNCmcTdyrYKMtmE1KU2itzeCX76jGm5Not","description":"Address of the sender in Base58 encoding."},"toAddressBase58":{"type":"string","example":"TRwS7apsNdRGzMBfhB2hVC4RhqfubUYZ8P","description":"Address of the recipient in Base58 encoding."}}},"type_url":{"type":"string","example":"type.googleapis.com/protocol.TriggerSmartContract","description":"Type of the smart contract event."}}},"type":{"example":"TriggerSmartContract","type":"string","description":"Type of the Smart contract."}}}},"ref_block_bytes":{"type":"number","description":"The height of the transaction reference block.","example":4946},"ref_block_hash":{"type":"number","description":"The hash of the transaction reference block.","example":"6d0c1a0af5a52f17"},"expiration":{"description":"Expiration of the transaction.","type":"number","example":1610067216000},"timestamp":{"description":"Time of the transaction.","type":"number","example":1609980816000}}}}},"TronInternalTx":{"type":"object","required":["internal_tx_id","tx_id","to_address","from_address"],"properties":{"tx_id":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"internal_tx_id":{"type":"string","description":"Internal TX ID.","example":"e1543ab5ac85e8fbf2397f30f19dc5b7a32abd508a57ff0c13642c9963d9f312"},"to_address":{"type":"string","description":"Recipient address.","example":"41a614f803b6fd780986a42c78ec9c7f77e6ded13c"},"from_address":{"type":"string","description":"Sender address.","example":"41a2726afbecbd8e936000ed684cef5e2f5cf43008"}}},"TronTx20":{"type":"object","required":["txID","to","tokenInfo","type","value","from"],"properties":{"txID":{"type":"string","description":"Transaction ID.","example":"24dd2f121a24516f22df78adf1ccc32119e3edb7760297f76a925b879f2baa98"},"tokenInfo":{"type":"object","required":["symbol","decimals","address","name"],"properties":{"symbol":{"type":"string","example":"USDT"},"address":{"type":"string","example":"TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t"},"decimals":{"type":"number","example":6},"name":{"type":"string","example":"Tether USD"}}},"from":{"type":"string","example":"TPn72oEg7WPaffgNBf62vGx8G1s4chx2fp"},"to":{"type":"string","example":"TJyhbP1bQfo8tLPxEVjaka9gh2qkN7MvD3"},"type":{"type":"string","example":"Transfer"},"value":{"type":"string","example":"1800"}}},"TronAccount":{"type":"object","required":["address","freeNetUsage","balance","bandwidth","trc10","trc20","createTime"],"properties":{"address":{"type":"string","description":"Account address","example":"TGDqQAP5bduoPKVgdbk7fGyW4DwEt3RRn8"},"balance":{"type":"number","description":"Balance of the TRX, in SUN. SUN is 1/1000000 TRX.","example":2342342},"trc10":{"type":"array","items":{"type":"object","description":"Balance of the TRC10 assets.","properties":{"key":{"type":"string","description":"Name of the TRC10 asset.","example":"TEST_TRC_10"},"value":{"type":"number","description":"Balance of the TRC10 asset.","example":123}},"required":["key","value"]}},"trc20":{"type":"array","items":{"type":"object","description":"Balance of the TRC20 assets. It is structured as key value array, where key is the address of the TRC20 and value is the balance.","example":{"TRkuKAxmWZ4G74MvZnFpoosQZsfvtNpmwH":"30958","TVKXY8DJ9aVTcg3wwVrRRs2FbTUwi4UZWR":"70000"}}},"createTime":{"type":"number","description":"Date of creation of the account in UTC millis.","example":1602848895000},"assetIssuedId":{"type":"string","description":"ID of the issued TRC10 token, if any.","example":"1003475"},"assetIssuedName":{"type":"number","description":"Balance of the issued TRC10 token, if any.","example":100},"freeNetUsage":{"type":"number","description":"Free usage of the network.","example":1000},"freeNetLimit":{"type":"number","description":"Free usage limit of the network.","example":1500},"netUsage":{"type":"number","description":"Extra usage of the network.","example":5000},"netLimit":{"type":"number","description":"Extra usage limit of the network.","example":5000},"bandwidth":{"type":"number","description":"Remaining usage of the network, equal to freeNetLimit - freeNetUsed + netLimit - netUsed.","example":1500}}},"BscBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in BNB","example":"10.52"}}},"GeneratedAddressBsc":{"type":"object","properties":{"address":{"type":"string","description":"BSC address","example":"0xa7673161CbfE0116A4De9E341f8465940c2211d4"}}},"BscBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/BscTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"BscTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/BscTxLog"}}}},"BscTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403BscBroadcast":{"properties":{"errorCode":{"description":"bsc.broadcast.failed","example":"bsc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such BEP20 currency ${name}.","example":"No such BEP20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"BEP20 address was already set.","example":"BEP20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscBep20Unsupported":{"properties":{"errorCode":{"description":"bsc.bep20.unsupported","example":"bsc.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH BEP20 blockchain.","example":"Unsupported ETH BEP20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxHash":{"properties":{"errorCode":{"description":"bsc.transaction.hash","example":"bsc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxSign":{"properties":{"errorCode":{"description":"bsc.transaction.sign","example":"bsc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscErc20TxSign":{"properties":{"errorCode":{"description":"bsc.bep20.sign","example":"bsc.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscGasCalculation":{"properties":{"errorCode":{"description":"bsc.transaction.gas","example":"bsc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscTxBody":{"properties":{"errorCode":{"description":"bsc.transaction.body","example":"bsc.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscScBody":{"properties":{"errorCode":{"description":"bsc.sc.invalid","example":"bsc.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403BscGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallBscSmartContractMethodCaller":{"type":"object","properties":{"caller":{"maxLength":42,"minLength":42,"description":"The address of the account, which will be sender and fee payer of this transaction","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0xC9c8ba8C7e2EAF43e84330Db08915A8106d7bD74","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName","caller"]},"CallBscSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallBscSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallBscSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferBscBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"(Only for BSC transactions) Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from BSC Blockchain Account. BEP20 tokens like BETH, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE are available only for mainnet use.","enum":["BSC","BETH","BBTC","RMD","USDC_BSC","B2U_BSC","BADA","WBNB","GMC_BSC","BDOT","BXRP","BLTC","BBCH","HAG","CAKE","BUSD_BSC"],"example":"BSC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"BscEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in BSC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferBscBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"(Only for BSC transactions) Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to BSC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from BSC Blockchain Account. BEP20 tokens like BETH, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE are available only for mainnet use.","enum":["BETH","BBTC","BADA","WBNB","BDOT","BXRP","BLTC","BBCH","BSC"],"example":"BSC","type":"string"},"fee":{"$ref":"#/components/schemas/CustomFee"},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"KcsBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/KcsTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"KcsTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}}}},"Error403KcsBroadcast":{"properties":{"errorCode":{"description":"kcs.broadcast.failed","example":"kcs.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such ERC20 currency ${name}.","example":"No such ERC20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsBep20Unsupported":{"properties":{"errorCode":{"description":"kcs.bep20.unsupported","example":"kcs.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH ERC20 blockchain.","example":"Unsupported ETH ERC20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxHash":{"properties":{"errorCode":{"description":"kcs.transaction.hash","example":"kcs.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxSign":{"properties":{"errorCode":{"description":"kcs.transaction.sign","example":"kcs.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsErc20TxSign":{"properties":{"errorCode":{"description":"kcs.bep20.sign","example":"kcs.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsGasCalculation":{"properties":{"errorCode":{"description":"kcs.transaction.gas","example":"kcs.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsTxBody":{"properties":{"errorCode":{"description":"kcs.transaction.body","example":"kcs.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsScBody":{"properties":{"errorCode":{"description":"kcs.sc.invalid","example":"kcs.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403KcsGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallKcsSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallKcsSmartContractReadMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallKcsSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferKcsBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Kcs Blockchain Account.","enum":["KCS"],"example":"KCS","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","amount","currency","fromPrivateKey"]},"KcsEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":42,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in KCS.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74","pattern":"^(0x|0h)?[0-9A-F]+$"}},"required":["to","amount","from"]},"TransferKcsBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Kcs transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"currency":{"description":"Currency to transfer from Kcs Blockchain Account.","enum":["KCS"],"example":"KCS","type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","currency","signatureId"]},"OneBlockCurrent":{"type":"object","properties":{"shardID":{"type":"number","description":"Shard ID","example":0},"blockNumber":{"type":"number","description":"Current block number in this shard","example":6491272}}},"OneBalance":{"type":"object","properties":{"balance":{"type":"string","description":"Balance in ONE","example":"10.52"}}},"GeneratedAddressOne":{"type":"object","properties":{"address":{"type":"string","description":"ONE address","example":"one15annzcwtlcq3dfx7nc6plpr9jsxzyyw5xc8pjn"}}},"OneBlock":{"type":"object","properties":{"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"mixHash":{"description":"","type":"string","example":"0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"receiptsRoot":{"description":"","type":"string","example":"0x4a496b6b7f2a1c5850bf9eebbea7193807be0067b1c06f17b9dde4eef7b2f960"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/OneTx"}},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"}}},"OneTx":{"type":"object","properties":{"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"blockNumber":{"type":["number","null"],"description":"The number of the block that the transaction is included in; if not returned, the transaction has not been included in a block yet.","example":6470854},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"transactionHash":{"type":"string","description":"Hash of the transaction.","example":"0x4fb94db21613051e6241f456dcc7da5789faae6a434ecd59c7ac4162e591ce1d"},"ethHash":{"type":"string","description":"Eth Hash representation of the transaction.","example":"0xb2a66a105f05304afc7194063b36cae2a8f14edf1e06fc1e185cfea635cf09bb"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"transactionIndex":{"type":["number","null"],"description":"The integer of the transactions index position in the block; if not returned, the transaction has not been included in a block yet.","example":3},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gasUsed":{"type":["number","null"],"description":"The amount of gas used by this specific transaction alone; if not returned, the transaction has not been included in a block yet.","example":21000},"cumulativeGasUsed":{"type":["number","null"],"description":"The total amount of gas used when this transaction was executed in the block; if not returned, the transaction has not been included in a block yet.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"$ref":"#/components/schemas/OneTxLog"}}}},"OneTxLog":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}},"Error403OneBroadcast":{"properties":{"errorCode":{"description":"bsc.broadcast.failed","example":"bsc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20NotFound":{"properties":{"errorCode":{"description":"erc20.token.notFound","example":"erc20.token.notFound","type":"string"},"message":{"description":"No such HRM20 currency ${name}.","example":"No such HRM20 currency ${name}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"HRM20 address was already set.","example":"HRM20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneBep20Unsupported":{"properties":{"errorCode":{"description":"bsc.bep20.unsupported","example":"bsc.bep20.unsupported","type":"string"},"message":{"description":"Unsupported ETH HRM20 blockchain.","example":"Unsupported ETH HRM20 blockchain.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxHash":{"properties":{"errorCode":{"description":"bsc.transaction.hash","example":"bsc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxSign":{"properties":{"errorCode":{"description":"bsc.transaction.sign","example":"bsc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneErc20TxSign":{"properties":{"errorCode":{"description":"bsc.bep20.sign","example":"bsc.bep20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneGasCalculation":{"properties":{"errorCode":{"description":"bsc.transaction.gas","example":"bsc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneTxBody":{"properties":{"errorCode":{"description":"bsc.transaction.body","example":"bsc.transaction.body","type":"string"},"message":{"description":"Either currency, or tokenAddress must be defined.","example":"Either currency, or tokenAddress must be defined.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneScBody":{"properties":{"errorCode":{"description":"bsc.sc.invalid","example":"bsc.sc.invalid","type":"string"},"message":{"description":"Invalid parameters for smart contract invocation.","example":"Invalid parameters for smart contract invocation.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403OneGasPrice":{"properties":{"errorCode":{"description":"gas.price.failed","example":"gas.price.failed","type":"string"},"message":{"description":"Unable to obtain current GAS price.","example":"Unable to obtain current GAS price.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallOneSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallOneReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string","description":"Parameters of the method to be invoked"}}},"required":["contractAddress","params","methodABI","methodName"]},"CallOneSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to ONE transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferOneBlockchain":{"type":"object","properties":{"amount":{"description":"The amount to transfer","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"currency":{"type":"string","description":"The currency of the amount to transfer","example":"ONE","enum":["ONE"]},"to":{"description":"The blockchain address to transfer the amount to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"fee":{"$ref":"#/components/schemas/CustomFee"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["to","amount","currency","fromPrivateKey"]},"OneEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":66,"example":"0xfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":66,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in One.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"}},"required":["to","amount","from"]},"TransferOneBlockchainKMS":{"type":"object","properties":{"amount":{"description":"The amount to transfer","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"currency":{"type":"string","description":"The currency of the amount to transfer","example":"ONE","enum":["ONE"]},"to":{"description":"The blockchain address to transfer the amount to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":42,"minLength":42,"type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"index":{"type":"number","minimum":0,"description":"(Only if the signature ID is mnemonic-based) The index of the address from which the fee will be deducted that was generated from the mnemonic"},"fee":{"$ref":"#/components/schemas/CustomFee"},"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["to","amount","currency","signatureId"]},"XdcBlock":{"type":"object","properties":{"number":{"description":"The block number. 'null' when its pending block.","type":"number","example":6470657},"hash":{"description":"Hash of the block. 'null' when its pending block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"parentHash":{"description":"Hash of the parent block.","type":"string","example":"0xd34aab8a455027086ac54034e68608c84d984401a883b7b5d91f9ae0bbefda15"},"nonce":{"description":"Hash of the generated proof-of-work. 'null' when its pending block.","type":"string","example":"0xfa1692f52a7ac672"},"sha3Uncles":{"description":"SHA3 of the uncles data in the block.","type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"logsBloom":{"description":"The bloom filter for the logs of the block. 'null' when its pending block.","type":"string","example":"0x042080004210492080800001610060ad9600005bc81502020800000043e302020381a404000100409102040240300641108004000400007000008000c049558055a800000a0001800748900806502004200400108205005418c0218802281a0408060000533210462021050470810a010140102809011814018281115020090201068401847000a04010000c00084062000485640d00020220181150020008589105a41c0880001112034100010882545410240011402a3480050104004c310204000002009490d0012022a040c20c20011020401020140250805100410060008280200008181a220114102800001648640828200c00a94c1003a2060e001000"},"transactionsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"stateRoot":{"description":"The root of the final state trie of the block.","type":"string","example":"0x32757c92f10c6c5a106c6fb4b9ca3ff301e413a59ca3d0513b4bf98c72efddba"},"receiptsRoot":{"description":"The root of the transaction trie of the block.","type":"string","example":"0x5990081ef8515d561b50255af03c5d505f7725ddef27405dc67d23bfd0f47704"},"miner":{"description":"The address of the beneficiary to whom the mining rewards were given.","type":"string","example":"0xD8869d9E3d497323561Fbca2319a9FC3F6f10c4B"},"difficulty":{"description":"Difficulty for this block.","type":"string","example":"3296820833"},"totalDifficulty":{"description":"Total difficulty of the chain until this block.","type":"string","example":"23329673338013873"},"extraData":{"description":"The 'extra data' field of this block.","type":"string","example":"0x"},"size":{"description":"The size of this block in bytes.","type":"number","example":15296},"gasLimit":{"description":"The maximum gas allowed in this block.","type":"number","example":8000000},"gasUsed":{"description":"The total used gas by all transactions in this block.","type":"number","example":7985124},"timestamp":{"description":"The unix timestamp for when the block was collated.","type":"number","example":1569600592},"transactions":{"description":"Array of transactions.","type":"array","items":{"$ref":"#/components/schemas/XdcTx"}},"uncles":{"description":"Array of uncle hashes.","type":"array","items":{"type":"string"},"example":["0x7a44a1f56f12ae825fdc04550d7c3af2344daab987691771c06235f25fafcaa6"]}}},"XdcTx":{"type":"object","properties":{"hash":{"type":"string","description":"Hash of the transaction.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"},"nonce":{"type":"number","description":"The number of transactions made by the sender prior to this one.","example":26836405},"blockHash":{"description":"Hash of the block where this transaction was in.","type":"string","example":"0xcf2c40f475e78c7c19778e1ae999a0e371c9319b38182ea15dc94536f13f9137"},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"transactionIndex":{"type":"number","description":"Integer of the transactions index position in the block.","example":3},"from":{"type":"string","description":"Address of the sender.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"to":{"type":"string","description":"Address of the receiver. 'null' when its a contract creation transaction.","example":"0xbC546fa1716Ed886967cf73f40e8F2F5e623a92d"},"value":{"type":"string","description":"Value transferred in wei.","example":"1000000000000000000"},"gas":{"type":"number","description":"Gas provided by the sender.","example":21000},"gasPrice":{"type":"string","description":"Gas price provided by the sender in wei.","example":"1000000000"},"input":{"type":"string","description":"The data sent along with the transaction.","example":"0x"},"status":{"type":"boolean","example":true,"description":"TRUE if the transaction was successful, FALSE, if the EVM reverted the transaction."},"gasUsed":{"type":"number","description":"The amount of gas used by this specific transaction alone.","example":21000},"cumulativeGasUsed":{"type":"number","description":"The total amount of gas used when this transaction was executed in the block.","example":314159},"contractAddress":{"type":"string","description":"The contract address created, if the transaction was a contract creation, otherwise null.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"logs":{"type":"array","description":"Log events, that happened in this transaction.","items":{"type":"object","properties":{"address":{"type":"string","description":"From which this event originated from.","example":"0x81b7E08F65Bdf5648606c89998A9CC8164397647"},"topics":{"type":"array","description":"An array with max 4 32 Byte topics, topic 1-3 contains indexed parameters of the log.","items":{"type":"string","example":"0x033456732123ffff2342342dd12342434324234234fd234fd23fd4f23d4234"}},"data":{"type":"string","description":"The data containing non-indexed log parameter."},"logIndex":{"type":"number","description":"Integer of the event index position in the block."},"blockNumber":{"type":"number","description":"Block number where this transaction was in.","example":6470854},"blockHash":{"description":"Hash of the block.","type":"string","example":"0x5d40698ee1b1ec589035f2a39c6162287e9056868cc79d66cfb248ba9f66c3fc"},"transactionIndex":{"type":"number","description":"Integer of the transaction’s index position, the event was created in."},"transactionHash":{"type":"string","description":"Hash of the transaction this event was created in.","example":"0xe6e7340394958674cdf8606936d292f565e4ecc476aaa8b258ec8a141f7c75d7"}}}},"logsBloom":{"type":"string","format":"DATA, 256 Bytes","description":"Bloom filter for light clients to quickly retrieve related logs.","example":null},"root":{"type":"string","description":"32 bytes of post-transaction stateroot (pre Byzantium)","example":null}}},"Error403XdcBroadcast":{"properties":{"errorCode":{"description":"xdc.broadcast.failed","example":"xdc.broadcast.failed","type":"string"},"message":{"description":"Unable to broadcast transaction due to ${error}.","example":"Unable to broadcast transaction due to ${error}.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcErc20Set":{"properties":{"errorCode":{"description":"erc20.address.set","example":"erc20.address.set","type":"string"},"message":{"description":"ERC20 address was already set.","example":"ERC20 address was already set.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcMnemonicPrivateKey":{"properties":{"errorCode":{"description":"private.mnemonic.missing","example":"private.mnemonic.missing","type":"string"},"message":{"description":"Either mnemonic and index or private key must be present.","example":"Either mnemonic and index or private key must be present.","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcTxHash":{"properties":{"errorCode":{"description":"xdc.transaction.hash","example":"xdc.transaction.hash","type":"string"},"message":{"description":"Unable to calculate transaction hash. ${error}","example":"Unable to calculate transaction hash. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcTxSign":{"properties":{"errorCode":{"description":"xdc.transaction.sign","example":"xdc.transaction.sign","type":"string"},"message":{"description":"Unable to sign transaction. ${error}","example":"Unable to sign transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcErc20TxSign":{"properties":{"errorCode":{"description":"xdc.erc20.sign","example":"xdc.erc20.sign","type":"string"},"message":{"description":"Unable to sign transaction for contract creation. ${error}","example":"Unable to sign transaction for contract creation. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"Error403XdcGasCalculation":{"properties":{"errorCode":{"description":"xdc.transaction.gas","example":"xdc.transaction.gas","type":"string"},"message":{"description":"Unable to calculate gas limit for transaction. ${error}","example":"Unable to calculate gas limit for transaction. ${error}","type":"string"},"statusCode":{"description":"403","example":403,"type":"number"}},"required":["errorCode","message","statusCode"],"type":"object"},"CallXdcSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"Amount of the assets to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","fromPrivateKey","methodName"]},"CallXdcReadSmartContractMethod":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},"description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."}},"required":["contractAddress","params","methodABI","methodName"]},"CallXdcSmartContractMethodKMS":{"type":"object","properties":{"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["contractAddress","params","methodABI","signatureId","methodName"]},"TransferXdcBlockchain":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"currency":{"type":"string","description":"Currency of the transfer. ERC20 tokens are available only for mainnet use.","example":"XDC","enum":["XDC"]},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."}},"required":["to","currency","amount","fromPrivateKey"]},"XdcEstimateGas":{"type":"object","properties":{"from":{"type":"string","maxLength":43,"example":"xdcfb99f8ae9b70a0c8cd96ae665bbaf85a7e01a2ef","minLength":42,"description":"Sender address."},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"amount":{"description":"Amount to be sent in XDC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"}},"required":["to","amount","from"]},"TransferXdcBlockchainKMS":{"type":"object","properties":{"data":{"type":"string","maxLength":50000,"description":"Additional data that can be passed to a blockchain transaction as a data property; must be in the hexadecimal format","example":"4d79206e6f746520746f2074686520726563697069656e74"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to XDC transaction. If not present, last known nonce will be used."},"currency":{"type":"string","description":"Currency of the transfer. ERC20 tokens are available only for mainnet use.","example":"XDC","enum":["XDC"]},"to":{"description":"Blockchain address to send assets","example":"xdc687422eEA2cB73B5d3e242bA5456b782919AFc85","maxLength":43,"minLength":42,"type":"string"},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","example":"40000","pattern":"^[+]?\\d+$"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","example":"20","pattern":"^[+]?\\d+$"}}},"amount":{"description":"Amount to be sent in XDC.","example":"100000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."}},"required":["to","amount","signatureId","currency"]},"TransferMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"Amount of token.","example":"100000","type":"string","maxLength":256},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","amount","feeCurrency"]},"MultiTx":{"type":"object","properties":{"blockNumber":{"type":"number","example":6541235,"description":"Block number"},"txId":{"type":"string","example":"0x955c1037608c7aecb6d1a3f150ce7d0a80536bcabb0deb69d62f55292cc4c372","description":"Transaction ID"},"contractAddress":{"type":"string","example":"0x4f54fAD27F7F46C102Cd49b8E75C5593397cd9c3","description":"Contract address"},"tokenId":{"type":"string","example":"1","description":"ID of the token"},"amount":{"type":"string","example":"1","description":"Amount of tokens transferred."},"from":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Sender"},"operator":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Operator"},"to":{"type":"string","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea","description":"recipient"}},"required":["blockNumber","txId","contractAddress","tokenId","from","to","amount","operator"]},"TransferMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"Amount of token to be transferred","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","amounts","fromPrivateKey","feeCurrency"]},"DeployMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"uri":{"description":"URI of the Multi Token contract","example":"example.com","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC1155 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","uri","feeCurrency","fromPrivateKey"]},"DeployMultiTokenCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"uri":{"description":"URI of the Multi Token contract","example":"example.com","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","uri","feeCurrency","signatureId"]},"MintMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","tokenId","amounts","signatureId"]},"BurnMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId","amount","account"]},"BurnMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId","amounts","account"]},"BurnMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","amount","signatureId","account"]},"AddMultiTokenMinterKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","MATIC","KCS","KLAY","CELO","ONE","BSC"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of MultiToken token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"Address of MultiToken minter","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Ethereum transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas, only valid for CELO chain.","enum":["CELO","CUSD","CEUR"]}},"required":["chain","url","contractAddress","minter","signatureId"]},"AddMultiTokenMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","MATIC","KCS","KLAY","CELO","ONE","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of MultiToken token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"Address of MultiToken minter","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Ethereum transaction. If not present, last known nonce will be used."},"fee":{"$ref":"#/components/schemas/CustomFee"},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas, only valid for CELO chain.","enum":["CELO","CUSD","CEUR"]}},"required":["minter","chain","url","contractAddress","fromPrivateKey"]},"BurnMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["100000"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","amounts","account","signatureId"]},"TransferMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":256},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","signatureId","tokenId","amount"]},"TransferMultiTokenBatchKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string"}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","items":{"type":"string"}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","signatureId","tokenId","amounts"]},"MintMultiTokenCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amount","feeCurrency","contractAddress","fromPrivateKey"]},"MintMultiTokenBatchCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"to":{"maxLength":42,"minLength":42,"description":"The blockchain address to send the Multi Tokens to","example":["0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amounts","feeCurrency","contractAddress","fromPrivateKey"]},"MintMultiTokenKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"Chain to work with.","enum":["CELO"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to Celo transaction. If not present, last known nonce will be used."},"feeCurrency":{"type":"string","description":"Currency to pay for transaction gas","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","tokenId","amount","feeCurrency","contractAddress","signatureId"]},"TransferMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","fromPrivateKey","amount"]},"TransferMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":256}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","maxLength":256,"items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","amounts","fromPrivateKey"]},"DeployMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"uri":{"description":"URI of the Multi Token token","example":"example.com","type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC1155 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["uri","chain","fromPrivateKey"]},"DeployMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"uri":{"description":"URI of the Multi Token token","example":"example.com","type":"string"},"publicMint":{"description":"True if the contract is publicMint type","example":true,"type":"boolean"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["uri","chain","signatureId"]},"TransferMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":"100000","type":"string","maxLength":256},"amount":{"description":"amount of token.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","signatureId","tokenId","amount"]},"TransferMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of token.","example":["100000"],"type":"array","items":{"type":"string","maxLength":256}},"amounts":{"description":"amounts of token.","example":["100000"],"type":"array","maxLength":256,"items":{"type":"string","maxLength":32}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","signatureId","tokenId","amounts"]},"MintMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId","amount"]},"MintMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"tokenId":{"description":"ID of token to be created.","example":"100000","type":"string","maxLength":32},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send Multi Token token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"amount of token to be created.","example":"100000","type":"string","maxLength":32},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","signatureId","tokenId","amount"]},"MintMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId","amounts"]},"MintMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"to":{"type":"array","description":"The blockchain address to send the Multi Tokens to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"The IDs of the Multi Tokens to be created.","example":[["100000","100001"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"amounts":{"type":"array","description":"The amounts of the Multi Tokens to be created.","example":[["100","100"]],"items":{"type":"array","items":{"type":"string","maxLength":32}}},"data":{"description":"Data in bytes","example":"0x1234","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["to","chain","contractAddress","tokenId","url","signatureId","amounts"]},"BurnMultiToken":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"amount":{"description":"amount of token to be destroyed.","example":"100000","type":"string","maxLength":32},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","contractAddress","fromPrivateKey","tokenId","amount"]},"BurnMultiTokenBatch":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["1000","1001"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["10","10"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","amounts","chain","url","contractAddress","fromPrivateKey","tokenId"]},"BurnMultiTokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","example":"100000","type":"string","maxLength":32},"amount":{"description":"amount of token to be destroyed.","example":"100","type":"string","maxLength":32},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of Multi Token token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","amount","contractAddress","tokenId","signatureId"]},"BurnMultiTokenBatchKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"Chain to work with.","enum":["ETH","ONE","MATIC","KCS","KLAY","BSC"]},"account":{"maxLength":42,"minLength":42,"description":"Address of holder","example":"0x4b812a77b109A150C2Fc89eD133EaBC78bC9EC8f","type":"string"},"tokenId":{"description":"The IDs of the Multi Tokens to be destroyed.","example":["100","101"],"type":"array","items":{"type":"string","maxLength":32}},"amounts":{"description":"The amounts of the Multi Tokens to be destroyed.","example":["10","10"],"type":"array","items":{"type":"string"}},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the Multi Token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"Nonce to be set to transaction. If not present, last known nonce will be used."},"fee":{"description":"Custom defined fee. If not present, it will be calculated automatically.","type":"object","required":["gasLimit","gasPrice"],"properties":{"gasLimit":{"type":"string","description":"Gas limit for transaction in gas price.","pattern":"^[+]?\\d+$","example":"40000"},"gasPrice":{"type":"string","description":"Gas price in Gwei.","pattern":"^[+]?\\d+$","example":"20"}}}},"required":["account","chain","amounts","contractAddress","tokenId","signatureId"]},"Erc20BalanceForAddress":{"type":"object","properties":{"contractAddress":{"type":"string","description":"The address of the smart contract that the fungible tokens were minted on"},"amount":{"type":"string","description":"The number of the fungible tokens","example":"10"}}},"Erc20Balance":{"type":"object","properties":{"balance":{"type":"string","description":"The number of fungible tokens in the smallest token unit (for example, if the token has 10 decimal places, the number is returned as 9*10^10)","example":"10"}}},"ChainDeployErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE","AVAX","OPTIMISM"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits"]},"ChainDeploySolanaSpl":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"supply":{"description":"Initial supply of SPL token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":0,"type":"number"},"address":{"description":"Address on Solana blockchain, where all created SPL tokens will be transferred.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"from":{"description":"Address on Solana blockchain, from which the fee for the deployment of SPL will be paid.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"freezeAuthority":{"description":"Address on Solana blockchain which which can freeze token accounts. Default to the 'from'","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"description":"Private key of Solana account address, from which the fee for the deployment of SPL will be paid. Private key, or signature Id must be present.","type":"string","example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","maxLength":103,"minLength":128},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["chain","from","address","supply","fromPrivateKey","digits"]},"ChainDeploySolanaSplKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"supply":{"description":"Initial supply of SPL token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":0,"type":"number"},"address":{"description":"Address on Solana blockchain, where all created SPL tokens will be transferred.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"from":{"description":"Address on Solana blockchain, from which the fee for the deployment of SPL will be paid.","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"freezeAuthority":{"description":"Address on Solana blockchain which which can freeze token accounts. Default to the 'from'","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["chain","from","address","supply","signatureId","digits"]},"FungibleTx":{"type":"object","properties":{"blockNumber":{"type":"number","example":6541235,"description":"Block number"},"txId":{"type":"string","example":"0x955c1037608c7aecb6d1a3f150ce7d0a80536bcabb0deb69d62f55292cc4c372","description":"Transaction ID"},"contractAddress":{"type":"string","example":"0x4f54fAD27F7F46C102Cd49b8E75C5593397cd9c3","description":"Contract address"},"amount":{"type":"string","example":"1","description":"Amount of tokens transferred, in smallest decimals"},"from":{"type":"string","example":"0x780c3de0aba1b51f04cfe8a5d9d277d4ad032b8d","description":"Sender"},"to":{"type":"string","example":"0x8cb76aed9c5e336ef961265c6079c14e9cd3d2ea","description":"recipient"}},"required":["txId","blockNumber","contractAddress","amount","from","to"]},"ChainDeployErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits"]},"ChainDeployKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits"]},"ChainDeployKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":43,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits"]},"ChainDeployAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":8,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":32,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":1,"maximum":15,"minimum":0,"type":"number"},"url":{"description":"The URL pointing to the metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"GDNQECUM2JDPTA4KXNSXHQBAYL56FDZ73NXCQ2OLB32PN2G5BLNO5GY3QD2BQOYVBPYPMMETQUGTJUQ7W3V2K4NRJFHAVVWVZVBG5G2","maxLength":103,"minLength":103},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","name","symbol","supply","fromPrivateKey","digits","fee"]},"ChainDeployAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":8,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":32,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"supply":{"description":"Initial supply of ERC20 token. If totalCap is not defined, this will be the total cap.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":15,"minimum":0,"type":"number"},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to create token from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"url":{"description":"The URL pointing to the metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in ALGO","type":"string","example":"0.001"}},"required":["chain","name","symbol","supply","signatureId","digits","from"]},"ChainDeployCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"fromPrivateKey":{"description":"Private key of Ethereum account address, from which the fee for the deployment of ERC20 will be paid. Private key, or signature Id must be present.","type":"string","example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","maxLength":66,"minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","fromPrivateKey","digits","feeCurrency"]},"ChainDeployCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"symbol":{"description":"Symbol of the ERC20 token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"name":{"description":"Name of the ERC20 token","example":"MyERC20","maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_]+$","type":"string"},"totalCap":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"10000000","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"supply":{"description":"Max supply of ERC20 token.","maxLength":38,"example":"100","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$","type":"string"},"digits":{"description":"Number of decimal points","example":18,"maximum":30,"minimum":1,"type":"number"},"address":{"description":"Address on Ethereum blockchain, where all created ERC20 tokens will be transferred.","maxLength":42,"minLength":42,"example":"0xa0Ca9FF38Bad06eBe64f0fDfF279cAE35129F5C6","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","address","supply","signatureId","digits","feeCurrency"]},"ChainMintErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE","AVAX","OPTIMISM"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","fromPrivateKey"]},"ChainMintKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","fromPrivateKey"]},"ChainMintErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","signatureId"]},"ChainMintKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":43,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","to","amount","contractAddress","signatureId"]},"ChainMintCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","amount","feeCurrency","contractAddress","fromPrivateKey"]},"ChainMintCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount to be minted and transferred to the recipient.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send ERC-20 tokens to.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC-20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","amount","feeCurrency","contractAddress","signatureId"]},"ApproveErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","ONE","FLR","CRO","BASE","AVAX","OPTIMISM"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":43,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the smart contract's owner; the fee will be deducted from the owner's address"},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","contractAddress","fromPrivateKey"]},"ApproveErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","ONE"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":43,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the smart contract's owner; the fee will be deducted from the owner's address"},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","contractAddress","signatureId"]},"ApproveCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the smart contract's owner; the fee will be deducted from the owner's address"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","feeCurrency","contractAddress","fromPrivateKey"]},"ApproveCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The address of the smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"spender":{"maxLength":42,"minLength":42,"description":"The blockchain address to be allowed to transfer or burn the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the tokens allowed to be transferred or burnt","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the smart contract's owner; the fee will be deducted from the owner's address"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","spender","amount","feeCurrency","contractAddress","signatureId"]},"ChainBurnErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE","AVAX","OPTIMISM"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","fromPrivateKey","amount"]},"ChainBurnErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","signatureId","amount"]},"ChainBurnKcsErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","fromPrivateKey","amount"]},"ChainBurnKcsErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"}},"required":["chain","contractAddress","signatureId","amount"]},"ChainBurnCeloErc20":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","amount"]},"ChainBurnCeloErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"amount":{"description":"Amount of tokens to be destroyed.","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"fee":{"$ref":"#/components/schemas/CustomFee"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]}},"required":["chain","contractAddress","feeCurrency","signatureId","amount"]},"ChainTransferAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"to":{"maxLength":58,"minLength":42,"description":"The blockchain address to send the fungible tokens to","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"The asset ID (the ID of the fungible tokens)","example":"1","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI","minLength":103,"description":"The private key of the blockchain address from which the fee will be deducted"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","to","contractAddress","amount","digits","fromPrivateKey"]},"ChainTransferAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"to":{"maxLength":58,"minLength":42,"description":"The blockchain address to send the fungible tokens to","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"from":{"maxLength":58,"minLength":58,"description":"The blockchain address to send the fungible tokens from","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"The asset ID (the ID of the fungible tokens)","example":"1","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","currency","to","contractAddress","signatureId","amount","from"]},"ChainBurnAlgoErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"Chain to work with.","enum":["ALGO"]},"contractAddress":{"maxLength":43,"minLength":1,"description":"assetIndex - asset index uniquely specifying the asset","example":"1","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"72TCV5BRQPBMSAFPYO3CPWVDBYWNGAYNMTW5QHENOMQF7I6QLNMJWCJZ7A3V5YKD7QD6ZZPEHG2PV2ZVVEDDO6BCRGXWIL3DIUMSUCI","minLength":103,"description":"Private key of sender address. Private key, or signature Id must be present."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","contractAddress","fromPrivateKey"]},"ChainBurnAlgoErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"Chain to work with.","enum":["ALGO"]},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to send ERC20 token from","example":"NTAESFCB3WOD7SAOL42KSPVARLB3JFA3MNX3AESWHYVT2RMYDVZI6YLG4Y","type":"string"},"contractAddress":{"maxLength":43,"minLength":1,"description":"assetIndex - asset index uniquely specifying the asset","example":"1","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"}},"required":["chain","contractAddress","signatureId","from"]},"ChainTransferEthErc20":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE","FLR","CRO","BASE","AVAX","OPTIMISM"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferSolanaSpl":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"description":"The blockchain address to send the fungible tokens from","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"to":{"description":"The blockchain address to send the fungible tokens to","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the fungible tokens","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":0,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"The private key of the blockchain address that you are sending the fungible tokens from (the address that you specified in the from
parameter); the transaction fee will be deducted from this address"},"feePayer":{"description":"The blockchain address from which the fee will be deducted; if not set, defaults to the address that you specified in the from
parameter","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"The private key of the blockchain address that you specified in the feePayer
parameter; if not set, defaults to the private key that you specified in the fromPrivateKey
parameter"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","from","amount"]},"ChainTransferSolanaSplKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"description":"The blockchain address to send the fungible tokens from","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"to":{"description":"The blockchain address to send the fungible tokens to","maxLength":44,"minLength":32,"example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the fungible tokens","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":0,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you are sending the fungible tokens from (the address that you specified in the from
parameter); the transaction fee will be deducted from this address"},"feePayer":{"description":"The blockchain address from which the fee will be deducted; if not set, defaults to the address that you specified in the from
parameter","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you specified in the feePayer
parameter; if not set, defaults to the signature ID that you specified in the signatureId
parameter"}},"required":["chain","currency","to","contractAddress","digits","signatureId","from","amount"]},"ChainTransferEthErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","MATIC","KLAY","XDC","ONE"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","signatureId","amount"]},"ChainTransferKcsEthErc20":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferKcsEthErc20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"KCS","description":"The blockchain to work with","enum":["KCS"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":43,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","currency","to","contractAddress","digits","signatureId","amount"]},"ChainTransferBscBep20":{"type":"object","properties":{"chain":{"type":"string","example":"BSC","description":"The blockchain to work with","enum":["BSC"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","fromPrivateKey","amount"]},"ChainTransferBscBep20KMS":{"type":"object","properties":{"chain":{"type":"string","example":"BSC","description":"The blockchain to work with","enum":["BSC"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible tokens","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","signatureId","amount"]},"ChainTransferCeloErc20Token":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","feeCurrency","fromPrivateKey","amount"]},"ChainTransferCeloErc20TokenKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":50,"minLength":1,"description":"The blockchain address to send the fungible tokens to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the fungible token smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"amount":{"description":"The amount of the fungible tokens to be sent","example":"100000","type":"string","pattern":"^[+]?((\\d+(\\.\\d*)?)|(\\.\\d+))$"},"digits":{"description":"The number of decimal places that the fungible tokens have; to find out how many decimal places are used in the fungible tokens, check out the smart contract","example":18,"maximum":30,"minimum":1,"type":"number"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","digits","feeCurrency","signatureId","amount"]},"ChainCallSmartContractMethod":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","BSC","XDC"]},"contractAddress":{"maxLength":43,"minLength":42,"description":"Address of ERC20 token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"methodName":{"minLength":1,"maxLength":500,"description":"Name of the method to invoke on smart contract.","type":"string","example":"transfer"},"methodABI":{"type":"object","description":"ABI of the method to invoke."},"params":{"type":"array","example":["0x632"],"items":{"type":"string"},"description":"Parameters of the method to be invoked."},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","params","methodABI","fromPrivateKey","methodName"]},"NftMetadataErc721":{"type":"object","properties":{"data":{"type":"string","description":"Metadata associated with token.","example":"https://my_token_data.com"}}},"NftMetadataErc721OnchainSolana":{"type":"object","properties":{"onchainData":{"type":"object","description":"(Solana) Metadata associated with token.","properties":{"name":{"type":"string","example":"My token"},"symbol":{"type":"string","example":"symbol"},"uri":{"type":"string","example":"http://google.com"}}}}},"NftMetadataErc721OnchainFlow":{"type":"array","description":"(Flow) Token ids","items":{"type":"string","example":"3654"}},"NftMetadataErc721OnchainAlgo":{"type":"object","properties":{"onchainData":{"type":"string","description":"(ALGO) Metadata associated with token.","example":"https://my_token_data.com"}}},"NftRoyaltyErc721":{"type":"object","properties":{"addresses":{"type":"array","description":"The blockchain addresses where the royalty cashback will be sent every time the NFT is transferred","items":{"type":"string","example":"0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326"}},"values":{"type":"array","description":"The amounts of the royalties that will be paid to the authors of the NFT every time the NFT is transferred; the royalties are paid as a percentage of the NFT price (on Solana) or in a native blockchain currency (on the other supported blockchains)\n","items":{"type":"string","example":"0.2"}}}},"NftTokenByAddressErc721":{"type":"object","required":["contractAddress","balances","metadata"],"properties":{"contractAddress":{"type":"string","example":"43821281","description":"On Algorand, this is the asset ID (the ID of the NFT); on the other blockchains, this is the address of the NFT smart contract."},"balances":{"type":"array","description":"On Algorand, this is either an array of \"1\" to indicate that the NFTs with the specified IDs exist, or an array with the number of NFT fractions if the NFTs are fractional; on the other blockchains, this is an array of the IDs of the NFTs.","items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"blockNumber":{"type":"array","description":"(EVM-based blockchains only) An array of the numbers of the blocks in which the NFT was received by the address","items":{"type":"number","example":13816552}},"metadata":{"type":"array","items":{"$ref":"#/components/schemas/NftTokenByAddressErc721TokenMetadata"}},"supply":{"type":"number","example":10,"description":"(Algorand only) The number of fractions in the NFT if the NFT is fractional"},"decimals":{"type":"number","example":1,"description":"(Algorand only) The number of decimal places in an NFT fraction if the NFT is fractional"}}},"NftTokenByAddressErc721TokenMetadata":{"type":"object","properties":{"tokenId":{"description":"(EVM-based blockchains only) The ID of the NFT owned by this address","type":"string","maxLength":78,"example":"123","format":"uint256"},"url":{"description":"The URL pointing to the NFT metadata; the URL may not be present, and if it is not returned, you can get it by calling the NFT Contract.tokenURI() method","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"},"metadata":{"$ref":"#/components/schemas/NftTokenByAddressErc721Metadata"}}},"NftTokenByAddressErc721Metadata":{"type":"object","description":"The metadata scheme obtained from the metadata URL; the scheme may not be present, and if it is not returned, you can get it using the NFT metadata API","example":{"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}},"NftTokenByCollectionErc721":{"type":"object","required":["tokenId"],"properties":{"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"metadata":{"$ref":"#/components/schemas/NftTokenByCollectionErc721TokenMetadata"}}},"NftTokenByCollectionErc721TokenMetadata":{"type":"object","required":["tokenID"],"properties":{"tokenId":{"description":"TokenID of the NFT token owned by this address.","type":"string","maxLength":78,"example":"123","format":"uint256"},"url":{"description":"Metadata URL of the TokenID. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"},"metadata":{"type":"object","description":"Metadata scheme obtained from the url. This data don't have to be present, safest way (if not present) is to obtain them from the NFT Contract.tokenURI() method call.","example":{"name":"Example NFT name","description":"Example NFT description","image":"ipfs://QmP4R7ACZ7JRQ6sLdmnPHqjWEXxzdnPvhAV2f6RnQ8uxJ6"}}}},"TransferNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send NFT token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","feeCurrency"]},"TransferNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"from":{"maxLength":36,"minLength":36,"description":"Blockchain address that owns the NFT token","example":"tz1LszyhzQS6JgySBSNkM55szM18inGwEgPa","type":"string"},"to":{"maxLength":36,"minLength":36,"description":"Blockchain address to send NFT token to","example":"tz1LszyhzQS6JgySBSNkM55szM18inGwEgPa","type":"string"},"contractAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address of the NFT smart contract","example":"KT1PemxAAhNkjvt49gBtFHn4JEm49Z3HA8TX","type":"string"},"tokenId":{"description":"The ID of the NFT","type":"string","maxLength":78,"example":"123","format":"uint256"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4jTb","minLength":64,"description":"The private key of the blockchain address that owns the token or has rights to transfer the token. This address will pay the fee for the transaction,"}},"required":["chain","from","to","tokenId","contractAddress","fromPrivateKey"]},"TransferNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"maxLength":34,"minLength":34,"description":"Blockchain address to send NFT token to","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","contractAddress","tokenId","fromPrivateKey","feeLimit"]},"FlowMintedMultipleResult":{"type":"object","properties":{"txId":{"type":"string","description":"Transaction ID","example":"d67787399d205139f4d6f42c2aa4fffdf6f247411fae3706e874fbba0ce04b1b"},"tokenId":{"type":"array","items":{"description":"ID of the minted token.","type":"string","maxLength":78,"example":"123","format":"uint256"}}}},"FlowMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"Transaction ID","example":"d67787399d205139f4d6f42c2aa4fffdf6f247411fae3706e874fbba0ce04b1b"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"}}},"SolanaMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"The ID of the transaction","example":"4kiRkAWjjr5t3rBKmYQ5d2e3xjgnRRttB5GtUz2F4sz5wwC7NnV74qCZ1KN1b37qsnjkKknsJPGXdcPhzHpkiMAs"},"nftAddress":{"type":"string","description":"The blockchain address of the minted NFT","example":"4afZBmAneN2j6gDHH8zdrNWkCqfMC3XPH2cpFKtYMSVe"},"nftAccountAddress":{"type":"string","description":"The blockchain address that received the minted NFT; this address was created under the recipient's account address (the one in the to
parameter of the request body), is owned by the recipient's address, and has the same private key","example":"A8BSHPJcB5ZGCT6yo6pz2RYqnypTSpzTAFSBhtTQmsEE"}}},"AlgorandMintedResult":{"type":"object","properties":{"txId":{"type":"string","description":"The ID of the transaction","example":"HQ32RQPJ7EAASLHPG5TTQEGETOEMN7BPND2TQMUMZWLIZBJWJ23A"},"assetIndex":{"type":"number","description":"The ID of the minted NFT","example":88885810},"confirmed":{"type":"boolean","description":"If set to \"true\", the transaction was included in the block within five rounds; otherwise, returned set to \"false\". \"false\" does not mean that the transaction was not included in the block; the Tatum API just does not wait for that much time to return the response.","example":true}}},"MintMultipleNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","url","fromPrivateKey","feeCurrency","tokenId"]},"MintMultipleNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ"],"items":{"maxLength":34,"minLength":34,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","contractAddress","url","fromPrivateKey","feeLimit","tokenId"]},"DeployNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","feeCurrency","fromPrivateKey"]},"DeployNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"ownerAddress":{"description":"Public address that will be admin of the contract. Must be a valid address of the Tezos blockchain.","example":"tz1cCRCbBwnazV6howgD84a6fuhikKTnsWHZ","type":"string"},"metadata":{"description":"Object of key-value pairs representing metadata of the contract. Keys must be strings, values can be strings, numbers, or booleans.","example":{"name":"My NFT"},"type":"object"},"fromPrivateKey":{"description":"Private key of account address, from which fee and storage costs for deployment of Tzip12 contract will be paid.","type":"string","example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc"}},"required":["chain","ownerAddress","metadata","fromPrivateKey"]},"DeployNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX); deployment of a smart contract on TRON costs around 580 TRX","example":600}},"required":["chain","name","symbol","feeLimit","fromPrivateKey"]},"DeployNftCeloKMS":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","name","symbol","feeCurrency","signatureId"]},"DeployNftTronKMS":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX); deployment of a smart contract on TRON costs around 580 TRX","example":600}},"required":["chain","name","from","symbol","feeLimit","signatureId"]},"MintMultipleNftKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","description":"The nonce to be set to the transaction; if not present, the last known nonce will be used","minimum":0},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","to","contractAddress","feeCurrency","tokenId","url","signatureId"]},"MintMultipleNftKMSTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ"],"items":{"maxLength":34,"minLength":34,"type":"string"}},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","type":"array","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","to","from","contractAddress","feeLimit","tokenId","url","signatureId"]},"BurnNftCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","contractAddress","feeCurrency","fromPrivateKey","tokenId"]},"BurnNftTezos":{"type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"KT1KVGCm3WTQndN8WLvdYWAaCJheWj7oudY7","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4","minLength":66,"description":"Private key of sender address."},"ownerAddress":{"maxLength":36,"minLength":36,"description":"Public address of the owner. Owner is admin and minter of the token. Must be a valid address of the Tezos blockchain.","example":"tz1cCRCbBwnazV6howgD84a6fuhikKTnsWHZ","type":"string"}},"required":["chain","tokenId","contractAddress","fromPrivateKey","ownerAddress"]},"BurnNftAlgo":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The ID of the NFT to burn; this is the ID from the assetIndex
parameter returned in the response body of the minting call","example":"116363571","type":"string"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"46OPDKNDLB35M3QMRRZEAW2HDTDT2LFHRUCHDE5FJZAJOV7GDPCC6AYZ6KCUULTHA4QL6YPHN2PNEXHPJMUZGHYJXQK6SUL2HQ2MLXQ","minLength":103,"description":"The private key of the blockchain address from which the fee will be deducted"}},"required":["chain","contractAddress","fromPrivateKey"]},"BurnNftAlgoKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"contractAddress":{"maxLength":265,"description":"The ID of the NFT to burn; this is the ID from the assetIndex
parameter returned in the response body of the minting call","example":"116363571","type":"string"},"from":{"maxLength":58,"minLength":58,"description":"Blockchain address to burn NFT token from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."}},"required":["chain","contractAddress","signatureId","from"]},"BurnNftTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":64,"example":"842E09EB40D8175979EFB0071B28163E11AED0F14BDD84090A4CEFB936EF5701","minLength":64,"description":"Private key of sender address. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","contractAddress","feeLimit","fromPrivateKey","tokenId"]},"BurnNftSolana":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":128,"description":"The private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["from","chain","contractAddress","fromPrivateKey"]},"BurnNftSolanaKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["from","chain","contractAddress","signatureId"]},"BurnNftKMSCelo":{"type":"object","properties":{"chain":{"type":"string","example":"CELO","description":"The blockchain to work with","enum":["CELO"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"feeCurrency":{"type":"string","description":"The currency in which the transaction fee will be paid","enum":["CELO","CUSD","CEUR"]},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["chain","feeCurrency","contractAddress","tokenId","signatureId"]},"BurnNftKMSTron":{"type":"object","properties":{"chain":{"type":"string","example":"TRON","description":"The blockchain to work with","enum":["TRON"]},"from":{"maxLength":34,"minLength":34,"description":"Blockchain address to perform transaction from","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":34,"minLength":34,"description":"Address of NFT token","example":"TCrmdJmvDUPy8qSTgoVStF51yWm6VUh5yQ","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feeLimit":{"type":"number","description":"The maximum amount to be paid as the transaction fee (in TRX)","example":600}},"required":["chain","feeLimit","contractAddress","tokenId","signatureId","from"]},"BurnNftFlowPK":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"privateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, mnemonic and index or signature Id must be present."}},"required":["chain","contractAddress","account","privateKey","tokenId"]},"BurnNftFlowMnemonic":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"mnemonic":{"type":"string","maxLength":500,"example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","minLength":1,"description":"Mnemonic to generate private key of sender address."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","mnemonic","index","tokenId"]},"BurnNftFlowKMS":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"tokenId":{"description":"ID of token to be destroyed.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","signatureId","tokenId"]},"MintMultipleNftFlowPK":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"privateKey":{"type":"string","maxLength":64,"example":"05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":64,"description":"Private key of sender address. Private key, mnemonic and index or signature Id must be present."}},"required":["chain","contractAddress","account","privateKey","to","url"]},"MintMultipleNftFlowMnemonic":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"mnemonic":{"type":"string","maxLength":500,"example":"urge pulp usage sister evidence arrest palm math please chief egg abuse","minLength":1,"description":"Mnemonic to generate private key of sender address."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","mnemonic","index","to","url"]},"MintMultipleNftFlowKMS":{"type":"object","properties":{"chain":{"type":"string","example":"FLOW","description":"The blockchain to work with","enum":["FLOW"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0xc1b45bc27b9c61c3"],"items":{"maxLength":18,"minLength":18,"type":"string"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":36,"minLength":36,"description":"Address of NFT token","example":"17a50dad-bcb1-4f3d-ae2c-ea2bfb04419f","type":"string"},"account":{"type":"string","maxLength":18,"example":"0xc1b45bc27b9c61c3","minLength":18,"description":"Blockchain address of the sender account."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"index":{"description":"Derivation index of sender address.","example":0,"type":"integer","maximum":2147483647}},"required":["chain","contractAddress","account","signatureId","to","url"]},"MintNftFlowPK":{"description":"The MintNftFlowPK
schema lets you mint NFTs natively on Flow and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftFlowMnemonic
schema lets you mint NFTs natively on Flow and sign the transaction with your wallet mnemonic.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftFlowKMS
schema lets you mint NFTs natively on Flow and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftCelo
schema lets you mint NFTs natively on Celo and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftTron
schema lets you mint NFTs natively on TRON and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftKMSCelo
schema lets you mint NFTs natively on Celo and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftKMSTron
schema lets you mint NFTs natively on TRON and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"to":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT to","example":"9pSkqSG71Sb25ia9WBFhoeBYjp8dhUf7fRux9xrDq89b","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":128,"description":"The private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["to","from","chain","contractAddress","fromPrivateKey"]},"TransferNftAlgoKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ALGO","description":"The blockchain to work with","enum":["ALGO"]},"from":{"maxLength":58,"minLength":58,"description":"The blockchain address to transfer the NFT from","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"to":{"maxLength":58,"minLength":58,"description":"The blockchain address to transfer the NFT to","example":"TMETT6BXL3QUH7AH5TS6IONU7LVTLKIGG54CFCNPMQXWGRIZFIESZBYWP4","type":"string"},"contractAddress":{"description":"The asset ID (the ID of the NFT)","example":"100000","type":"string","maxLength":256},"fee":{"description":"The transaction fee in Algos","type":"string","example":"0.001"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the sender's blockchain address"},"amount":{"description":"(For fractional NFTs only) The number of NFT fractions to transfer; if not set, defaults to 1, which means that one fraction of the NFT will be transferred","example":1,"default":1,"type":"number","minimum":0}},"required":["to","chain","contractAddress","from","signatureId"]},"TransferNftSolanaKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT from; this is the address that you used in the to
parameter in the request body of the minting call; from this address, the transaction fee will be paid","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"to":{"maxLength":44,"minLength":32,"description":"The blockchain address to send the NFT to","example":"9pSkqSG71Sb25ia9WBFhoeBYjp8dhUf7fRux9xrDq89b","type":"string"},"contractAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT; this is the address from the nftAddress
parameter returned in the response body of the minting call","example":"3tzudv5KaoqmieWiBUqzWokKEtTvx1wQMapVKeH7CHaq","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"The KMS identifier of the private key of the blockchain address that you are sending the NFT from (the address that you specified in the from
parameter)"},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["to","from","chain","contractAddress","signatureId"]},"DeployNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","ZEN","FLR","CRO","BASE","AVAX","OPTIMISM"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"fromPrivateKey":{"description":"Private key of account address, from which gas for deployment of ERC721 will be paid. Private key, or signature Id must be present.","type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","chain","symbol","fromPrivateKey"]},"DeployNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"name":{"description":"Name of the NFT token","example":"My ERC721","maxLength":100,"minLength":1,"type":"string"},"publicMint":{"description":"True if the contract is publicMint type. False by default.","example":true,"type":"boolean"},"symbol":{"description":"Symbol of the NFT token","example":"ERC_SYMBOL","maxLength":30,"minLength":1,"type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["name","chain","symbol","signatureId"]},"TransferNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"to":{"maxLength":42,"minLength":42,"description":"Blockchain address to send NFT token to","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"tokenId":{"description":"ID of the token.","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","example":1,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","contractAddress","signatureId","tokenId"]},"MintNft":{"description":"The MintNft
schema lets you mint NFTs natively on BNB Smart Chain, Ethereum, Harmony, Klaytn, KuCoin Community Chain, Polygon and Horizen Eon and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftMinter
schema lets you mint NFTs on BNB Smart Chain, Celo, Ethereum, Harmony, Klaytn, Polygon and Horizen Eon using the NTF minter, a special blockchain address provided by Tatum that will cover the minting fees.
For more information, see \"Use your own smart contract to mint NFTs\" in Mint an NFT.
The MintNftExpress
schema lets you mint NFTs on BNB Smart Chain, Celo, Ethereum, Harmony, Klaytn, and Polygon using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
The MintNftExpressAlgorand
schema lets you mint NFTs on Algorand using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftAlgorand
schema lets you mint NFTs natively on Algorand and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftAlgorandKMS
schema lets you mint NFTs natively on Algorand and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
total
parameter); for example, if total
is set to 10, decimals
must be set to 1.The MintNftExpressTezos
schema lets you mint NFTs on Tezos using NTF Express. You don't need to provide the private key and Tatum will cover the minting fees. The price of the mint operation will be deducted from your credits. In order to use the mint you need to first deploy the smartcontract using NFT Express
The MintNftTezos
schema lets you mint NFTs on Tezos.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
","type":"object","properties":{"chain":{"type":"string","example":"TEZOS","description":"The blockchain to work with","enum":["TEZOS"]},"url":{"description":"The URL pointing to the NFT metadata","example":"https://my_token_data.com","type":"string","maxLength":256},"contractAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address of the smart contract to build the NFT on","example":"KT1PemxAAhNkjvt49gBtFHn4JEm49Z3HA8TX","type":"string"},"ownerAddress":{"maxLength":36,"minLength":36,"description":"The blockchain address to send the NFT to","example":"tz1f1nboqWEhZJHwZnxnokQ9QoTiT21qMZxG","type":"string"},"tokenId":{"description":"The ID of the NFT","type":"string","maxLength":78,"example":"123","format":"uint256"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"edskRvJQqeNih91dkoRkTG1PWxV5AruYbtrkp5DKibL2iMkPGWBbdYp8jpsY3N3skCNrwf9socTv9Sstonkckc4jTb","minLength":64,"description":"The private key of the blockchain address that will pay the fee for the transaction"}},"required":["tokenId","chain","url","ownerAddress","contractAddress","fromPrivateKey"]},"MintNftKMS":{"description":"
The MintNftKMS
schema lets you mint NFTs natively on BNB Smart Chain, Ethereum, Harmony, Klaytn, KuCoin Community Chain, and Polygon and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
The MintNftSolana
schema lets you mint NFTs natively on Solana and sign the transaction with your private key.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
collection
parameter in the metadata
section of the request body. To know more about Solana collections and verification, refer to the Solana user documentation."},"metadata":{"$ref":"#/components/schemas/SolanaNftMetadata"}},"required":["to","chain","fromPrivateKey","from","metadata"]},"VerifySolanaNFT":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"nftAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT to verify","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"collectionAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT should be verified in. The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program.","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the collection verifier on behalf of whom the transaction will be originated. The transaction fee will be paid from this address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"fromPrivateKey":{"type":"string","maxLength":128,"example":"3abc79a31093e4cfa4a724e94a44906cbbc3a32e2f75f985a28616676a5dbaf1de8d82a7e1d0561bb0e1b729c7a9b9b1708cf2803ad0ca928a332587ace391ad","minLength":64,"description":"The private key of the collection verifier's address"},"feePayer":{"description":"Address on the Solana blockchain, from which the fee will be paid for transaction. Defaults to from.","maxLength":44,"minLength":32,"example":"BL4Xgn1jkuU4Yr3SQ4HG8cD5SBrsSk7BihKzkb5zTUfs","type":"string"},"feePayerPrivateKey":{"type":"string","maxLength":87,"example":"YdQ1iy2NYs93dtkHdz3ijDuhRJj6uXYAUZmixirCrgCsTMj42BN1Q1buYcGZaMxw5buk9VU5ogQ6zuzn8DMsGaf","minLength":128,"description":"Private key of the fee payer address."}},"required":["collectionAddress","chain","fromPrivateKey","from","nftAddress"]},"VerifySolanaNFTKMS":{"type":"object","properties":{"chain":{"type":"string","example":"SOL","description":"The blockchain to work with","enum":["SOL"]},"nftAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT to verify","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"collectionAddress":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT should be verified in. The collection must be a sized collection that was introduced in Version 1.3 of the Metaplex Token Metadata program.","example":"CHw1Fy5YdbaaosLXrrxhuc3X3fpssMqDQm9XwJh9LPGe","type":"string"},"from":{"maxLength":44,"minLength":32,"description":"The blockchain address of the collection verifier on behalf of whom the transaction will be originated. The transaction fee will be paid from this address.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"feePayer":{"description":"Blockchain address to pay the fee for the transaction from","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","maxLength":44,"minLength":32,"type":"string"},"feePayerSignatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key used for paying the gas costs in signing application. Defaults to the signatureId."}},"required":["collectionAddress","chain","signatureId","from","nftAddress"]},"MintNftExpressSolana":{"description":"The MintNftExpressSolana
schema lets you mint NFTs on Solana using NTF Express with the pre-built smart contract provided by Tatum.
For more information, see \"Use the pre-built smart contract provided by Tatum to mint NFTs\" in Mint an NFT.
The MintNftSolanaKMS
schema lets you mint NFTs natively on Solana and sign the transaction with your signature ID.
For more information, see \"Minting NFTs natively on a blockchain\" in Mint an NFT.
100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. Specify the private key of the collection verifier in the collectionVerifierPrivateKey
parameter of the request body to get the NFT verified in the collection after the NFT has been minted. To know more about Solana collections and verification, refer to the Solana user documentation.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"SolanaNftMetadataKMS":{"type":"object","required":["name","symbol","uri","sellerFeeBasisPoints"],"properties":{"name":{"type":"string","description":"The name of the NFT","example":"My NFT","maxLength":32},"symbol":{"type":"string","description":"The symbol or abbreviated name of the NFT","example":"NFT_SYMBOL","maxLength":10},"sellerFeeBasisPoints":{"type":"number","description":"The royalty that will be paid to the authors of the minted NFT every time the NFT is transferred100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. The minted NFT will get verified in the collection on behalf of the blockchain address specified in the from
parameter. To know more about Solana collections and verification, refer to the Solana user documentation and NFT verification API.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"SolanaNftExpressMetadata":{"type":"object","required":["name","symbol","uri","sellerFeeBasisPoints"],"properties":{"name":{"type":"string","description":"The name of the NFT","example":"My NFT","maxLength":32},"symbol":{"type":"string","description":"The symbol or abbreviated name of the NFT","example":"NFT_SYMBOL","maxLength":10},"sellerFeeBasisPoints":{"type":"number","description":"The royalty that will be paid to the authors of the minted NFT every time the NFT is transferred100
; to set 10%, set this parameter to 1000
; to set 50%, set this parameter to 5000
, and so on.creators
parameter.sellerFeeBasisPoints
to 0
and do not set creators
.","example":0},"uri":{"description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":"https://my_token_data.com","type":"string","maxLength":200},"collection":{"maxLength":44,"minLength":32,"description":"The blockchain address of the NFT collection where the NFT will be minted in. By default, the NFT is minted as not verified (is not considered a part of the collection). To verify the NFT in the collection, use the NFT verification API. To know more about Solana collections and verification, refer to the Solana user documentation.","example":"FykfMwA9WNShzPJbbb9DNXsfgDgS3XZzWiFgrVXfWoPJ","type":"string"},"mutable":{"type":"boolean","default":true,"description":"Specifies whether the NFT metadata is mutable (\"true\") or immutable (\"false\"); if not set, defaults to \"true\""},"creators":{"type":"array","description":"The blockchain addresses where the royalties will be sent every time the minted NFT is transferred","items":{"$ref":"#/components/schemas/SolanaNftMetadataCreator"}}}},"MintMultipleNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","FLR","CRO","BASE","AVAX","OPTIMISM"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":66,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"Private key of sender address. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"erc20":{"type":"string","maxLength":42,"minLength":42,"description":"The blockchain address of the custom fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId"]},"MintMultipleNftMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","CELO","KCS","ONE","KLAY","BSC"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"minter":{"maxLength":42,"minLength":43,"description":"Address of NFT minter, which will be used to mint the tokens. From this address, transaction fees will be deducted.","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"feeCurrency":{"type":"string","description":"(Celo only) The currency in which the transaction fee will be paid","enum":["CELO"]}},"required":["to","chain","url","contractAddress","minter","tokenId"]},"MintMultipleNftKMS":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC"]},"to":{"type":"array","description":"Blockchain address to send NFT token to.","example":["0x687422eEA2cB73B5d3e242bA5456b782919AFc85"],"items":{"maxLength":42,"minLength":42,"type":"string"}},"tokenId":{"type":"array","description":"ID of token to be created.","example":["123"],"items":{"type":"string","maxLength":78,"example":"123","format":"uint256"}},"url":{"type":"array","description":"The URL pointing to the NFT metadata; for more information, see EIP-721","example":["https://my_token_data.com"],"items":{"type":"string","maxLength":256}},"contractAddress":{"maxLength":42,"minLength":42,"description":"Address of NFT token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"index":{"type":"number","minimum":0,"description":"If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic."},"signatureId":{"type":"string","format":"uuid","example":"26d3883e-4e17-48b3-a0ee-09a3e484ac83","description":"Identifier of the private key associated in signing application. Private key, or signature Id must be present."},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"erc20":{"type":"string","maxLength":42,"minLength":42,"description":"The blockchain address of the custom fungible token","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","contractAddress","tokenId","url","signatureId"]},"BurnNft":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["ETH","MATIC","KCS","ONE","KLAY","BSC","ZEN","FLR","CRO","BASE","AVAX","OPTIMISM"]},"tokenId":{"description":"The ID of the NFT to burn","type":"string","maxLength":78,"example":"123","format":"uint256"},"contractAddress":{"maxLength":42,"minLength":1,"description":"The blockchain address of the NFT to burn","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"fromPrivateKey":{"type":"string","maxLength":103,"example":"0x05e150c73f1920ec14caa1e0b6aa09940899678051a78542840c2668ce5080c2","minLength":66,"description":"The private key of the blockchain address from which the fee will be deducted"},"nonce":{"type":"number","minimum":0,"description":"The nonce to be set to the transaction; if not present, the last known nonce will be used"},"fee":{"$ref":"#/components/schemas/CustomFee"}},"required":["to","chain","url","contractAddress","fromPrivateKey","tokenId"]},"AddNftMinter":{"type":"object","properties":{"chain":{"type":"string","example":"ETH","description":"The blockchain to work with","enum":["BSC","CELO","ETH","KLAY","KCS","MATIC","ONE","ZEN","FLR","CRO","BASE","AVAX","OPTIMISM"]},"contractAddress":{"maxLength":42,"minLength":42,"description":"The blockchain address of the NFT smart contract","example":"0x687422eEA2cB73B5d3e242bA5456b782919AFc85","type":"string"},"minter":{"maxLength":42,"minLength":42,"description":"The blockchain address to add to the smart contract as an NFT minter1
to indicate that the NFT with the specified ID exists","items":{"type":"string","example":"1"}},"metadata":{"type":"array","items":{"type":"object","properties":{"url":{"description":"The URL pointing to the NFT metadata; may not be present","example":"ipfs://QmXFpaS3S7CkLZvihLFA9JbawKdqhjg8dJeDkPntmkD2Pc","type":"string"}}}}}}}}},"BalanceItem":{"oneOf":[{"$ref":"#/components/schemas/NativeTokenBalance"},{"$ref":"#/components/schemas/NftBalance"},{"$ref":"#/components/schemas/FungibleTokenBalance"}]},"NativeTokenBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"native"},"address":{"type":"string"},"balance":{"type":"string"}},"required":["chain","type","address","balance"]},"NftBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"nft"},"address":{"type":"string"},"balance":{"type":"string"},"tokenAddress":{"type":"string"},"tokenId":{"type":"string"},"metadataURI":{"type":"string"},"lastUpdatedBlockNumber":{"type":"integer"},"metadata":{"type":"object"}},"required":["chain","type","address","balance","tokenAddress","lastUpdatedBlockNumber"]},"FungibleTokenBalance":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"type":{"$ref":"#/components/schemas/TokenType","example":"fungible"},"address":{"type":"string"},"balance":{"type":"string"},"tokenAddress":{"type":"string"},"lastUpdatedBlockNumber":{"type":"integer"}},"required":["chain","type","address","balance","tokenAddress","lastUpdatedBlockNumber"]},"TokenType":{"type":"string","enum":["native","fungible","nft","multitoken"],"description":"Enum representing the type of token.","example":"nft"},"BlockItem":{"type":"object","properties":{"blockNumber":{"type":"integer","description":"The block number in the blockchain.","example":10},"blockTimestamp":{"type":"integer","format":"int64","description":"The timestamp when the block was created, in milliseconds since Unix epoch.","example":1598671520000},"hash":{"type":"string","description":"The hash of the block.","example":"0xec1a2d906f34e1981b2b1a15dbe5e10cf640e8b4b27dc056ebb65c0409b5a9af"},"eventIngestedSize":{"type":"integer","description":"The number of ingested events in the block.","example":0},"nftIngestedSize":{"type":"integer","description":"The number of ingested NFTs in the block.","example":0},"txHashes":{"type":"array","items":{"type":"string"},"description":"The array of transaction hashes included in the block.","example":["0x19eaae1f7bdd28605f4175d7e87c9de68431bf76e85a262e268252a84bfc3984"]}}},"Event":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"address":{"type":"string","description":"The address associated with the event."},"blockNumber":{"type":"integer","description":"The block number where the event was recorded."},"timestamp":{"type":"integer","description":"The timestamp of the event in UNIX format."},"decoded":{"oneOf":[{"$ref":"#/components/schemas/FungibleTransfer"},{"$ref":"#/components/schemas/StablecoinTransfer"},{"$ref":"#/components/schemas/NftTransfer"},{"$ref":"#/components/schemas/MultitokenTransferSingle"},{"$ref":"#/components/schemas/MultitokenTransferBatch"},{"$ref":"#/components/schemas/UniswapTradeV2"},{"$ref":"#/components/schemas/UniswapTradeV3"}],"description":"The decoded event data based on the given models."},"raw":{"$ref":"#/components/schemas/RawData"},"txHash":{"type":"string","description":"The transaction hash related to the event."},"txIndex":{"type":"integer","description":"The transaction index within the block."},"logIndex":{"type":"integer","description":"The log index within the transaction."}}},"DecodedDataCommon":{"type":"object","description":"Common properties for decoded data events.","properties":{"label":{"type":"string","description":"The label of the event.","example":"Transfer"},"type":{"type":"string","description":"The type of the event.","example":"FungibleTransfer"},"subtype":{"type":"string","description":"The subtype of the event.","example":"ERC20"},"from":{"type":"string","description":"The sender address of the event.","example":"0x742d35cc6634c0532925a3b844bc454e4438f44e"},"to":{"type":"string","description":"The receiver address of the event.","example":"0xb7d49e5aa39ff1e5d1b33286c3a8e5515b6a4e1a"}}},"FungibleTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"decimals":{"type":"integer","description":"The number of decimal places for the transferred token.","example":18},"value":{"type":"string","description":"The value of the transferred token.","example":"1000"}}}]},"StablecoinTransfer":{"allOf":[{"$ref":"#/components/schemas/FungibleTransfer"},{"type":"object","properties":{"stablecoin":{"type":"string","description":"The address of the stablecoin being transferred.","example":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}]},"NftTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"tokenId":{"type":"string","description":"The unique identifier of the NFT being transferred.","example":"101"}}}]},"MultitokenTransfer":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"operator":{"type":"string","description":"The address of the operator initiating the transfer.","example":"0x742d35cc6634c0532925a3b844bc454e4438f44e"}}}]},"MultitokenTransferSingle":{"allOf":[{"$ref":"#/components/schemas/MultitokenTransfer"},{"type":"object","properties":{"multitokenId":{"type":"string","description":"The unique identifier of the single multitoken being transferred.","example":"1"},"multitokenValue":{"type":"string","description":"The value of the single multitoken being transferred.","example":"100"}}}]},"MultitokenTransferBatch":{"allOf":[{"$ref":"#/components/schemas/MultitokenTransfer"},{"type":"object","properties":{"multitokenIds":{"type":"array","items":{"type":"string"},"description":"The unique identifiers of the multitokens being transferred.","example":["1","2","3"]},"multitokenValues":{"type":"array","items":{"type":"string"},"description":"The values of the multitokens being transferred.","example":["100","200","300"]}}}]},"UniswapTrade":{"allOf":[{"$ref":"#/components/schemas/DecodedDataCommon"},{"type":"object","properties":{"token0":{"type":"string","description":"The address of the first token involved in the trade.","example":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"},"token1":{"type":"string","description":"The address of the second token involved in the trade.","example":"0x6b175474e89094c44da98b954eedeac495271d0f"},"partiallyRaw":{"type":"boolean","description":"Indicates whether the trade data is partially raw or not.","example":false}}}]},"UniswapTradeV2":{"allOf":[{"$ref":"#/components/schemas/UniswapTrade"},{"type":"object","properties":{"amount0In":{"type":"string","description":"The input amount of the first token in the trade.","example":"0.5"},"amount1In":{"type":"string","description":"The input amount of the second token in the trade.","example":"0.0"},"amount0Out":{"type":"string","description":"The output amount of the first token in the trade.","example":"0.0"},"amount1Out":{"type":"string","description":"The output amount of the second token in the trade.","example":"1.0"}}}]},"UniswapTradeV3":{"allOf":[{"$ref":"#/components/schemas/UniswapTrade"},{"type":"object","properties":{"amount0":{"type":"string","description":"The net amount of the first token involved in the trade.","example":"0.5"},"amount1":{"type":"string","description":"The net amount of the second token involved in the trade.","example":"1.0"},"sqrtPriceX96":{"type":"string","description":"The square root price of the trading pair scaled by 2^96.","example":"79228162514264337593543950336"},"liquidity":{"type":"string","description":"The liquidity of the trading pair at the time of the trade.","example":"1000"},"tick":{"type":"integer","description":"The tick index of the Uniswap V3 pool at the time of the trade.","example":1000}}}]},"RawData":{"type":"object","description":"Raw data associated with the event, including topics and data.","required":["topic_0"],"properties":{"topic_0":{"type":"string","description":"The first topic of the event, if present.","example":"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"},"topic_1":{"type":"string","description":"The second topic of the event, if present.","example":"0x000000000000000000000000742d35cc6634c0532925a3b844bc454e4438f44e"},"topic_2":{"type":"string","description":"The third topic of the event, if present.","example":"0x000000000000000000000000b7d49e5aa39ff1e5d1b33286c3a8e5515b6a4e1a"},"topic_3":{"type":"string","description":"The fourth topic of the event, if present.","example":""},"data":{"type":"string","description":"The data associated with the event, if present.","example":"0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"}}},"TxData":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/ChainEnum"},"hash":{"type":"string","description":"The transaction hash.","example":"0x549447710026cef714da21fb29cbfae1f689bd3246f2fa0a5081149c4aeb3bb3"},"address":{"type":"string","description":"The address involved in the transaction.","example":"0xdef1c0ded9bec7f1a1670819833240f027b25eff"},"counterAddress":{"type":"string","description":"The counter address involved in the transaction (optional).","example":"0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"},"tokenAddress":{"type":"string","description":"The token address involved in the transaction (optional).","example":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"},"tokenId":{"type":"string","description":"The ID of the token involved in the transaction (optional).","example":33},"blockNumber":{"type":"number","description":"The block number in which the transaction occurred.","example":16819465},"transactionIndex":{"type":"number","description":"The transaction index within the block.","example":84},"transactionType":{"$ref":"#/components/schemas/TxType"},"transactionSubtype":{"$ref":"#/components/schemas/TxSubtype"},"amount":{"type":"string","description":"The amount transferred in the transaction.","example":0.9909237063720822},"timestamp":{"type":"number","description":"The timestamp when the transaction occurred.","example":1678715303000}}},"TxType":{"type":"string","description":"The type of the transaction.","enum":["fungible","nft","multitoken","native"]},"TxSubtype":{"type":"string","description":"The subtype of the transaction.","enum":["incoming","outgoing","zero-transfer"]},"FungibleInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the fungible token.","example":"USDC"},"name":{"type":"string","description":"The full name of the fungible token.","example":"USD Coin"},"supply":{"type":"string","description":"The total supply of the fungible token.","example":"1000000000"},"decimals":{"type":"number","description":"The number of decimal places for the fungible token.","example":6},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC20, BEP20).","example":"ERC20"},"cap":{"type":"string","description":"The maximum supply cap of the fungible token.","example":"2000000000"}}},"FungibleInfoTezos":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the fungible token.","example":"USDC"},"name":{"type":"string","description":"The full name of the fungible token.","example":"USD Coin"},"description":{"type":"string","description":"The describtion of the fungible token.","example":"USD Coin"},"supply":{"type":"string","description":"The total supply of the fungible token.","example":"1000000000"},"decimals":{"type":"number","description":"The number of decimal places for the fungible token.","example":6},"tokenType":{"type":"string","description":"The type of the token (e.g., fungible, nft).","example":"fungible"}}},"NftInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the NFT collection.","example":"ART"},"name":{"type":"string","description":"The full name of the NFT collection.","example":"Art Collection"},"supply":{"type":"string","description":"The total supply of the NFT collection.","example":"5000"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"}}},"NftInfoTezos":{"type":"object","properties":{"name":{"type":"string","description":"The full name of the NFT collection.","example":"Art Collection"},"description":{"type":"string","description":"The total supply of the NFT collection.","example":"5000"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"},"contractMetadata":{"type":"object","description":"Additional information about the contract"}}},"MultitokenInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the multitoken collection.","example":"GAME"},"name":{"type":"string","description":"The full name of the multitoken collection.","example":"Game Assets"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC1155).","example":"ERC1155"}}},"NftTokenInfo":{"type":"object","properties":{"symbol":{"type":"string","description":"The symbol of the NFT token.","example":"ART"},"name":{"type":"string","description":"The name of the NFT token.","example":"Mona Lisa"},"metadata":{"type":"object","description":"The metadata associated with the NFT token.","example":{"artist":"Leonardo da Vinci","year":1503}},"metadataURI":{"type":"string","description":"The URI of the metadata associated with the NFT token.","example":"https://example.com/metadata/123"},"tokenType":{"type":"string","description":"The type of the token (e.g., ERC721, ERC1155).","example":"ERC721"}}},"Token":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"tokenId":{"$ref":"#/components/schemas/TokenId"},"tokenAddress":{"$ref":"#/components/schemas/TokenAddress"},"tokenType":{"$ref":"#/components/schemas/TokenType"},"metadataURI":{"$ref":"#/components/schemas/NftMetadataURI"},"metadata":{"$ref":"#/components/schemas/NftMetadata"}}},"TokenTezos":{"type":"object","properties":{"chain":{"$ref":"#/components/schemas/Chain"},"tokenId":{"$ref":"#/components/schemas/TokenId"},"tokenAddress":{"$ref":"#/components/schemas/TokenAddress"},"tokenType":{"$ref":"#/components/schemas/TokenType"},"creator":{"type":"string","description":"Address of the token creator.","example":"tz1hkNPg5jQ66pJpZH2boiF5AnbAcd1dt5KS"},"name":{"type":"string","description":"Name of the token.","example":"My token 1"}}},"Chain":{"type":"string","description":"Name of the chain.","example":"ethereum"},"ChainEnum":{"type":"string","example":"ethereum","enum":["ethereum","ethereum-sepolia","ethereum-holesky","celo","celo-testnet","bsc","bsc-testnet","polygon","eon","chiliz"]},"ChainEnumExtended":{"type":"string","example":"ethereum","enum":["ethereum","ethereum-sepolia","celo","celo-testnet","bsc","bsc-testnet","polygon","tezos","eon","chiliz"]},"ChainUtxoEnum":{"description":"The blockchain to work with.","type":"string","example":"bitcoin","enum":["bitcoin","bitcoin-mainnet","bitcoin-testnet","litecoin","litecoin-mainnet","litecoin-testnet","doge","doge-mainnet","doge-testnet","cardano","cardano-mainnet","cardano-preprod"]},"Utxo":{"type":"object","required":["chain","address","txHash","index","value","valueAsString"],"properties":{"chain":{"$ref":"#/components/schemas/ChainUtxoEnum"},"address":{"type":"string","description":"Address of the UTXO","example":"bc1qmfp2r68cde646jv5ns7x2qvah8v5qtfw8gznj2"},"txHash":{"type":"string","description":"Hash of the transaction this UTXO is present in","example":"0x1b5b3e8a671434bf5d0d38e3e52dcafac484441a48bfae4a3f71e5b0b3093d8e"},"index":{"type":"number","description":"Index of the UTXO in the transaction","example":0},"value":{"type":"number","description":"Value of the UTXO, in BTC, LTC or DOGE.","example":0.0001},"valueAsString":{"type":"string","description":"String representation of the value of the UTXO, in BTC, LTC or DOGE.","example":"0.0001"}}},"TokenId":{"type":"string","description":"ID of the token.","maxLength":78,"example":"3","format":"uint256"},"TokenIds":{"type":"string","description":"IDs of the token.","maxLength":78,"example":"3,4","format":"uint256"},"TokenAddress":{"type":"string","description":"Contract address of the token.","example":"0xba30E5F9Bb24caa003E9f2f0497Ad287FDF95623"},"ExcludeMetadata":{"type":"boolean","example":false},"NftMetadataURI":{"type":"string","description":"Metadata URL of the token. This data doesn't have to be present.\nThe safest way to obtain them in that case is from the NFT Contract.tokenURI() method call.\n","example":"ipfs://QmTDcCdt3yb6mZitzWBmQr65AW6Wska295Dg9nbEYpSUDR/3"},"NftMetadata":{"type":"object","description":"Metadata scheme obtained from the url. This data don't have to be present.\nThe safest way to obtain them in that case is from the NFT Contract.tokenURI() method call.\n","example":{"image":"ipfs://QmamEqaaVttv9AvfgM4Wa7d9Ettonep1NBQSDCtM7THUSX","attributes":[{"trait_type":"Background","value":"Club Exterior"},{"trait_type":"Fur","value":"Radioactive"},{"trait_type":"Back","value":"Beer Kegs"},{"trait_type":"Mouth","value":"Goofball"},{"trait_type":"Eyes","value":"Closed"}]}},"BlockNumber":{"type":"number","example":16499510,"minimum":0},"BlockNumberTo":{"type":"number","example":16779230,"minimum":0},"PageSize":{"type":"number","example":10,"minimum":1,"maximum":50},"Cursor":{"type":"string","description":"Cursor pagination, used to get next page or previous page of results. The size of result is defined by the `pageSize` parameter. \nThe cursor is a base64 encoded string, user can get the value from a response in the `nextPage` or `prevPage` field. \nIf the nextPage or prevPage fields are not present in the response body, pagination is usually available with the `offset` and `pageSize` parameters. \n","example":"MzYxNTQ3MHwyNDV8cHJldg=="},"Offset":{"type":"number","example":0}},"securitySchemes":{"X-API-Key":{"type":"apiKey","name":"x-api-key","in":"header","description":"The **API key** represents your [pricing plan](https://tatum.io/pricing) and defines how many API calls \nyou can make per second and what the total number of API calls per month is available for you.\n\nOne API key must be used by only one person.\n\nChoose one of the following authentication methods:\n\n* **Provide the API key in each API call.**\n\n To obtain the API key, [create a Tatum account](https://dashboard.tatum.io/sign-up). Once you are logged in,\n you are automatically assigned the Free plan.\n\n With the Free plan:\n * You get two API keys, one tied to the testnet of a blockchain and the other to the mainnet.\n * You can make up to five API calls per second.\n * The number of API calls per month is not limited.\n\n When making an API call, provide the appropriate API key (testnet or mainnet) as either an HTTP header\n or a path parameter of the API call.\n\n If you ever need your API keys, you can find them in [your Tatum account](https://dashboard.tatum.io/).\n\n For more information about the Free plan and paid plans, refer to [this article](https://docs.tatum.io/payments/plans-and-pricing).\n\n* **Get an auto-generated API key attached to API calls.**\n\n Make an API call without any API key provided. The API key will be generated and tied to your IP address.\n This API key is stored within the Tatum platform and is automatically attached to all your API calls.\n\n With the auto-generated API key:\n * You can make up to five API calls per second.\n * You get 10,000,000 credits to spend on API calls within a month.\n\n The number of credits is reset on the first day of a month. The unused credits from the current month are not\n rolled over to the next month.\n\n These limits are applied to both the testnet and mainnet.\n\n By default, API calls with the auto-generated API key are executed against the mainnet.\n To make an API call to the testnet, add the `type` query parameter set to `testnet` to the endpoint URL,\n for example:\n\n `https://api.tatum.io/v3/ledger/account?type=testnet`\n"}},"parameters":{"EthTestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of Ethereum testnet in query. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/EthTestnetType"}},"EthTestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of Ethereum testnet in header. Defaults to ethereum-sepolia. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/EthTestnetType"}},"TestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of testnet in query. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.","required":false,"schema":{"$ref":"#/components/schemas/TestnetType"}},"TestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of testnet in header. The default type is based on the currency: ethereum-sepolia for ETH, and flare-coston for FLR. This parameter is valid only for ETH or FLR invocations with a testnet API Key. For mainnet API Key, this value is ignored. The currency/chain must be specified to determine the applicable set of testnet types.","required":false,"schema":{"$ref":"#/components/schemas/TestnetType"}},"FlareTestnetTypeQuery":{"in":"query","name":"testnetType","description":"Type of Flare testnet in query. Defaults to flare-coston. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/FlareTestnetType"}},"FlareTestnetTypeHeader":{"in":"header","name":"x-testnet-type","description":"Type of Flare testnet in header. Defaults to flare-coston. For mainnet API Key, this value is ignored.","required":false,"schema":{"$ref":"#/components/schemas/FlareTestnetType"}}}}}
\ No newline at end of file
diff --git a/packages/api-client/src/generated/index.ts b/packages/api-client/src/generated/index.ts
index 0e7264c984..885b26a368 100644
--- a/packages/api-client/src/generated/index.ts
+++ b/packages/api-client/src/generated/index.ts
@@ -179,6 +179,10 @@ export type { CallKlaytnSmartContractReadMethod } from './models/CallKlaytnSmart
export type { CallOneReadSmartContractMethod } from './models/CallOneReadSmartContractMethod';
export type { CallOneSmartContractMethod } from './models/CallOneSmartContractMethod';
export type { CallOneSmartContractMethodKMS } from './models/CallOneSmartContractMethodKMS';
+export type { CallOptimismSmartContractMethod } from './models/CallOptimismSmartContractMethod';
+export type { CallOptimismSmartContractMethodCaller } from './models/CallOptimismSmartContractMethodCaller';
+export type { CallOptimismSmartContractMethodKMS } from './models/CallOptimismSmartContractMethodKMS';
+export type { CallOptimismSmartContractReadMethod } from './models/CallOptimismSmartContractReadMethod';
export type { CallPolygonSmartContractMethod } from './models/CallPolygonSmartContractMethod';
export type { CallPolygonSmartContractMethodCaller } from './models/CallPolygonSmartContractMethodCaller';
export type { CallPolygonSmartContractMethodKMS } from './models/CallPolygonSmartContractMethodKMS';
@@ -554,6 +558,18 @@ export type { Error403OneScBody } from './models/Error403OneScBody';
export type { Error403OneTxBody } from './models/Error403OneTxBody';
export type { Error403OneTxHash } from './models/Error403OneTxHash';
export type { Error403OneTxSign } from './models/Error403OneTxSign';
+export type { Error403OptimismBep20NotFound } from './models/Error403OptimismBep20NotFound';
+export type { Error403OptimismBep20Set } from './models/Error403OptimismBep20Set';
+export type { Error403OptimismBep20Unsupported } from './models/Error403OptimismBep20Unsupported';
+export type { Error403OptimismBroadcast } from './models/Error403OptimismBroadcast';
+export type { Error403OptimismErc20TxSign } from './models/Error403OptimismErc20TxSign';
+export type { Error403OptimismGasCalculation } from './models/Error403OptimismGasCalculation';
+export type { Error403OptimismGasPrice } from './models/Error403OptimismGasPrice';
+export type { Error403OptimismMnemonicPrivateKey } from './models/Error403OptimismMnemonicPrivateKey';
+export type { Error403OptimismScBody } from './models/Error403OptimismScBody';
+export type { Error403OptimismTxBody } from './models/Error403OptimismTxBody';
+export type { Error403OptimismTxHash } from './models/Error403OptimismTxHash';
+export type { Error403OptimismTxSign } from './models/Error403OptimismTxSign';
export type { Error403OrderCurrency1Balance } from './models/Error403OrderCurrency1Balance';
export type { Error403OrderCurrency1CustomerDisabled } from './models/Error403OrderCurrency1CustomerDisabled';
export type { Error403OrderCurrency1Frozen } from './models/Error403OrderCurrency1Frozen';
@@ -733,6 +749,7 @@ export type { GeneratedAddressEth } from './models/GeneratedAddressEth';
export type { GeneratedAddressFlare } from './models/GeneratedAddressFlare';
export type { GeneratedAddressMatic } from './models/GeneratedAddressMatic';
export type { GeneratedAddressOne } from './models/GeneratedAddressOne';
+export type { GeneratedAddressOptimism } from './models/GeneratedAddressOptimism';
export type { GenerateMarketplace } from './models/GenerateMarketplace';
export type { GenerateMarketplaceCelo } from './models/GenerateMarketplaceCelo';
export type { GenerateMarketplaceCeloKMS } from './models/GenerateMarketplaceCeloKMS';
@@ -853,6 +870,10 @@ export type { OneBlockCurrent } from './models/OneBlockCurrent';
export type { OneEstimateGas } from './models/OneEstimateGas';
export type { OneTx } from './models/OneTx';
export type { OneTxLog } from './models/OneTxLog';
+export type { OptimismBalance } from './models/OptimismBalance';
+export type { OptimismBlock } from './models/OptimismBlock';
+export type { OptimismEstimateGas } from './models/OptimismEstimateGas';
+export type { OptimismTx } from './models/OptimismTx';
export type { OrderBookSort } from './models/OrderBookSort';
export type { PageSize } from './models/PageSize';
export type { PendingTransaction } from './models/PendingTransaction';
@@ -1030,6 +1051,8 @@ export type { TransferNftTezos } from './models/TransferNftTezos';
export type { TransferNftTron } from './models/TransferNftTron';
export type { TransferOneBlockchain } from './models/TransferOneBlockchain';
export type { TransferOneBlockchainKMS } from './models/TransferOneBlockchainKMS';
+export type { TransferOptimismBlockchain } from './models/TransferOptimismBlockchain';
+export type { TransferOptimismBlockchainKMS } from './models/TransferOptimismBlockchainKMS';
export type { TransferPolygonBlockchain } from './models/TransferPolygonBlockchain';
export type { TransferPolygonBlockchainKMS } from './models/TransferPolygonBlockchainKMS';
export type { TransferSol } from './models/TransferSol';
@@ -1185,6 +1208,7 @@ export { MultiTokensErc1155OrCompatibleService } from './services/MultiTokensErc
export { NftErc721OrCompatibleService } from './services/NftErc721OrCompatibleService';
export { NodeRpcService } from './services/NodeRpcService';
export { NotificationSubscriptionsService } from './services/NotificationSubscriptionsService';
+export { OptimismService } from './services/OptimismService';
export { OrderBookService } from './services/OrderBookService';
export { PolygonService } from './services/PolygonService';
export { ServiceUtilsService } from './services/ServiceUtilsService';
diff --git a/packages/api-client/src/generated/models/AddMultiTokenMinter.ts b/packages/api-client/src/generated/models/AddMultiTokenMinter.ts
index 6827230c1d..9aba05345c 100644
--- a/packages/api-client/src/generated/models/AddMultiTokenMinter.ts
+++ b/packages/api-client/src/generated/models/AddMultiTokenMinter.ts
@@ -8,7 +8,7 @@ export type AddMultiTokenMinter = {
/**
* Chain to work with.
*/
- chain: 'ETH' | 'MATIC' | 'KCS' | 'KLAY' | 'CELO' | 'ONE' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'ETH' | 'MATIC' | 'KCS' | 'KLAY' | 'CELO' | 'ONE' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* Address of MultiToken token
*/
diff --git a/packages/api-client/src/generated/models/AddNftMinter.ts b/packages/api-client/src/generated/models/AddNftMinter.ts
index 43f0cb2fb2..ac1e11c4f0 100644
--- a/packages/api-client/src/generated/models/AddNftMinter.ts
+++ b/packages/api-client/src/generated/models/AddNftMinter.ts
@@ -8,7 +8,7 @@ export type AddNftMinter = {
/**
* The blockchain to work with
*/
- chain: 'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'KCS' | 'MATIC' | 'ONE' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'KCS' | 'MATIC' | 'ONE' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* The blockchain address of the NFT smart contract
*/
diff --git a/packages/api-client/src/generated/models/ApproveErc20.ts b/packages/api-client/src/generated/models/ApproveErc20.ts
index f1ad3d5d6f..5c8d771113 100644
--- a/packages/api-client/src/generated/models/ApproveErc20.ts
+++ b/packages/api-client/src/generated/models/ApproveErc20.ts
@@ -8,7 +8,7 @@ export type ApproveErc20 = {
/**
* The blockchain to work with
*/
- chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* The address of the smart contract
*/
diff --git a/packages/api-client/src/generated/models/BurnMultiToken.ts b/packages/api-client/src/generated/models/BurnMultiToken.ts
index ca10008712..f409b7a561 100644
--- a/packages/api-client/src/generated/models/BurnMultiToken.ts
+++ b/packages/api-client/src/generated/models/BurnMultiToken.ts
@@ -6,7 +6,7 @@ export type BurnMultiToken = {
/**
* Chain to work with.
*/
- chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* Address of holder
*/
diff --git a/packages/api-client/src/generated/models/BurnMultiTokenBatch.ts b/packages/api-client/src/generated/models/BurnMultiTokenBatch.ts
index 14eed50339..6a7c447920 100644
--- a/packages/api-client/src/generated/models/BurnMultiTokenBatch.ts
+++ b/packages/api-client/src/generated/models/BurnMultiTokenBatch.ts
@@ -6,7 +6,7 @@ export type BurnMultiTokenBatch = {
/**
* Chain to work with.
*/
- chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* Address of holder
*/
diff --git a/packages/api-client/src/generated/models/BurnNft.ts b/packages/api-client/src/generated/models/BurnNft.ts
index 9894e5de24..587dbef41e 100644
--- a/packages/api-client/src/generated/models/BurnNft.ts
+++ b/packages/api-client/src/generated/models/BurnNft.ts
@@ -8,7 +8,7 @@ export type BurnNft = {
/**
* The blockchain to work with
*/
- chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
+ chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
/**
* The ID of the NFT to burn
*/
diff --git a/packages/api-client/src/generated/models/CallOptimismSmartContractMethod.ts b/packages/api-client/src/generated/models/CallOptimismSmartContractMethod.ts
new file mode 100644
index 0000000000..d06cb099f0
--- /dev/null
+++ b/packages/api-client/src/generated/models/CallOptimismSmartContractMethod.ts
@@ -0,0 +1,44 @@
+/* istanbul ignore file */
+/* tslint:disable */
+/* eslint-disable */
+
+export type CallOptimismSmartContractMethod = {
+ /**
+ * The address of the smart contract
+ */
+ contractAddress: string;
+ /**
+ * Amount of the assets to be sent.
+ */
+ amount?: string;
+ /**
+ * Name of the method to invoke on smart contract.
+ */
+ methodName: string;
+ /**
+ * ABI of the method to invoke.
+ */
+ methodABI: any;
+ params: Array2 credits per API call
+ *Get an estimated gas price and the number of gas units needed for a Optimism transaction.
+ *NOTE: The estimated gas price is returned in wei. However, when making the transaction itself and providing the custom fee, you have to provide the gas price in Gwei. Make sure to convert the estimated gas price from wei to Gwei before submitting your transaction.
+ * + * @param requestBody + * @returns GasEstimated OK + * @throws ApiError + */ + public static optimismEstimateGas( + requestBody: OptimismEstimateGas, + ): CancelablePromise2 credits per API call
diff --git a/packages/api-client/src/generated/services/DataApiService.ts b/packages/api-client/src/generated/services/DataApiService.ts index e2897b2015..36e8cb0613 100644 --- a/packages/api-client/src/generated/services/DataApiService.ts +++ b/packages/api-client/src/generated/services/DataApiService.ts @@ -43,7 +43,7 @@ export class DataApiService { *You can review the code of a deployed smart contract here.
*Signing a transaction
@@ -130,6 +131,7 @@ export class FungibleTokensErc20OrCompatibleService {
*
Signing a transaction
* When minting fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Signing a transaction
* When burning fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Signing a transaction
* When allowing a blockchain address to transfer and burn fungible tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Transferring fungible tokens on Algorand
* On Algorand, the recipient has to agree in advance to receive your fungible tokens because Algorand charges users for storing the tokens on their addresses, and an Algorand blockchain address by default does not receive the tokens unless explicitly agreed. Before transferring the fungible tokens, make sure that the recipient has agreed to receive the NFT to their address.
Signing a transaction
*When deploying a Multi Token smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -114,6 +115,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When minting a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -168,6 +170,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When minting multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -222,6 +225,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When burning a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -276,6 +280,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When burning multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -331,6 +336,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When transferring a Multi Token, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -386,6 +392,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When transferring multiple Multi Tokens, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -440,6 +447,7 @@ export class MultiTokensErc1155OrCompatibleService { *Signing a transaction
*When adding a Multi Token minter, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
@@ -541,6 +549,7 @@ export class MultiTokensErc1155OrCompatibleService { *General NFT smart contracts
* By default, an NFT smart contract is deployed as a general NFT smart contract compatible with OpenSea royalties. This is a standard NFT contract with AccessControl
and Ownable
, enhanced with NFT batch minting. NFTs minted on this smart contract are compatible with OpenSea and its royalty structure.
@@ -183,6 +184,7 @@ export class NftErc721OrCompatibleService { *
Signing a transaction
* When allowing a blockchain address to mint NFTs, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Depending on what blockchain you use, choose the request body schema to use in the API call.
*For Ethereum, Celo, Flare and BNB Smart Chain, transferring NFTs invokes the safeTransfer()
method.
Transferring NFTs on Algorand
@@ -536,6 +540,7 @@ export class NftErc721OrCompatibleService { *Burning NFTs on Algorand
* You can burn only the NFTs that were minted with the address of the manager account specified in the manager
parameter in the minting call (see the MintNftExpressAlgorand
, MintNftAlgorand
, and MintNftAlgorandKMS
schemas of the request body).
{ @@ -218,6 +225,16 @@ export class NotificationSubscriptionsService { *base-mainnet / base-sepolia *500,000 credits / day * + *+ * + *Avalanche + *avalanche-mainnet / avalanche-testnet + *500,000 credits / day + *+ * * * The request body of the POST request is a JSON object with the following structure:Optimism + *optimism-mainnet / optimism-testnet + *500,000 credits / day + *
*{ @@ -289,6 +306,16 @@ export class NotificationSubscriptionsService { *base-mainnet / base-testnet *500,000 credits / day * + *+ * + *Avalanche + *avalanche-mainnet / avalanche-testnet + *500,000 credits / day + *+ * * * The request body of the POST request is a JSON object with the following structure:Optimism + *optimism-mainnet / optimism-testnet + *500,000 credits / day + *
*{ @@ -343,7 +370,7 @@ export class NotificationSubscriptionsService { ** *Flare *flare-coston / flare-coston2 / flare-songbird / flare-mainnet - *500,000 credits / day + *50,000 credits / day ** + *BNB Smart Chain @@ -360,6 +387,16 @@ export class NotificationSubscriptionsService { *base-mainnet *50,000 credits / day *+ * + *Avalanche + *avalanche-mainnet / avalanche-testnet + *50,000 credits / day + *+ * * * The request body of the POST request is a JSON object with the following structure:Optimism + *optimism-mainnet / optimism-testnet + *50,000 credits / day + *
*{ diff --git a/packages/api-client/src/generated/services/OptimismService.ts b/packages/api-client/src/generated/services/OptimismService.ts new file mode 100644 index 0000000000..fc98617414 --- /dev/null +++ b/packages/api-client/src/generated/services/OptimismService.ts @@ -0,0 +1,343 @@ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ +import type { BroadcastKMS } from '../models/BroadcastKMS'; +import type { CallOptimismSmartContractMethodCaller } from '../models/CallOptimismSmartContractMethodCaller'; +import type { CallReadSmartContractMethod } from '../models/CallReadSmartContractMethod'; +import type { CallSmartContractMethod } from '../models/CallSmartContractMethod'; +import type { CallSmartContractMethodKMS } from '../models/CallSmartContractMethodKMS'; +import type { Data } from '../models/Data'; +import type { GeneratedAddressOptimism } from '../models/GeneratedAddressOptimism'; +import type { OptimismBalance } from '../models/OptimismBalance'; +import type { OptimismBlock } from '../models/OptimismBlock'; +import type { OptimismTx } from '../models/OptimismTx'; +import type { PrivKey } from '../models/PrivKey'; +import type { PrivKeyRequest } from '../models/PrivKeyRequest'; +import type { SignatureId } from '../models/SignatureId'; +import type { TransactionHash } from '../models/TransactionHash'; +import type { TransferOptimismBlockchain } from '../models/TransferOptimismBlockchain'; +import type { TransferOptimismBlockchainKMS } from '../models/TransferOptimismBlockchainKMS'; +import type { Wallet } from '../models/Wallet'; +import type { CancelablePromise } from '../core/CancelablePromise'; +import { request as __request } from '../core/request'; + +export class OptimismService { + + /** + * Generate Optimism wallet + *1 credit per API call.
Tatum supports BIP44 HD wallets. Because they can generate 2^31 addresses from 1 mnemonic phrase, they are very convenient and secure. A mnemonic phrase consists of 24 special words in a defined order and can restore access to all generated addresses and private keys.
Each address is identified by 3 main values:
Tatum follows the BIP44 specification and generates for Optimism wallets with the derivation path m/44'/60'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki. + * Generates a BIP44 compatible Optimism wallet.
+ * + * @param mnemonic Mnemonic to use for generating extended public and private keys. + * @returns Wallet OK + * @throws ApiError + */ + public static optimismGenerateWallet( + mnemonic?: string, + ): CancelablePromiseGenerates an Optimism account deposit address from an Extended public key. The deposit address is generated for the specific index - each extended public key can generate + * up to 2^31 addresses starting from index 0 until 2^31 - 1.
+ * + * @param xpub Extended public key of wallet. + * @param index Derivation index of the address to be generated. + * @returns GeneratedAddressOptimism OK + * @throws ApiError + */ + public static optimismGenerateAddress( + xpub: string, + index: number, + ): CancelablePromiseGenerates the private key of an address from a mnemonic for a given derivation path index. The private key is generated for the specific index - each mnemonic + * can generate up to 2^32 private keys starting from index 0 until 2^31 - 1.
+ * + * @param requestBody + * @returns PrivKey OK + * @throws ApiError + */ + public static optimismGenerateAddressPrivateKey( + requestBody: PrivKeyRequest, + ): CancelablePromise2 credits per API call
+ *This endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.
Use this endpoint URL as an http-based web3 driver to connect directly to the Optimism node provided by Tatum. + * To learn more about Optimism Web3, visit the Optimism developers' guide.
+ * + * @param xApiKey Tatum X-API-Key used for authorization. + * @param requestBody + * @returns any OK + * @throws ApiError + */ + public static optimismWeb3Driver( + xApiKey: string, + requestBody: any, + ): CancelablePromiseGets the current Optimism block number. This is the number of the latest block in the blockchain.
+ * @returns number OK + * @throws ApiError + */ + public static optimismGetCurrentBlock(): CancelablePromiseGets an Optimism block-by-block hash or block number.
+ * @param hash Block hash or block number + * @returns OptimismBlock OK + * @throws ApiError + */ + public static optimismGetBlock( + hash: string, + ): CancelablePromise1 credit per API call
+ *Get the balance of OPTIMISM of an Optimism account.
+ *To get the balance of tokens, use the APIs for getting the balance of fungible tokens (ERC-20) and NFTs (ERC-721).
+ * + * @param address Account address you want to get balance of + * @returns OptimismBalance OK + * @throws ApiError + */ + public static optimismGetBalance( + address: string, + ): CancelablePromise1 credit per API call
+ *Get Optimism transaction by transaction hash.
+ * + * @param hash Transaction hash + * @returns OptimismTx OK + * @throws ApiError + */ + public static optimismGetTransaction( + hash: string, + ): CancelablePromiseGet a number of outgoing Optimism transactions for the address. When a transaction is sent, there can be multiple outgoing transactions, + * which are not yet processed by the blockchain. To distinguish between them, there is a counter called a nonce, which represents + * the order of the transaction in the list of outgoing transactions.
+ * + * @param address address + * @returns number OK + * @throws ApiError + */ + public static optimismGetTransactionCount( + address: string, + ): CancelablePromise2 credits per API call
+ *Send OPTIMISM or Tatum-supported fungible tokens (ERC-20) from account to account.
+ *NOTE: Sending the fungible tokens is supported only on the mainnet.
+ *Signing a transaction
+ * When sending OPTIMISM, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
+ *For signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
+ * + * @param requestBody + * @returns any OK + * @throws ApiError + */ + public static optimismBlockchainTransfer( + requestBody: (TransferOptimismBlockchain | TransferOptimismBlockchainKMS), + ): CancelablePromise<(TransactionHash | SignatureId)> { + return __request({ + method: 'POST', + path: `/v3/optimism/transaction`, + body: requestBody, + mediaType: 'application/json', + errors: { + 400: `Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.`, + 401: `Unauthorized. Not valid or inactive subscription key present in the HTTP Header.`, + 403: `Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.`, + 500: `Internal server error. There was an error on the server during the processing of the request.`, + }, + }); + } + + /** + * Invoke a method in a smart contract on Optimism + *2 credits per API call
+ *Invoke a method in an existing smart contract on Optimism.
+ *You can call a read-only or write method.
+ *Troubleshooting a failed transaction
+ * Tatum ensures that this API works against the blockchain (accesses the blockchain, finds the specified smart contract, and executes the specified ABI method with the provided parameters).
However, because this API can be run against any smart contract on the blockchain, Tatum cannot in any way guarantee that the method itself will be executed successfully.
If you have issues with invoking the method, refer to the user documentation for this method, or contact the author of the smart contract.
+ *For more information about invoking methods in smart contracts, see this article on our Support Portal.
+ *Signing a transaction
+ * When invoking a method in a smart contract, you are charged a fee for the transaction, and you must sign the transaction with the private key of the blockchain address from which the fee will be deducted.
If caller field is present instead of the private key, Tatum will sign the transaction with the managed private key connected to the caller address. This is applicable only for paid mainnet plans and all testnet plans. Keep in mind that the caller address must have enough access right to perform the action in the smart contract method.
+ *Providing the private key in the API is not a secure way of signing transactions, because the private key can be stolen or exposed. Your private keys should never leave your security perimeter. You should use the private keys only for testing a solution you are building on the testnet of a blockchain.
+ *For signing transactions on the mainnet, we strongly recommend that you use the Tatum Key Management System (KMS) and provide the signature ID instead of the private key in the API. Alternatively, you can use the Tatum JavaScript client.
+ * + * @param requestBody + * @returns any OK + * @throws ApiError + */ + public static optimismBlockchainSmartContractInvocation( + requestBody: (CallSmartContractMethod | CallReadSmartContractMethod | CallOptimismSmartContractMethodCaller | CallSmartContractMethodKMS), + ): CancelablePromise<(TransactionHash | SignatureId | Data)> { + return __request({ + method: 'POST', + path: `/v3/optimism/smartcontract`, + body: requestBody, + mediaType: 'application/json', + errors: { + 400: `Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.`, + 401: `Unauthorized. Not valid or inactive subscription key present in the HTTP Header.`, + 403: `Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.`, + 500: `Internal server error. There was an error on the server during the processing of the request.`, + }, + }); + } + + /** + * Broadcast signed Optimism transaction + *2 credits per API call
+ *Broadcast signed transaction to Optimism blockchain. This method is used internally from Tatum KMS or Tatum client libraries. + * It is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchain.
+ * + * @param requestBody + * @returns TransactionHash OK + * @throws ApiError + */ + public static optimismBroadcast( + requestBody: BroadcastKMS, + ): CancelablePromise