Qtum is a cryptocurrency that combines properties of bitcoin and ethereum. It uses a UTXO-based smart contract system with a proof-of-stake (PoS) consensus model. Qtum is designed to be suitable for use by large organizations.
Tatum supports 2 chains:
Generate QTUM account deposit address from Extended public key. 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.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/address/{xpub}/{i}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "address": "0xa7673161CbfE0116A4De9E341f8465940c2211d4"
}
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 QTUM wallet with derivation path m/44'/2301'/0'/0. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki.
Generate BIP44 compatible Qtum wallet.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/wallet?mnemonic=string' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"
}
Get QTUM current block number. This is the number of the latest block in the blockchain.
OK
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ https://api-eu1.tatum.io/v3/qtum/block/current \ -H 'x-api-key: YOUR_API_KEY_HERE'
"cdb5598c06ae670b70cd9502c6cb696cfa3bf298ac6b904892e877c364821330"
Get BSC block by block hash or block number.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/block/{hash}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "hash": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "confirmations": 0,
- "size": 0,
- "height": 0,
- "version": 0,
- "merkleroot": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "tx": [
- "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326"
], - "time": 0,
- "nonce": 0,
- "bits": "",
- "difficulty": "",
- "chainwork": "",
- "previousblockhash": "0bc6703c708cc6fc5f7caee6f967e15261c2b28fb8939a5345e783bb69348ba4",
- "nextblockhash": "0bc6703c708cc6fc5f7caee6f967e15261c2b28fb8939a5345e783bb69348ba4",
- "flags": "",
- "reward": 0,
- "isMainChain": true,
- "minedBy": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "poolInfo": { }
}
Generate Address by private key
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/address/{key}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
"qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA"
Get UTXOS by address
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/utxo/{address}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
[- {
- "address": "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA",
- "txid": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "vout": 0,
- "scriptPubKey": "4104f5eeb2b10c944c6b9fbcfff94c35bdeecd93df977882babc7f3a2cf7f5c81d3b09a68db7f0e04f21de5d4230e75e6dbe7ad16eefe0d4325a62067dc6f369446aac",
- "amount": 0,
- "satoshis": 0,
- "isStake": false,
- "height": 1200,
- "confirmations": 0
}
]
Get QTUM account balance in QTUM tokens on an account.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/account/balance/{address}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "addrStr": "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA",
- "balance": 0,
- "balanceSat": 0,
- "totalReceived": 0,
- "totalReceivedSat": 0,
- "totalSet": 0,
- "totalSentSat": 0,
- "unconfirmedBalance": 0,
- "unconfirmedBalanceSat": 0,
- "unconfirmedTxApperances": 0,
- "txApperances": 0,
- "transactions": [
- "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326"
]
}
Get QTUM transaction by transaction hash.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/transaction/{hash}' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "txid": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "version": 0,
- "locktime": 0,
- "receipt": 0,
- "vin": [
- {
- "value": 0,
- "script": ""
}
], - "vout": [
- {
- "value": 0,
- "address": "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA",
- "script": "",
- "scriptPubKey": {
- "hex": "",
- "asm": "",
- "addresses": [
- "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA"
]
}
}
], - "confirmations": 0,
- "time": 1626959613,
- "valueOut": 0,
- "valueIn": 0,
- "fees": 0,
- "blockhash": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "blockheight": 0,
- "isqrc20Transfer": false
}
Get QTUM paginated transactions by address.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server during the processing of the request.
curl -i -X GET \ 'https://api-eu1.tatum.io/v3/qtum/transactions/address/{address}?pageSize=20&offset=0' \ -H 'x-api-key: YOUR_API_KEY_HERE'
{- "pagesTotal": 150,
- "txns": [
- {
- "txid": "53faa103e8217e1520f5149a4e8c84aeb58e55bdab11164a95e69a8ca50f8fcc",
- "version": 0,
- "locktime": 1626959613,
- "receipt": [
- {
- "blockHash": "0bc6703c708cc6fc5f7caee6f967e15261c2b28fb8939a5345e783bb69348ba4",
- "blockNumber": 0,
- "transactionHash": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "transactionIndex": 0,
- "from": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "to": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "cumulativeGasUsed": "",
- "gasUsed": "0",
- "contractAddress": "0x94Ce79B9F001E25BBEbE7C01998A78F7B27D1326",
- "excepted": "",
- "log": [
- ""
]
}
], - "vin": [
- {
- "value": 0,
- "script": ""
}
], - "vout": [
- {
- "value": 0,
- "address": "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA",
- "script": "",
- "scriptPubKey": {
- "hex": "",
- "asm": "",
- "addresses": [
- "qWpEineYmtc2Ea25GqDYhvuzCjTiu5hMYA"
]
}
}
], - "confirmations": 6,
- "time": 1626959613,
- "valueOut": 0,
- "valueIn": 1,
- "fees": 1,
- "blockhash": "0bc6703c708cc6fc5f7caee6f967e15261c2b28fb8939a5345e783bb69348ba4",
- "blockheight": 100,
- "isqrc20Transfer": true
}
]
}
Broadcast signed transaction to QTUM blockchain. This method is used internally from Tatum KMS, Tatum Middleware or Tatum client libraries. It is possible to create custom signing mechanism and use this method only for broadcasting data to the blockchian.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.
Internal server error. There was an error on the server during the processing of the request.
{- "txData": "62BD544D1B9031EFC330A3E855CC3A0D51CA5131455C1AB3BCAC6D243F65460D",
- "signatureId": "1f7f7c0c-3906-4aa1-9dfe-4b67c43918f6"
}
{- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "failed": false
}
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 Qtum wallet with derivation path defined by QTUM. More about BIP44 HD wallets can be found here - https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki. Generate BIP44 compatible QTUM wallet.
OK
Bad Request. Validation failed for the given object in the HTTP Body or Request parameters.
Unauthorized. Not valid or inactive subscription key present in the HTTP Header.
Internal server error. There was an error on the server during the processing of the request.
{- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "index": 0
}
"cNR1n1EuzzaWHD7xcmAo71mwxyVV3uJUbLoamQFiXzaJhjTfCF2P"