An 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.
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.
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 while processing the request.
{- "senderAccountId": "5e68c66581f2ee32bc354087",
- "address": "mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7",
- "amount": "0.001",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "senderAccountId": "5e68c66581f2ee32bc354087",
- "address": "bitcoincash:qrd9khmeg4nqag3h5gzu8vjt537pm7le85lcauzez",
- "amount": "0.001",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "senderAccountId": "5e68c66581f2ee32bc354087",
- "address": "mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7",
- "amount": "0.001",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "senderAccountId": "61b3bffddfb389cde19c73be",
- "account": "0x955cd3f17b2fd8ad",
- "address": "0x955cd3f17b2fd8ae",
- "amount": "10000",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "index": 0
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "senderAccountId": "5e68c66581f2ee32bc354087",
- "address": "mpTwPdF8up9kidgcAStriUPwRdnE9MRAg7",
- "amount": "0.001",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "privateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "senderAccountId": "5e68c66581f2ee32bc354087"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "privateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "senderAccountId": "5e68c66581f2ee32bc354087"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "fromPrivateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "senderAccountId": "5e68c66581f2ee32bc354087"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
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 while processing the request.
{- "senderAccountId": "5e68c66581f2ee32bc354087",
- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "privateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
This method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
The 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.
Newly created account is frozen until the specific ERC20 smart contract address is linked with the Tatum virtual currency, representing the token.
Order of the steps to create ERC20 smart contract with Tatum private ledger support:
symbol required | string [ 1 .. 30 ] characters ^[a-zA-Z0-9_]+$ The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain |
supply required | string <= 38 characters ^[+]?((\d+(\.\d*)?)|(\.\d+))$ The supply of the token |
decimals required | number >= 0 The number of decimal places that the token has |
description required | string [ 1 .. 100 ] characters The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain |
xpub required | string [ 1 .. 150 ] characters The extended public key of the wallet from which a deposit address for the virtual account will be generated |
derivationIndex required | integer <int32> <= 2147483647 The derivation index to use together with the extended public key to generate the deposit address |
basePair required | string (FiatOrCryptoCurrency) The base pair for the virtual currency that represents the token; used to calculate the value of a transaction |
baseRate | number >= 0 Default: 1 The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of |
object (CustomerRegistration) 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. | |
accountingCurrency | string (FiatCurrency) Default: "USD" The ISO 4217 code of the currency in which all transactions for the created virtual account will be billed |
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 while processing the request.
{- "symbol": "MY_TOKEN",
- "supply": "1000000.0",
- "decimals": 8,
- "description": "My Public Token",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid",
- "derivationIndex": 0,
- "basePair": "AED"
}
{- "accountId": "5e68c66581f2ee32bc354087",
- "address": "0xa7673161CbfE0116A4De9E341f8465940c2211d4"
}
4 credits per API call
Deploy an Ethereum ERC-20 smart contract. This is a helper method, which is combination of Register new ERC20 token in the ledger and Deploy blockchain ERC20.
After 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.
Signing a transaction
When 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.
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.
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 while processing the request.
{- "symbol": "MY_TOKEN",
- "supply": "10000000",
- "description": "My Public Token",
- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "index": 0,
- "basePair": "AED"
}
{- "accountId": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9"
}
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.
nonce | number >= 0 The nonce to be set to the transaction; if not present, the last known nonce will be used |
address required | string = 42 characters Blockchain address to send assets |
amount required | string <= 38 characters ^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent. |
compliant | boolean Compliance check, if withdrawal is not compliant, it will not be processed. |
privateKey required | string = 66 characters Private key of sender address. Either mnemonic and index, privateKey or signature Id must be present - depends on the type of account and xpub. |
paymentId | string [ 1 .. 100 ] characters Identifier of the payment, shown for created Transaction within Tatum sender account. |
senderAccountId required | string = 24 characters Sender account ID |
senderNote | string [ 1 .. 500 ] characters Note visible to owner of withdrawing account |
gasLimit | string^[+]?\d+$ Gas limit for transaction in gas price. If not set, automatic calculation will be used. |
gasPrice | string^[+]?\d+$ Gas price in Gwei. If not set, automatic calculation will be used. |
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 while processing the request.
{- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "privateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "senderAccountId": "5e68c66581f2ee32bc354087"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
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.
This method only creates Tatum Private ledger virtual currency with predefined parameters. It will not generate any blockchain smart contract.
The 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.
Newly created account is frozen until the specific BEP20 smart contract address is linked with the Tatum virtual currency, representing the token.
Order of the steps to create BEP20 smart contract with Tatum private ledger support:
symbol required | string [ 1 .. 30 ] characters ^[a-zA-Z0-9_]+$ The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain | ||||||||
supply required | string <= 38 characters ^[+]?((\d+(\.\d*)?)|(\.\d+))$ The supply of the token | ||||||||
decimals required | number >= 0 The number of decimal places that the token has | ||||||||
description required | string [ 1 .. 100 ] characters The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain | ||||||||
xpub required | string [ 1 .. 150 ] characters The extended public key of the wallet from which a deposit address for the virtual account will be generated | ||||||||
derivationIndex required | integer <int32> <= 2147483647 The derivation index to use together with the extended public key to generate the deposit address | ||||||||
basePair required | string (FiatOrCryptoCurrency) The base pair for the virtual currency that represents the token; used to calculate the value of a transaction | ||||||||
baseRate | number >= 0 Default: 1 The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of | ||||||||
object (CustomerRegistration) 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. | |||||||||
| |||||||||
accountingCurrency | string (FiatCurrency) Default: "USD" The ISO 4217 code of the currency in which all transactions for the created virtual account will be billed |
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 while processing the request.
{- "symbol": "MY_TOKEN",
- "supply": "1000000.0",
- "decimals": 8,
- "description": "My Public Token",
- "xpub": "xpub6EsCk1uU6cJzqvP9CdsTiJwT2rF748YkPnhv5Qo8q44DG7nn2vbyt48YRsNSUYS44jFCW9gwvD9kLQu9AuqXpTpM1c5hgg9PsuBLdeNncid",
- "derivationIndex": 0,
- "basePair": "AED"
}
{- "accountId": "5e68c66581f2ee32bc354087",
- "address": "0xa7673161CbfE0116A4De9E341f8465940c2211d4"
}
4 credits per API call
Deploy a BNB Smart Chain BEP-20 smart contract. This is a helper method, which is combination of Register new BEP20 token in the ledger and Deploy blockchain ERC20.
After 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.
Signing a transaction
When 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.
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.
symbol required | string [ 1 .. 30 ] characters ^[a-zA-Z0-9_]+$ The name of the token; used as an identifier within the Tatum platform and as a currency symbol on the blockchain | ||||||||
supply required | string <= 38 characters ^[+]?((\d+(\.\d*)?)|(\.\d+))$ The supply of the token | ||||||||
description required | string [ 1 .. 100 ] characters The description of the token; used as a description within the Tatum platform and as a currency name on the blockchain | ||||||||
address required | string = 42 characters The blockchain address to be assigned to the virtual account as a deposit address | ||||||||
mnemonic required | string [ 1 .. 500 ] characters 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 | ||||||||
index required | integer <= 2147483647 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 | ||||||||
basePair required | string (FiatOrCryptoCurrency) The base pair for the virtual currency that represents the token; used to calculate the value of a transaction | ||||||||
baseRate | number >= 0 Default: 1 The exchange rate for the base pair; one unit of the created virtual currency equals 1 unit of | ||||||||
nonce | number >= 0 The nonce to be set to the transaction; if not present, the last known nonce will be used | ||||||||
object (CustomerRegistration) 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. | |||||||||
|
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 while processing the request.
{- "symbol": "MY_TOKEN",
- "supply": "10000000",
- "description": "My Public Token",
- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "mnemonic": "urge pulp usage sister evidence arrest palm math please chief egg abuse",
- "index": 0,
- "basePair": "AED"
}
{- "accountId": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9"
}
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.
nonce | number >= 0 The nonce to be set to the transaction; if not present, the last known nonce will be used |
address required | string = 42 characters Blockchain address to send assets |
amount required | string <= 38 characters ^[+]?((\d+(\.\d*)?)|(\.\d+))$ Amount to be sent in Ether | MATIC | XDC | KCS. |
compliant | boolean Compliance check, if withdrawal is not compliant, it will not be processed. |
privateKey required | string = 66 characters Private key of sender address. Either mnemonic and index, privateKey or signature Id must be present - depends on the type of account and xpub. |
paymentId | string [ 1 .. 100 ] characters Identifier of the payment, shown for created Transaction within Tatum sender account. |
senderAccountId required | string = 24 characters Sender account ID |
senderNote | string [ 1 .. 500 ] characters Note visible to owner of withdrawing account |
gasLimit | string^[+]?\d+$ Gas limit for transaction in gas price. If not set, automatic calculation will be used. |
gasPrice | string^[+]?\d+$ Gas price in Gwei. If not set, automatic calculation will be used. |
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 while processing the request.
{- "address": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "amount": "100000",
- "privateKey": "0x687422eEA2cB73B5d3e242bA5456b782919AFc85",
- "senderAccountId": "5e68c66581f2ee32bc354087"
}
{- "id": "5e68c66581f2ee32bc354087",
- "txId": "c83f8818db43d9ba4accfe454aa44fc33123d47a4f89d47b314d6748eb0e9bc9",
- "completed": true
}
4 credits per API call
Deploy a Klaytn ERC-20-equivalent smart contract. This is a helper method, which is combination of Register new ERC20 token in the ledger and Deploy blockchain ERC20.
After 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.
Signing a transaction
When 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.
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.