diff --git a/conf/mainnet/node.sqlite.properties b/conf/mainnet/node.sqlite.properties index 2d90ad2b0..8cf4f2923 100644 --- a/conf/mainnet/node.sqlite.properties +++ b/conf/mainnet/node.sqlite.properties @@ -12,7 +12,21 @@ DB.Optimize = on ## WAL may occupy up to twice more disc space than others while running the node, but allows read concurrency and usually better performance (see more here: https://www.sqlite.org/wal.html) ## It's highly recommended to use WAL mode during syncing, to dramatically reduce I/O operations and though faster sync times. ## Info: MEMORY journal mode is not supported -DB.SqliteJournalMode = WAL +# DB.SqliteJournalMode = WAL + +## Sqlite synchronous +## https://www.sqlite.org/pragma.html#pragma_synchronous +## Lowering this parameter can increase performance, but decrease reliability. +## FULL (default) is the safest, but NORMAL should be also fine for running a local node. +## Setting this to OFF could lead to database corruption on opertaing system crash or power loss! +# DB.SqliteSynchronous = NORMAL + +## Sqlite cache_size +## https://www.sqlite.org/pragma.html#pragma_cache_size +## Positive value sets the number of cache pages to use (default page size is 4096 bytes). +## Negative value sets the number of cache pages, so it would use approximately N * 1024 bytes of memory. +## Increasing this the number of cache pages can increase performance at the cost of memory usage. +# DB.SqliteCacheSize = -2000 # Database connection JDBC url DB.Url=jdbc:sqlite:file:./db/signum.sqlite.db diff --git a/conf/node-default.properties b/conf/node-default.properties index ddcb747d9..60468fb02 100644 --- a/conf/node-default.properties +++ b/conf/node-default.properties @@ -30,10 +30,10 @@ #### DATABASE BACKEND SELECTION #### ## We are using the H2 file based as default with no username/password. - # DB.Url=jdbc:h2:file:./db/signum-v2;DB_CLOSE_ON_EXIT=FALSE -# DB.Username= -# DB.Password= + +## If you want to use Sqlite: +# DB.Url=jdbc:sqlite:file:./db/signum.sqlite.db ## If you want to use MariaDB: diff --git a/html/api-doc/signum-api.json b/html/api-doc/signum-api.json index 8dcbfaa63..b970f195b 100644 --- a/html/api-doc/signum-api.json +++ b/html/api-doc/signum-api.json @@ -1 +1 @@ -{"openapi":"3.0.3","info":{"title":"Signum Node API","version":"3.8.0","description":"This is the API documentation of the Signum Node"},"paths":{"/api?requestType=addCommitment":{"post":{"summary":"Add Commitment","description":"Adds commitment to improve mining power. The commitment will be blocked, but never leave your account.
Read more about mining on the [official Signum Site](https://signum.network/mining) and on the [community wiki](https://wiki.signum.network/signum-mining/#commitment).
See also [removeCommitment](#get-/api-requestType-removeCommitment) ","tags":["account","mining"],"parameters":[{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=removeCommitment":{"post":{"summary":"Remove Commitment","description":"Remove commitment. The commitment gets unblocked, and will be available for free use. Removing commitment is only possible after 1440 blocks after last mined block.
Read more about mining on the [official Signum Site](https://signum.network/mining) and on the [community wiki](https://wiki.signum.network/signum-mining/#commitment).
See also [addCommitment](#get-/api-requestType-addCommitment) ","tags":["account","mining"],"parameters":[{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=setRewardRecipient":{"post":{"summary":"Set Reward Recipient (Join Pool)","description":"Sets another account to receive your mining reward. This feature is necessary when you want mine in a pool. The recipient is the address of the pool.
Read more about mining on the [official Signum Site](https://signum.network/mining) and on the [community wiki](https://wiki.signum.network/signum-mining)","tags":["account","mining"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sendMoney":{"post":{"summary":"Send Signa","description":"Sends Signa to another account. This is the most basic send operation and sends a single amount to another account. Of course, you can attach additional message or data to this transactions.","tags":["payment"],"parameters":[{"$ref":"#/components/parameters/recipient"},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sendMoneyMulti":{"post":{"summary":"Send Signa To Many","description":"Sends different amounts of Signa to up to 64 recipients. As this operation occupies the attachment section no further attachments, like messages are possible","tags":["payment"],"parameters":[{"name":"recipients","in":"query","allowEmptyValue":false,"required":true,"description":"A list of (numericIds:amountNQT)-tuples. You can have at maximum 64 entries. __Attention: Duplicated addresses make this transaction fail__","schema":{"type":"string","pattern":"(\\d+:\\d+;?){1,64}$"},"example":["16107620026796983538:10000000000;2402520554221019656:12000000000"]},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sendMoneyMultiSame":{"post":{"summary":"Send Same Signa To Many","description":"Sends the same amount of Signa to up to 128 account. As this operation occupies the attachment section no further attachments, like messages are possible","tags":["payment"],"parameters":[{"name":"recipients","in":"query","allowEmptyValue":false,"required":true,"description":"A list of account Ids. You can have at maximum 128 entries. __Attention: Duplicated addresses make this transaction fail__","schema":{"type":"string","pattern":"d+{1,128}$"},"example":["16107620026796983538;2402520554221019656"]},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sendMoneySubscription":{"post":{"summary":"Create subscription","description":"Sends Signa to another account at recurring frequency. See also [Cancel Subscription](#post-/api-requestType-subscriptionCancel)","tags":["payment"],"parameters":[{"$ref":"#/components/parameters/recipient"},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"name":"frequency","in":"query","description":"The frequency of the payment in seconds, e.g. per day is 86400 seconds, per month is 2592000 seconds. If no balance is available the subscription halts.","schema":{"type":"integer","format":"int32","minimum":3600},"example":[86400,2592000]},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sendMessage":{"post":{"summary":"Send Message","description":"Sends a plain or P2P encrypted message to another account. The message can be either a textual message or binary data in form of a hexadecimal string.
In contrast to [Send Signa](#post-/api-requestType-sendMoney) you don't have to send any amount, but the fee only. The fee depends on the amount of characters you send, and can be between 0.01 and 0.06 Signa.","tags":["payment"],"parameters":[{"$ref":"#/components/parameters/recipient"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=subscriptionCancel":{"post":{"summary":"Cancel subscription","description":"Cancels a running subscription. See also [Create Subscription](#post-/api-requestType-sendMoneySubscription)","tags":["payment"],"parameters":[{"name":"subscription","in":"query","description":"The subscription identifier. See [getAccountSubscriptions]()","schema":{"type":"integer","format":"int64"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=setAccountInfo":{"post":{"summary":"Set Account Information","description":"Add or edit your accounts name and description.","tags":["account"],"parameters":[{"name":"name","in":"query","required":true,"allowEmptyValue":true,"description":"Set an arbitrary name for your account. This will show up in diverse tools of the ecosystem. This name is not unique!","schema":{"type":"string"}},{"name":"description","in":"query","required":true,"allowEmptyValue":false,"description":"Set an arbitrary description.","schema":{"type":"string","maxLength":1000}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=signTransaction":{"post":{"summary":"Sign Transaction","description":"Signs a transaction, which can be [broadcast](#post-/api-requestType-broadcastTransaction) to the network then. This is merely a low-level API endpoint.
To get an _unsigned_ transaction object you use your public key to post transactions instead of your passphrase.","tags":["utility"],"parameters":[{"name":"unsignedTransactionBytes","description":"The _unsigned_ transaction bytes in hexadecimal representation.","required":true,"in":"query","schema":{"$ref":"#/components/schemas/hexString"}},{"name":"unsignedTransactionJSON","description":"The _unsigned_ transaction and _stringified_ JSON object. It's recommended to use the `unsignedTransactionBytes` instead.","in":"query","schema":{"type":"string"}},{"$ref":"#/components/parameters/secretPhrase"}],"responses":{"200":{"description":"Signed Transaction Response. Use the returned `transactionBytes` with [broadcastTransaction](#post-/api-requestType-broadcastTransaction)","content":{"application/json":{"schema":{"type":"object","description":"The signed transaction response","required":["transaction","transactionBytes","fullHash","signatureHash","verify"],"example":{"transaction":"17286979857310322585","fullHash":"998f500297b0e7ef9e4e1c18ac7921c74d76a1aabded8c36972896f8d444a2b5","transactionBytes":"00203c3af80e1800c213e4144ba84af94aae2458308fae1f0cb0838...","signatureHash":"a645cb3cc93176dda1b9bc172c53449dc42b2c27100b5754f70c1eb84b491230","verify":true},"properties":{"transaction":{"$ref":"#/components/schemas/transactionId"},"fullHash":{"$ref":"#/components/schemas/hash"},"transactionBytes":{"$ref":"#/components/schemas/hexString"},"signatureHash":{"$ref":"#/components/schemas/hash"},"verify":{"type":"boolean","description":"Indicates whether the transaction could be verified or not."}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=broadcastTransaction":{"post":{"summary":"Broadcast Transaction","description":"Sends a _signed_ transaction to the network. This is merely a low-level API endpoint","tags":["utility"],"parameters":[{"name":"transactionBytes","description":"The _signed_ transaction bytes in hexadecimal representation","required":true,"in":"query","schema":{"$ref":"#/components/schemas/hexString"}},{"name":"transactionTransactionJSON","description":"The _signed_ transaction and _stringified_ JSON object. It's recommended to use the `transactionBytes` instead.","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Broadcast Transaction Response","content":{"application/json":{"schema":{"type":"object","description":"The broadcast transaction response","required":["numberPeersSentTo","transaction","fullHash"],"example":{"numberPeersSentTo":15,"transaction":"17286979857310322585","fullHash":"998f500297b0e7ef9e4e1c18ac7921c74d76a1aabded8c36972896f8d444a2b5"},"properties":{"transaction":{"$ref":"#/components/schemas/transactionId"},"fullHash":{"$ref":"#/components/schemas/hash"},"numberPeersSentTo":{"type":"integer","format":"int32"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=parseTransaction":{"post":{"summary":"Parse Transaction Bytes","description":"Parses a _signed_ and/or _unsigned_ transaction bytes and returns as JSON object. This is merely a low-level API endpoint.","tags":["utility"],"parameters":[{"name":"transactionBytes","description":"The _signed_ and/or _unsigned_ transaction bytes in hexadecimal representation.","required":true,"in":"query","schema":{"$ref":"#/components/schemas/hexString"}}],"responses":{"200":{"description":"The parsed JSON object of the transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/transaction"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=backupDB":{"post":{"summary":"⚠️ Backup Database","description":"This allows you to dump the database in a file. __Attention: This is a very long running operation__","tags":["admin"],"parameters":[{"name":"filename","in":"query","required":true,"description":"The name of the resulting file","schema":{"type":"string"}},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"$ref":"#/components/responses/empty"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=popOff":{"post":{"summary":"⚠️ Pop off Transactions","description":"This allows to remove up to 1440 most recent transactions in the nodes database. Use this to get your database in sync with network when you are on a fork. __Attention: This operation can take some minutes__","tags":["admin"],"parameters":[{"name":"numBlocks","description":"The amount of blocks to be removed","in":"query","schema":{"type":"integer","minimum":0,"maximum":1440}},{"name":"height","description":"The block height to which it should be reset. Only block heights which are at maximum 1440 blocks in the past","in":"query","schema":{"type":"integer","format":"int32"}},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"$ref":"#/components/responses/empty"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=clearUnconfirmedTransactions":{"post":{"summary":"⚠️ Clear Unconfirmed Transactions","description":"Prunes unconfirmed transactions.","tags":["admin"],"parameters":[{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"$ref":"#/components/responses/empty"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=fullReset":{"post":{"summary":"⚠️ Full Node Reset","description":"Resets the node and forces a resync.","tags":["admin"],"parameters":[{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"$ref":"#/components/responses/empty"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=issueAsset":{"post":{"summary":"Issue Token","description":"Issues a new token. Tokens can be issued as _mintable_ that is they have no fixed supply and the supply can be [increased by the creator](#post-/api-requestType-mintAsset) of this token
Mind, that issuing a token has [elevated fees involved](https://github.com/signum-network/SIPs/blob/master/SIP/sip-31.md#specification), i.e. 150 Signa.","tags":["token"],"parameters":[{"name":"name","in":"query","required":true,"allowEmptyValue":false,"description":"The tokens name and also its ticker symbol. You can only use up to ten alphanumeric characters and no special chars","schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,10}$"}},{"name":"description","in":"query","description":"Any arbitrary description up to 1000 characters length.","schema":{"type":"string","maxLength":1000}},{"$ref":"#/components/parameters/quantityQNT"},{"name":"decimals","in":"query","description":"The number of decimals for this token.
If you issue a token with 2 decimals, then it can be fractioned in per hundreds, i.e. 0.01. To have an integral token you need to consider the decimals. So, one token is a quantity of 100","schema":{"type":"integer","minimum":0,"maximum":8}},{"name":"mintable","in":"query","description":"Set the token mintable, i.e. allow a dynamic supply (potentially inflationary), or define a fixed supply (deflationary)","schema":{"type":"boolean"},"example":[true,false]},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=mintAsset":{"post":{"summary":"Mint Token","description":"Adds more supply to a token (called minting). The fees for minting are as low as for any common transaction. To burn tokens simply [send tokens](#post-/api-requestType-transferAsset) to the Burn Address `0` (`S-2222-2222-2222-22222`)","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/quantityQNT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=addAssetTreasuryAccount":{"post":{"summary":"Add Treasury Account","description":"Adds/Marks an account as treasury account.When marking an account as treasury account, the accounts token balance will not be considered for circulating supply and is also not eligible for token distribution.
This operation is not revertible!
See also [the specification](https://github.com/signum-network/SIPs/blob/master/SIP/sip-33.md#define-treasury-accounts)","tags":["token"],"parameters":[{"name":"recipient","in":"query","allowEmptyValue":false,"required":true,"description":"The accounts address that should be marked as treasury account.","schema":{"$ref":"#/components/schemas/address"}},{"name":"referencedTransactionFullHash","in":"query","allowEmptyValue":false,"required":true,"description":"Use this field to reference to the tokens issue transaction hash. This is the way to link to the asset!
Mind, that tokens issued by Smart Contracts cannot have treasury accounts due to the absence of signing keys for Smart Contracts.","schema":{"$ref":"#/components/schemas/hash"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=distributeToAssetHolders":{"post":{"summary":"Distribute To Token Holders","description":"This function distributes Signa __and/or__ Tokens to token holders (excluding treasury accounts).

This method efficiently runs a proportional distribution to token holders at a speed of approx. 1.2M payouts per block.
See also [the specification](https://github.com/signum-network/SIPs/blob/master/SIP/sip-33.md#payment-to-token-holders)","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"name":"quantityMinimumQNT","in":"query","allowEmptyValue":false,"description":"The minimum quantity of tokens a holder needs to be eligible for distribution","schema":{"$ref":"#/components/schemas/quantity"}},{"name":"amountNQT","in":"query","allowEmptyValue":false,"description":"The _total_ amount in Signa to be distributed to the token holders.
Once distributed, you can get the individual payout per account using [Get Distribution Amount](#post-/api-requestType-distributeToAssetHolders)","schema":{"$ref":"#/components/schemas/amount"}},{"name":"assetToDistribute","in":"query","allowEmptyValue":false,"description":"The token that shall be distributed.
Mind that it's possible to distribute either a token, Signa, or both together.","schema":{"$ref":"#/components/schemas/assetId"}},{"name":"quantityQNT","in":"query","allowEmptyValue":false,"description":"The _total_ quantity of the token (from `assetToDistribute`) to be distributed","schema":{"$ref":"#/components/schemas/quantity"}},{"name":"feeNQT","in":"query","allowEmptyValue":false,"description":"To distribute tokens to holder a special fee [calculation applies](https://github.com/signum-network/SIPs/blob/master/SIP/sip-33.md#payment-to-token-holders), i.e. `0.01 + (0.001 * number of eligble recipients)` Signa.
To calculate the fee you may use [Get Token](#get-/api-requestType-getAsset) with your minimum and use `numberOfAccounts` from the response.","schema":{"$ref":"#/components/schemas/amount"}},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=transferAsset":{"post":{"summary":"Transfer Token","description":"Transfer token quantities to another account. To burn a token simply [send tokens](#post-/api-requestType-transferAsset) to the Burn Address `0` (`S-2222-2222-2222-22222`)","tags":["token"],"parameters":[{"$ref":"#/components/parameters/recipient"},{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/quantityQNT"},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=transferAssetMulti":{"post":{"summary":"Transfer Multiple Tokens","description":"Transfer multiple tokens to another account.","tags":["token"],"parameters":[{"name":"assetIdsAndQuantities","in":"query","allowEmptyValue":false,"required":true,"description":"A list of up to 4 assetId and quantities tuples separated by `;`. The tuples themselves are separated by `:`,i.e. \"assetId1:quantity1;assetId2:quantity2\"","schema":{"type":"string","pattern":"^(\\d+;?){1,4}$"},"example":"12402415494995249540:10000;11955007191311588286:100"},{"$ref":"#/components/parameters/recipient"},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=transferAssetOwnership":{"post":{"summary":"Transfer Token Ownership","description":"Transfers the tokens ownership to another account, such that the new owner can mint tokens and/or set treasury accounts, and transfer ownership also. One can only transfer the ownership, if s/he is the current owner. Fee is 150 SIGNA","tags":["token"],"parameters":[{"$ref":"#/components/parameters/recipient"},{"name":"referencedTransactionFullHash","in":"query","allowEmptyValue":false,"required":true,"description":"This has to be the full hash of the issuance transaction from the targeted token/asset.","schema":{"$ref":"#/components/schemas/hash"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=placeAskOrder":{"post":{"summary":"Place Ask Order (Sell Token)","description":"Places an Ask Order (as an intent to __sell__ a token) for a specific token on the native on-chain token exchange. See also [Cancel Ask Order]() or [getAskOrders]()","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/quantityQNT"},{"$ref":"#/components/parameters/priceNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=cancelAskOrder":{"post":{"summary":"Cancel Ask Order (Cancel Sale)","description":"Cancels a pending Ask Order. See also [Place Ask Order]() or [getAskOrders]()","tags":["token"],"parameters":[{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=placeBidOrder":{"post":{"summary":"Place Bid Order (Buy Token)","description":"Places an Bid Order (as an intent to __buy__ a token) for a specific token on the native on-chain token exchange. See also [Cancel Bid Order]() or [getBidOrders]()","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/quantityQNT"},{"$ref":"#/components/parameters/priceNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=cancelBidOrder":{"post":{"summary":"Cancel Bid Order (Cancel Buy)","description":"Cancels a pending Bid Order. See also [Place Bid Order]() or [getBidOrders]()","tags":["token"],"parameters":[{"$ref":"#/components/parameters/order"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=setAlias":{"post":{"summary":"Set Alias","description":"Create or edit an alias. An alias allows to have __mutable__ content (up to 1000 chars), i.e. you can use this as an on-chain Name Service, or other interesting things. Additionally, it's possible to trade aliases!","tags":["alias"],"parameters":[{"name":"aliasName","in":"query","required":true,"description":"If not exists already, you create an alias with the given __unique__ name. If you are the owner of the alias, then you can update the content. - Like a database _upsert_ operation.","schema":{"type":"string","maxLength":100,"pattern":"^[a-zA-Z0-9_]{1,100}$"}},{"name":"tld","in":"query","required":false,"allowEmptyValue":true,"description":"You can set an alias for a specific namespace aka TLD. The default (if left empty) is `signum`, but you can either acquire [your own TLD](https://github.com/signum-network/SIPs/blob/master/SIP/sip-48.md#custom-stld), or use one of the [freely available](https://github.com/signum-network/SIPs/blob/master/SIP/sip-48.md#stld-signum-top-level-domains).","schema":{"type":"string","maxLength":40,"pattern":"^[a-zA-Z0-9]{1,40}$"}},{"name":"aliasURI","in":"query","required":true,"allowEmptyValue":true,"description":"Sets/Updates the arbitrary _content_ of this alias.
Historically, the alias system was considered for Name Service operations only, that's why it is called URI.
The legacy format for account aliases is `acct:@burst`. You may check for that format for legacy account aliases","schema":{"type":"string","maxLength":1000}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=sellAlias":{"post":{"summary":"Sell Alias","description":"Sets an alias for sale. Once on sale others can [buy the alias](#post-/api-requestType-buyAlias).","tags":["alias"],"parameters":[{"$ref":"#/components/parameters/alias"},{"name":"aliasName","in":"query","allowEmptyValue":true,"description":"Instead of `alias` you can use the alias' name also. But then you need to specify `tld` also, if it is different from default TLD `signum`","schema":{"type":"string","maxLength":100}},{"$ref":"#/components/parameters/tld"},{"name":"recipient","in":"query","allowEmptyValue":false,"description":"You can specify a single buyer. This buyer will get a notification, that you are willing to sell this alias exclusively to him/her. Otherwise, your alias can be bought by everyone","schema":{"$ref":"#/components/schemas/address"}},{"name":"priceNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The amount you want for the alias.","schema":{"$ref":"#/components/schemas/amount"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/recipientPublicKey"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=buyAlias":{"post":{"summary":"Buy Alias","description":"Buy an alias that is [on sale](#post-/api-requestType-sellAlias).","tags":["alias"],"parameters":[{"$ref":"#/components/parameters/alias"},{"name":"aliasName","in":"query","allowEmptyValue":true,"description":"Instead of `alias` you can use the alias' name also. But then you need to specify `tld` also, if it is different from default TLD `signum`","schema":{"type":"string","maxLength":100}},{"$ref":"#/components/parameters/tld"},{"name":"amountNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The amount you want to pay for the alias, but must be at least the minimum price asked for.","schema":{"$ref":"#/components/schemas/amount"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=submitNonce":{"post":{"summary":"Submit Nonce","description":"Submits a nonce trying to validate a block. This is _the_ endpoint for (solo) miners","tags":["mining"],"parameters":[{"$ref":"#/components/parameters/secretPhrase"},{"name":"blockheight","in":"query","allowEmptyValue":false,"required":true,"description":"The block height for the submitted nonce.","schema":{"type":"integer","format":"int32"}},{"name":"nonce","in":"query","allowEmptyValue":false,"required":true,"description":"The nonce","schema":{"type":"integer","format":"int64"}},{"name":"accountId","in":"query","allowEmptyValue":false,"description":"Instead of sending the passphrase you can send the accountId. The account id must be allowed in the configuration of the node.","schema":{"type":"integer","format":"int64"}}],"responses":{"default":{"description":"This is the generic response","content":{"application/json":{"schema":{"type":"object","required":["result","deadline"],"example":{"result":"success","deadline":12453},"properties":{"result":{"type":"string","description":"\"success\" in case of successful submission, otherwise a detailed message of what went wrong"},"errorCode":{"type":"integer","description":"The calculated deadline for the submission"}}}}}}}}},"/api?requestType=createATProgram":{"post":{"summary":"Publish Smart Contract","description":"Publishes/Deploys a Smart Contract.
Read more about smart contracts on the [official Signum Site](https://signum.network/smartcontracts) and on the [community wiki](https://wiki.signum.network/signum-smart-contracts/).
See also [SmartC](https://github.com/deleterium/SmartC/tree/stable/docs) and [SmartJ](https://github.com/signum-network/signum-smartj) ","tags":["contract"],"parameters":[{"name":"name","description":"The name of the contract. At maximum 30 alphanumerical characters without special chars and whitespaces","in":"query","schema":{"type":"string","pattern":"^[a-zA-Z0-9]{1,30}$"}},{"name":"description","in":"query","allowEmptyValue":false,"description":"This can be any arbitrary textual, json or even binary description. The maximum limit is 1000 characters, either text or binary (in hex form)","schema":{"type":"string","maxLength":1000}},{"name":"code","description":"The compiled byte code sequence of the code. This code is being created with SmartC or either SmartJ","in":"query","schema":{"type":"string","pattern":"^[a-fA-F0-9]+$"}},{"name":"data","description":"This is the initial data stack. With this field it's possible to initialize a contracts variables","in":"query","schema":{"type":"string","pattern":"^[a-fA-F0-9]+$"}},{"name":"dpages","description":"Number of pages of the data stack. Each Page has a size of 256 bytes.","in":"query","schema":{"type":"integer","minimum":1,"maximum":40,"required":true}},{"name":"cspages","description":"Number of pages of the code stack. Each Page has a size of 256 bytes.","in":"query","schema":{"type":"integer","minimum":1,"maximum":40,"required":true}},{"name":"uspages","description":"Number of pages of the user stack. Each Page has a size of 256 bytes.","in":"query","schema":{"type":"integer","minimum":1,"maximum":40,"required":true}},{"name":"minActivationAmountNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The minimum amount to dispatch the contracts execution expressed in Planck, i.e. 1 Signa = 10E8 Planck = 100000000 Planck.
This value should be chosen in a way, that the contract never runs out of balance.","schema":{"$ref":"#/components/schemas/amount"}},{"name":"referencedTransactionFullHash","in":"query","allowEmptyValue":false,"required":true,"description":"Instead of sending the `code`, it's possible to reuse an existing code from a previously published contract. Just use that contracts full hash. This unique concept is called [Green Contract](https://github.com/signum-network/SIPs/blob/master/SIP/sip-30.md) and reduces the payload and contract creation costs.","schema":{"type":"string","pattern":"^[a-fA-F0-9]+$"}},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccount":{"get":{"summary":"Get Account","description":"Get account information, like balances, commitment and token balances of an account.","tags":["account"],"parameters":[{"name":"account","in":"query","required":true,"allowEmptyValue":false,"description":"The account identifier","schema":{"$ref":"#/components/schemas/address"}},{"name":"getCommittedAmount","schema":{"type":"boolean","example":[true,false]},"in":"query","description":"Returns the entire commitment amount"},{"name":"height","schema":{"type":"integer","minimum":0},"in":"query","description":"When set this blockheight the accounts situation at the given height will be returned"},{"name":"estimateCommitment","in":"query","description":"If set `true` the estimated commitment per TiB will be returned","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"Account response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/account"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountsWithRewardRecipient":{"get":{"summary":"Get Reward Recipient Accounts (Pool Accounts)","description":"Get all account identifiers with a specific reward recipient, i.e. the accounts of a pool","tags":["account","mining"],"parameters":[{"name":"account","in":"query","required":true,"allowEmptyValue":false,"description":"The reward recipient, i.e. the pool address","schema":{"$ref":"#/components/schemas/numericId"}}],"responses":{"200":{"description":"Account Id List response
A list with one (mostly self) or more accounts. If the only account in the list is identical to the passed parameter, then the given account has no reward recipient set.","content":{"application/json":{"schema":{"type":"object","required":["accounts"],"properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/numericId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getRewardRecipient":{"get":{"summary":"Get Reward Recipient","description":"Get the reward recipient of an account, i.e. check if an account joined a mining pool.","tags":["account","mining"],"parameters":[{"name":"account","in":"query","required":true,"allowEmptyValue":false,"description":"The account to be checked for","schema":{"$ref":"#/components/schemas/numericId"}}],"responses":{"200":{"description":"The account that gets the mining reward, i.e. a mining pools account address. If the responded account is identical to the input, then the account did not join a pool.","content":{"application/json":{"schema":{"type":"object","required":["rewardRecipient"],"properties":{"rewardRecipient":{"type":"string","items":{"$ref":"#/components/schemas/numericId"}}},"example":{"rewardRecipient":"2402520554221019656"}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountATs":{"get":{"summary":"Get Account Contracts","description":"Gets the contracts a given account created.","tags":["account","contract"],"parameters":[{"$ref":"#/components/parameters/account"},{"name":"machineCodeHashId","schema":{"type":"integer","format":"int64"},"in":"query","description":"This hash identifies a specific code. Using this parameter as additional filter to search only for a specific class of contracts, i.e. NFTSRC40.
See also the [green contract specification](https://github.com/signum-network/SIPs/blob/master/SIP/sip-30.md)"},{"$ref":"#/paths/~1api%3FrequestType%3DgetAT/get/parameters/1"}],"responses":{"200":{"description":"Contract List Response","content":{"application/json":{"schema":{"type":"object","required":["ats"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"ats":{"type":"array","items":{"$ref":"#/components/schemas/contract"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAT":{"get":{"summary":"Get Contract","description":"Gets a specific smart contract","tags":["contract"],"parameters":[{"$ref":"#/components/parameters/at"},{"name":"includeDetails","in":"query","allowEmptyValue":false,"required":false,"description":"If set `true` more details are being returned (Default: `true`). Use `false` and payload can be reduced by approx. 40%","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"Contract Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contract"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getATs":{"get":{"summary":"Get Contracts ","description":"Gets a list of smart contracts by their machin code hash","tags":["contract"],"parameters":[{"name":"machineCodeHashId","in":"query","allowEmptyValue":false,"required":true,"description":"The machine code hash","schema":{"type":"integer","format":"int64","example":["5817622329198284865","15155055045342098571"]}},{"$ref":"#/paths/~1api%3FrequestType%3DgetAT/get/parameters/1"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Contract List Response","content":{"application/json":{"schema":{"type":"object","required":["ats"],"properties":{"nextIndex":{"type":"int32","description":"Next index for pagination. When having more items, this field indicates which is the next `firstIndex` to be used. If not available, no more items are available also","example":10},"ats":{"type":"array","items":{"$ref":"#/components/schemas/contract"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getATDetails":{"get":{"summary":"Get Contract History","description":"Gets a specific contracts situation at a given moment in the past","tags":["contract"],"parameters":[{"$ref":"#/components/parameters/at"},{"name":"height","schema":{"type":"integer","minimum":0},"in":"query","description":"When set this block height the contracts situation at the given height will be returned"}],"responses":{"200":{"description":"Contract Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/contract"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getATIds":{"get":{"summary":"Get Contract Ids","description":"Gets all smart contract ids. You can optionally filter by the machine code hash, to get only contracts of a specific type","tags":["contract"],"parameters":[{"name":"machineCodeHashId","schema":{"type":"integer","format":"int64"},"in":"query","description":"This hash identifies a specific code. Using this parameter as additional filter to search only for a specific class of contracts, i.e. NFTSRC40.
See also the [green contract specification](https://github.com/signum-network/SIPs/blob/master/SIP/sip-30.md)"}],"responses":{"200":{"description":"Contract Response","content":{"application/json":{"schema":{"type":"object","required":["atIds"],"properties":{"atIds":{"type":"array","items":{"$ref":"#/components/schemas/contractId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getATMapValue":{"get":{"summary":"Get Contract Map Value","description":"Gets a value from a smart contract from its [data store](https://github.com/signum-network/SIPs/blob/master/SIP/sip-38.md).
Non existing keys result always in `0`(Zero)","tags":["contract"],"parameters":[{"$ref":"#/components/parameters/at"},{"name":"key1","required":true,"schema":{"type":"integer","format":"int64"},"in":"query","description":"The 1st key of the map"},{"name":"key2","required":true,"schema":{"type":"integer","format":"int64"},"in":"query","description":"The 2nd key of the map"}],"responses":{"200":{"description":"Contract Response","content":{"application/json":{"schema":{"type":"object","required":["value"],"example":{"value":"5"},"properties":{"value":{"type":"int","format":"int64","description":"The value"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getATMapValues":{"get":{"summary":"Get Contract Map Values ","description":"Gets a list of values from a smart contract from its [data store](https://github.com/signum-network/SIPs/blob/master/SIP/sip-38.md) by its _first_ key.
Non existing keys result always in `0`(Zero)","tags":["contract"],"parameters":[{"$ref":"#/components/parameters/at"},{"name":"key1","required":true,"schema":{"type":"integer","format":"int64"},"in":"query","description":"The 1st key of the map"},{"name":"value","required":false,"schema":{"type":"integer","format":"int64"},"in":"query","description":"The value to be searched for"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Contract Response","content":{"application/json":{"schema":{"type":"object","required":["keyValues"],"example":{"keyValues":[{"key2":"123243564364565","value":"42"}]},"properties":{"keyValues":{"type":"array","items":{"type":"object","required":["key2","value"],"properties":{"key2":{"type":"integer","description":"The second key of the map tuple","format":"int64"},"value":{"type":"integer","format":"int64","description":"The value"}}}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountAssets":{"get":{"summary":"Get Account Tokens","description":"Get the tokens an account owns.","tags":["account","token"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Asset List Response","content":{"application/json":{"schema":{"type":"object","required":["assetBalances","unconfirmedAssetBalances"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"assetBalances":{"description":"The total token balances (in _quantity_) which this account owns, including reserved ones","type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/assetId"},"balanceQNT":{"$ref":"#/components/schemas/quantity"}}}},"unconfirmedAssetBalances":{"description":"The __available__ token balances (in _quantity_) which this account owns, excluding reserved ones","type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/assetId"},"unconfirmedBalanceQNT":{"$ref":"#/components/schemas/quantity"}}}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getTransaction":{"get":{"summary":"Get Transaction","description":"Get the transaction data of a specific transaction.
Each Transaction may carry an additional attachment with a different structure. This structure depends on it's [`type` and `subtype`](https://docs.signum.network/signum/transaction-types)","tags":["payment","alias","contract","token","account","mining"],"parameters":[{"name":"transaction","in":"query","schema":{"$ref":"#/components/schemas/transactionId"}},{"name":"fullHash","description":"Alternatively, the transactions full hash can be used.","in":"query","schema":{"$ref":"#/components/schemas/hash"}}],"responses":{"200":{"$ref":"#/components/schemas/signedTransaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getMiningInfo":{"get":{"summary":"Get Mining Info","description":"Get the information necessary for the miners.","tags":["mining","network"],"responses":{"200":{"description":"Mining Info response","content":{"application/json":{"schema":{"type":"object","description":"Information for miner software.","required":["height","generationSignature","baseTarget","averageCommitmentNQT","lastBlockReward","lastBlockRewardNQT","timestamp"],"example":{"height":"1041112","generationSignature":"01a793a91f7abf9e81c4f57050b8a4ed4581f6db0a0b81959f52dfdcd6abcfec","baseTarget":"399933","averageCommitmentNQT":"350475714560","lastBlockReward":"100","lastBlockRewardNQT":"10000000000","timestamp":"251323162"},"properties":{"height":{"description":"The height of the current block to be forged","type":"integer","format":"int32"},"generationSignature":{"description":"The generation signature ","type":"string","pattern":"^[a-fA-F0-9]{64}$"},"baseTarget":{"description":"The base target","type":"integer","format":"int32"},"averageCommitmentNQT":{"description":"The networks average commitment per TiB expressed in Planck","type":"integer","format":"int64"},"lastBlockReward":{"description":"The last block reward in Signa.","type":"integer","format":"int32"},"lastBlockRewardNQT":{"description":"The last block reward in Planck.","type":"integer","format":"int64"},"timestamp":{"$ref":"#/components/schemas/timestamp"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getUnconfirmedTransactions":{"get":{"summary":"Get Pending Transactions","description":"Get all pending transactions or of a specific account.
Each Transaction may carry an additional attachment with a different structure. This structure depends on it's [`type` and `subtype`](https://docs.signum.network/signum/transaction-types)","tags":["payment","alias","contract","token","account","mining"],"parameters":[{"name":"account","in":"query","description":"When given, only pending transactions of this account are returned. If not, _all_ pending transactions of the network are returned","schema":{"$ref":"#/components/schemas/address"}},{"name":"includeIndirect","description":"When set true, multiple payment transactions are returned also. This option applies only when using `account`","in":"query","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"Pending Transaction List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of pending transactions.","required":["unconfirmedTransactions"],"properties":{"unconfirmedTransactions":{"type":"array","items":{"$ref":"#/components/schemas/transaction"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getIndirectIncoming":{"get":{"summary":"Get Distribution Amount","description":"Get the paid amount per account of a mass distribution or multi out payments.

Due to the nature of how multiple payouts or distribution works, an accounts received payout does not appear in the common transaction amount field. The common transaction carries the total distributed/paid amount. So, one need this method to get the individually paid amount.","tags":["payment","token","account"],"parameters":[{"name":"transaction","in":"query","description":"The id of a [distribution transaction](#post-/api-requestType-distributeToAssetHolders) or [multiple payout](#post-/api-requestType-sendMoneyMulti)","schema":{"type":"integer","format":"int64","description":"The transaction identifier","required":true,"example":["18383595669062938305","6410546525214667156"]}},{"$ref":"#/components/parameters/account"}],"responses":{"200":{"description":"Individual Payout Response.
__Note__: The response does not carry the related asset information. You need to pull this from the related `transaction`","content":{"application/json":{"schema":{"type":"object","required":["amountNQT","confirmations","height","quantityQNT"],"example":{"amountNQT":"45600","quantityQNT":"0","height":369509,"confirmations":73793,"requestProcessingTime":1},"properties":{"amountNQT":{"$ref":"#/components/schemas/amount"},"quantityQNT":{"$ref":"#/components/schemas/quantity"},"height":{"description":"The block height number of occurred payment.","type":"integer"},"confirmations":{"description":"Number of confirmations","type":"integer"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=suggestFee":{"get":{"summary":"Get Current Base Fee","description":"This method may help to determine the minimum fee for the current block. See also the [fee policies](https://github.com/signum-network/SIPs/blob/master/SIP/sip-34.md) ","tags":["utility"],"responses":{"200":{"description":"Fee suggestions. The higher the fee the more prioritized its validation, i.e. chances are higher to make it into the next block.","content":{"application/json":{"schema":{"type":"object","required":["cheap","standard","priority"],"example":{"cheap":1000000,"standard":2000000,"priority":3000000},"properties":{"cheap":{"$ref":"#/components/schemas/amount"},"standard":{"$ref":"#/components/schemas/amount"},"priority":{"$ref":"#/components/schemas/amount"}}}}}}}}},"/api?requestType=getConstants":{"get":{"summary":"Get Blockchain Parameters","description":"Get this blockchains constant parameters ","tags":["network"],"responses":{"200":{"$ref":"#/components/responses/constants"}}}},"/api?requestType=getMyInfo":{"get":{"summary":"Get Self Info","description":"Get the information of this node/peer.","tags":["network"],"responses":{"200":{"description":"Info response","content":{"application/json":{"schema":{"type":"object","required":["host","address","UUID"],"properties":{"host":{"description":"The host IP","type":"string"},"address":{"description":"The host IP","type":"string"},"UUID":{"description":"The UUID","type":"string"}},"example":{"host":"127.0.0.1","address":"127.0.0.1","UUID":"11e1784d-5157-433d-b729-49295ea51eb6"}}}}}}}},"/api?requestType=getBlockchainStatus":{"get":{"summary":"Get Blockchain Info","description":"Get some basic information of the current blockchains status.","tags":["network"],"responses":{"200":{"description":"Blockchain Info response","content":{"application/json":{"schema":{"type":"object","required":["application","version","time","lastBlock","lastBlockTimestamp","cumulativeDifficulty","averageCommitmentNQT","numberOfBlocks","lastBlockchainFeeder","lastBlockchainFeederHeight","isScanning"],"properties":{"application":{"description":"The configured name of the node, usually 'BRS'. But can be different for other chains/networks","type":"string"},"version":{"description":"The [_semantic_](https://semver.org/) version of this node.","type":"string"},"time":{"description":"The current time as a timestamp in seconds since block 0.","type":"integer","format":"int64"},"lastBlock":{"description":"The last forged block id","type":"integer","format":"int64"},"lastBlockTimestamp":{"description":"The last forged block timestamp","type":"integer","format":"int64"},"cumulativeDifficulty":{"description":"The networks current network difficulty","type":"integer","format":"int64"},"averageCommitmentNQT":{"description":"The networks average commitment per TiB expressed in Planck","type":"integer","format":"int64"},"numberOfBlocks":{"description":"The number of blocks including the current non-forged block","type":"integer","format":"int64"},"lastBlockchainFeeder":{"description":"The public available name of the last node that communicated with this node","type":"string"},"lastBlockchainFeederHeight":{"description":"The last block height this nodes got from the feeder","type":"string"},"isScanning":{"description":"Indicates if this node is scanning/syncing","type":"boolean"}},"example":{"application":"BRS","version":"v3.4.0","time":251548095,"lastBlock":"11270170188371478756","lastBlockTimestamp":251547917,"cumulativeDifficulty":"57884336750738710","averageCommitmentNQT":49884640051200,"numberOfBlocks":444342,"lastBlockchainFeeder":"SIGNUM.theworkpc.com:7123","lastBlockchainFeederHeight":444341,"isScanning":false,"requestProcessingTime":0}}}}}}}},"/api?requestType=getPeer":{"get":{"summary":"Get Node/Peer Info","description":"Get information about a specific Peer. See also [Get Known Peers/Nodes](#get-/api-requestType-getPeers)","tags":["network"],"parameters":[{"name":"peer","in":"query","description":"The nodes IP. You can get it from [Get Known Peers/Nodes](#get-/api-requestType-getPeers)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Node/Peer Info response","content":{"application/json":{"schema":{"type":"object","required":["state","announcedAddress","shareAddress","downloadedVolume","uploadedVolume","application","version","platform","blacklisted","lastUpdated"],"properties":{"application":{"description":"The configured name of the node, usually 'BRS'. But can be different for other chains/networks","type":"string"},"platform":{"description":"The platform name. Can be any name, but must be a receiver address for the [Signum Network Reward Program](https://wiki.signum.network/signum-snr-awards/)","type":"string"},"version":{"description":"The [_semantic_](https://semver.org/) version of this node.","type":"string"},"state":{"description":"The state of the node,
","type":"integer","enum":[0,1,2]},"announcedAddress":{"description":"The announce address of this node, if public","type":"string"},"shareAddress":{"description":"Indicator if the address is shared publicly. This is relevant for the [Signum Network Reward Program](https://wiki.signum.network/signum-snr-awards/)","type":"boolean"},"downloadedVolume":{"description":"The downloaded volume in bytes","type":"integer","format":"int64"},"uploadedVolume":{"description":"The uploaded volume in bytes","type":"integer","format":"int64"},"lastUpdated":{"description":"The last know update in block timestamp, i.e. seconds since block 0 (Genesis Block)","type":"integer","format":"int64"},"blacklisted":{"description":"Indicator if the node is blacklisted.","type":"boolean"}},"example":{"state":0,"announcedAddress":null,"shareAddress":true,"downloadedVolume":23845866,"uploadedVolume":51546404,"application":"BRS","version":"v3.4.1","platform":"PC","blacklisted":false,"lastUpdated":251548859,"requestProcessingTime":1}}}}}}}},"/api?requestType=getPeers":{"get":{"summary":"Get Known Peers/Nodes","description":"Get a list of known peers/nodes. See also [Get Node/Peer](#get-/api-requestType-getPeer)","tags":["network"],"parameters":[{"name":"active","in":"query","description":"Select whether active or inactive, i.e. `NON_CONNECTED` peers should be listed.","example":[true,false],"schema":{"type":"boolean"}},{"name":"state","in":"query","description":"Query peers by one of the states","schema":{"type":"string","enum":["NON_CONNECTED","CONNECTED","DISCONNECTED"]}}],"responses":{"200":{"description":"Peer IP List","content":{"application/json":{"schema":{"type":"object","required":["peers"],"properties":{"peers":{"description":"The IPs of registered nodes","type":"array","items":{"type":"string"}}},"example":{"peers":["138.2.137.23","71.87.114.2","91.9.186.216","78.142.26.26"],"requestProcessingTime":1}}}}}}}},"/api?requestType=getTime":{"get":{"summary":"Get Chain Timestamp","description":"Get the chains time stamp in seconds since Block 0","tags":["network"],"responses":{"200":{"description":"Time response","content":{"application/json":{"schema":{"type":"object","required":["time"],"properties":{"time":{"description":"The time since beginning of the chain (Block 0)","type":"integer","format":"int64"}},"example":{"time":251558197,"requestProcessingTime":1}}}}}}}},"/api?requestType=getState":{"get":{"summary":"Get Blockchain Info (Extended)","description":"Get a bunch of information about the current chains status. This method returns more information than [Get Blockchain Info](#get-/api-requestType-getBlockchainStatus)","tags":["network","admin"],"parameters":[{"name":"includeCounts","in":"query","required":false,"description":"⚠️ If `true` additional stats are returned, but this increases workload of the node. Default is `false` -Note, that an `apiKey` needs to be provided in case of `true`, otherwise method is not allowed","schema":{"type":"boolean","example":[true,false]}},{"$ref":"#/components/parameters/apiKey"}],"responses":{"200":{"description":"Time response","content":{"application/json":{"schema":{"type":"object","required":["application","version","time","lastBlock","cumulativeDifficulty","totalMinedNQT","totalBurntNQT","circulatingSupplyNQT","numberOfBlocks","numberOfTransactions","numberOfATs","numberOfAssets","numberOfOrders","numberOfAskOrders","numberOfBidOrders","numberOfTrades","numberOfTransfers","numberOfAliases","numberOfPeers","numberOfUnlockedAccounts","lastBlockchainFeeder","lastBlockchainFeederHeight","isScanning","availableProcessors","maxMemory","totalMemory","freeMemory","indirectIncomingServiceEnabled","requestProcessingTime"],"properties":{"application":{"description":"The configured name of the node, usually 'BRS'. But can be different for other chains/networks","type":"string"},"version":{"description":"The [_semantic_](https://semver.org/) version of this node.","type":"string"},"time":{"description":"The current time as a timestamp in seconds since block 0.","type":"integer","format":"int64"},"lastBlock":{"description":"The last forged block id","type":"integer","format":"int64"},"cumulativeDifficulty":{"description":"The networks current network difficulty","type":"integer","format":"int64"},"totalMinedNQT":{"description":"The total of mined coins in Planck","type":"integer","format":"int64"},"totalBurntNQT":{"description":"The total of burnt coins in Planck","type":"integer","format":"int64"},"circulatingSupplyNQT":{"description":"The total circulating coins in Planck, i.e. burnt coins excluded","type":"integer","format":"int64"},"totalEffectiveBalance":{"description":"The total supply of the network in Signa (only available if `includeCounts` is true)","type":"integer","format":"int64"},"totalEffectiveBalanceNQT":{"description":"The total supply of the network in Planck (only available if `includeCounts` is true)","type":"integer","format":"int64"},"totalCommittedNQT":{"description":"The total amount of commitment of the network in Planck (only available if `includeCounts` is true)","type":"integer","format":"int64"},"numberOfAccounts":{"description":"The number of accounts (only available if `includeCounts` is true)","type":"integer","format":"int64"},"numberOfBlocks":{"description":"The number of blocks including the current non-forged block","type":"integer","format":"int64"},"numberOfTransactions":{"description":"The number of transactions","type":"integer","format":"int64"},"numberOfATs":{"description":"The number of smart contracts","type":"integer","format":"int64"},"numberOfAssets":{"description":"The number of issued tokens","type":"integer","format":"int64"},"numberOfOrders":{"description":"The number of token orders (bids and asks)","type":"integer","format":"int64"},"numberOfAskOrders":{"description":"The number of ask token orders","type":"integer","format":"int64"},"numberOfBidOrders":{"description":"The number of bid token orders","type":"integer","format":"int64"},"numberOfTrades":{"description":"The number of token trades","type":"integer","format":"int64"},"numberOfTransfers":{"description":"The number of token transfers","type":"integer","format":"int64"},"numberOfAliases":{"description":"The number of aliases","type":"integer","format":"int64"},"numberOfPeers":{"description":"The number of peers/nodes","type":"integer","format":"int64"},"numberOfUnlockedAccounts":{"description":"The number of peers/nodes","type":"integer","format":"int64"},"lastBlockchainFeeder":{"description":"The public available name of the last node that communicated with this node","type":"string"},"lastBlockchainFeederHeight":{"description":"The last block height this nodes got from the feeder","type":"string"},"isScanning":{"description":"Indicates if this node is scanning/syncing","type":"boolean"},"indirectIncomingServiceEnabled":{"description":"Indicates if this node has `indirectIncoming` functionality (token distribution) enabled","type":"boolean"},"availableProcessors":{"description":"Number of processors of this node","type":"integer","format":"int32"},"maxMemory":{"description":"Amount of maximum available memory of the node (in bytes)","type":"integer","format":"int64"},"totalMemory":{"description":"Amount used memory of the node (in bytes)","type":"integer","format":"int64"},"freeMemory":{"description":"Amount of free memory of the node (in bytes)","type":"integer","format":"int64"}},"example":{"application":"BRS","version":"v3.7.0","time":274806175,"lastBlock":"549654937453913943","cumulativeDifficulty":"70624197932486880","totalMinedNQT":199245981900000000,"totalBurntNQT":77607213673905,"circulatingSupplyNQT":199168374686326080,"totalEffectiveBalance":1992459819,"totalEffectiveBalanceNQT":199245981900000000,"totalCommittedNQT":14722626561649584,"numberOfAccounts":605334,"numberOfBlocks":538692,"numberOfTransactions":2666794,"numberOfATs":3720,"numberOfAssets":251,"numberOfOrders":133,"numberOfAskOrders":93,"numberOfBidOrders":40,"numberOfTrades":479,"numberOfTransfers":22516,"numberOfAliases":131,"numberOfPeers":19,"numberOfUnlockedAccounts":0,"lastBlockchainFeeder":"t-p2p.notallmine.net:8080","lastBlockchainFeederHeight":539454,"isScanning":false,"availableProcessors":8,"maxMemory":8378122240,"totalMemory":2237661184,"freeMemory":1033661464,"indirectIncomingServiceEnabled":true,"requestProcessingTime":783}}}}}}}},"/api?requestType=getAliases":{"get":{"summary":"Get Aliases","description":"Get aliases by account, complete name or tld. If you want to search for partial alias names use [GetAliasesByName](#get-/api-requestType-getAliasesByName) instead","tags":["alias"],"parameters":[{"name":"account","in":"query","required":false,"allowEmptyValue":true,"description":"The account identifier","schema":{"$ref":"#/components/schemas/address"}},{"name":"aliasName","in":"query","required":false,"allowEmptyValue":true,"description":"The name of the alias","schema":{"type":"string","pattern":"^[a-zA-Z0-9_]{1,100}$"}},{"$ref":"#/components/parameters/tld"},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"The list of aliases this account owns.","content":{"application/json":{"schema":{"type":"object","required":["aliases"],"properties":{"aliases":{"type":"array","items":{"$ref":"#/components/schemas/alias"}}},"example":{"aliases":[{"account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","aliasName":"devcamp2019","timestamp":157831922,"alias":"4498738268646491227","aliasURI":"acct:burst-qaja-qw5y-swvp-4rvp4@burst","tld":"0","tldName":"signum"},{"account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","aliasName":"devil","timestamp":263393263,"alias":"7785766055119997492","aliasURI":"","tld":"0","tldName":"signum","priceNQT":"50000000","buyer":"16107620026796983538"}],"requestProcessingTime":7}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAliasesByName":{"get":{"summary":"Get Aliases By Name","description":"Get aliases of a given name or part of it.","tags":["alias"],"parameters":[{"name":"aliasName","in":"query","description":"The name to search for. It can be also just a part of it.","required":true,"schema":{"type":"string","maxLength":"100","pattern":"^[a-zA-Z0-9_]{1,100}$"}},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"The list of aliases matching the search term","content":{"application/json":{"schema":{"type":"object","required":["aliases"],"properties":{"aliases":{"type":"array","items":{"$ref":"#/components/schemas/alias"}}},"example":{"aliases":[{"account":"10269022105793844863","accountRS":"TS-MPMZ-8CD9-HZMD-A7R2X","aliasName":"CounterFiatTest","timestamp":263500271,"alias":"16839288055921474720","aliasURI":"acct:-mpmz-8cd9-hzmd-a7r2x@burst","tld":"0","tldName":"signum"},{"account":"14978592240935099976","accountRS":"TS-RRLA-B3Y7-L4EU-E8PRZ","aliasName":"meintest345","timestamp":225985423,"alias":"7244596052623080374","aliasURI":"http://ssssss","tld":"0","tldName":"signum"}],"requestProcessingTime":35}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAlias":{"get":{"summary":"Get Alias or TLD","description":"Get an alias by its id or unique name, or TLD by its name","tags":["alias"],"parameters":[{"name":"alias","in":"query","description":"The alias Id","required":false,"schema":{"type":"integer","format":"int64"}},{"name":"aliasName","in":"query","description":"The unique alias name","required":false,"schema":{"type":"string","maxLength":"100","pattern":"^[a-zA-Z0-9_]{1,100}$"}},{"$ref":"#/components/parameters/tld"}],"responses":{"200":{"description":"The Alias","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alias"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getTLDs":{"get":{"summary":"Get All TLDs (Alias)","description":"Get all the Top Level Domains/Namespaces of the Alias system","tags":["alias"],"parameters":[{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Top Level Domains","content":{"application/json":{"schema":{"type":"object","required":["tlds"],"properties":{"tlds":{"type":"array","items":{"type":"object","required":["account","accountRS","aliasName","timestamp","alias","numberOfAliases"],"properties":{"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"aliasName":{"description":"The name of the TLD (Yes, the field is named aliasName!)","type":"string","pattern":"^[a-zA-Z0-9]{1,40}$"},"alias":{"description":"The numeric id of the TLD (Yes, the field is named alias!)","type":"string"},"numberOfAliases":{"description":"The number of aliases related to that TLD","type":"integer"},"timestamp":{"$ref":"#/components/schemas/timestamp"}}}}}},"example":{"tlds":[{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"blockchain","timestamp":0,"alias":"5941719320837453807","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"coin","timestamp":0,"alias":"12526957665552212403","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"crypto","timestamp":0,"alias":"4074058944115847130","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"dao","timestamp":0,"alias":"699790683404338787","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"decentral","timestamp":0,"alias":"12005900248250106884","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"dex","timestamp":0,"alias":"17385854207382196125","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"free","timestamp":0,"alias":"7901595671035483565","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"nft","timestamp":0,"alias":"15599202549311261624","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"p2p","timestamp":0,"alias":"2609475261570755481","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"sig","timestamp":0,"alias":"10963997369201935269","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"signa","timestamp":0,"alias":"13374426949381780991","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"signum","timestamp":0,"alias":"0","numberOfAliases":106},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"sns","timestamp":0,"alias":"12743943395591657648","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"w3","timestamp":0,"alias":"11075163425996139093","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"wallet","timestamp":0,"alias":"9708139598126830824","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"web3","timestamp":0,"alias":"5702099980213511072","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"x","timestamp":0,"alias":"4949498559009812781","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"y","timestamp":0,"alias":"9871701508635294881","numberOfAliases":0},{"account":"0","accountRS":"TS-2222-2222-2222-22222","aliasName":"z","timestamp":0,"alias":"3112438024610336345","numberOfAliases":0}],"requestProcessingTime":5}}}}}}},"/api?requestType=setTLD":{"post":{"summary":"Set Custom Alias TLD","description":"Create a [Top Level Domain (TLD)](https://github.com/signum-network/SIPs/blob/master/SIP/sip-48.md) for aliases. A TLD is like a namespace for Aliases, such it is possible to have same Aliases in different TLDs.","tags":["alias"],"parameters":[{"name":"tld","in":"query","required":true,"allowEmptyValue":false,"description":"Your custom TLD","schema":{"type":"string","maxLength":40,"pattern":"^[a-zA-Z0-9]{1,40}$"}},{"$ref":"#/components/parameters/amountNQT"},{"$ref":"#/components/parameters/feeNQT"},{"$ref":"#/components/parameters/secretPhrase"},{"$ref":"#/components/parameters/publicKey"},{"$ref":"#/components/parameters/deadline"},{"$ref":"#/components/parameters/broadcast"},{"$ref":"#/components/parameters/referencedTransactionFullHash"},{"$ref":"#/components/parameters/message"},{"$ref":"#/components/parameters/messageIsText"},{"$ref":"#/components/parameters/messageToEncrypt"},{"$ref":"#/components/parameters/messageToEncryptIsText"},{"$ref":"#/components/parameters/encryptedMessageData"},{"$ref":"#/components/parameters/encryptedMessageNonce"},{"$ref":"#/components/parameters/messageToEncryptToSelf"},{"$ref":"#/components/parameters/messageToEncryptToSelfIsText"},{"$ref":"#/components/parameters/encryptToSelfMessageData"},{"$ref":"#/components/parameters/encryptToSelfMessageNonce"}],"responses":{"200":{"$ref":"#/components/responses/transaction"},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getECBlock":{"get":{"summary":"Get EC Block (Economic Clustering)","description":"Get the reference for the block of an _economic cluster_ (EC) 🤷","tags":["network"],"parameters":[{"name":"timestamp","in":"query","description":"The timestamp from which should be searched. It cannot be much in the past (about 15 seconds according the code)","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"The EC Block Reference","content":{"application/json":{"schema":{"type":"object","required":["ecBlockId","ecBlockHeight","timestamp"],"properties":{"ecBlockId":{"$ref":"#/components/schemas/blockId"},"ecBlockHeight":{"type":"integer","description":"The block height"},"timestamp":{"$ref":"#/components/schemas/timestamp"}},"example":{"ecBlockId":"11005421887713390160","ecBlockHeight":466561,"timestamp":258400021,"requestProcessingTime":1}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBlock":{"get":{"summary":"Get Block","description":"Get a specific block. Returns the last block if no argument is given.","tags":["network"],"parameters":[{"name":"block","in":"query","required":false,"schema":{"type":"integer","format":"int64","example":"15665862983517409283"}},{"name":"height","in":"query","description":"The block height number (more commonly used)","required":false,"schema":{"type":"integer","format":"int64","example":440000}},{"$ref":"#/components/parameters/timestamp"},{"name":"includeTransactions","in":"query","description":"If set `true` the transaction objects will be returned, otherwise the transaction identifiers","required":false,"schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"The Block","content":{"application/json":{"schema":{"$ref":"#/components/schemas/block"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBlockId":{"get":{"summary":"Get Block Id","description":"Get a specific block Id for given height","tags":["network"],"parameters":[{"name":"height","in":"query","description":"The block height number (more commonly used)","required":true,"schema":{"type":"integer","format":"int64","example":440000}}],"responses":{"200":{"description":"The Block Id","content":{"application/json":{"schema":{"type":"object","required":["block"],"properties":{"block":{"$ref":"#/components/schemas/blockId"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBlocks":{"get":{"summary":"Get Block Range","description":"Gets a range of blocks. Return the most recent 100 blocks if no argument is given","tags":["network"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"name":"includeTransactions","in":"query","description":"If set `true` the transaction objects will be returned, otherwise the transaction identifiers","required":false,"schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"A list of blockBlock","content":{"application/json":{"schema":{"type":"object","required":["blocks"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"blocks":{"type":"array","items":{"$ref":"#/components/schemas/block"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountBlocks":{"get":{"summary":"Get Accounts Forged Blocks","description":"Gets the blocks an account forged.","tags":["account","mining"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"name":"includeTransactions","in":"query","description":"If set `true` the transaction objects will be returned, otherwise the transaction identifiers","required":false,"schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"List of forged blocks","content":{"application/json":{"schema":{"type":"object","required":["blocks"],"properties":{"blocks":{"type":"array","items":{"$ref":"#/components/schemas/block"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountBlockIds":{"get":{"summary":"Get Accounts Forged Block Ids","description":"Gets the blocks an account forged.","tags":["account","mining"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of forged block ids","content":{"application/json":{"schema":{"type":"object","required":["blockIds"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"blockIds":{"type":"integer","format":"int64"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountCurrentAskOrders":{"get":{"summary":"Get Accounts Ask Orders","description":"Gets the current ask orders of an account","tags":["account","token"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Ask Orders__","content":{"application/json":{"schema":{"type":"object","required":["askOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"askOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountCurrentBidOrders":{"get":{"summary":"Get Accounts Bid Orders","description":"Gets the current bid orders of an account","tags":["account","token"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Bid Orders__","content":{"application/json":{"schema":{"type":"object","required":["bidOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"bidOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAllOpenAskOrders":{"get":{"summary":"Get Open Ask Orders","description":"Gets all open ask orders","tags":["token"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Ask Orders__","content":{"application/json":{"schema":{"type":"object","required":["askOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"askOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAllOpenBidOrders":{"get":{"summary":"Get Open Bid Orders","description":"Gets all open bid orders","tags":["token"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Bid Orders__","content":{"application/json":{"schema":{"type":"object","required":["bidOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"bidOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAskOrder":{"get":{"summary":"Get Ask Order","description":"Get a single ask order","tags":["token"],"parameters":[{"$ref":"#/components/parameters/order"}],"responses":{"200":{"description":"The requested order object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/order"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAskOrders":{"get":{"summary":"Get Tokens Ask Orders","description":"Get a range of ask orders from a token","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Ask Orders__","content":{"application/json":{"schema":{"type":"object","required":["askOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"askOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBidOrder":{"get":{"summary":"Get Bid Order","description":"Get a single bid order","tags":["token"],"parameters":[{"$ref":"#/components/parameters/order"}],"responses":{"200":{"description":"The requested order object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/order"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBidOrders":{"get":{"summary":"Get Tokens Bid Orders","description":"Get a range of bid orders from a token","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"List of __Bid Orders__","content":{"application/json":{"schema":{"type":"object","required":["bidOrders"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"bidOrders":{"type":"array","items":{"$ref":"#/components/schemas/order"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAsset":{"get":{"summary":"Get Token","description":"Get a token","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"name":"quantityMinimumQNT","in":"query","description":"Count only accounts with given minimum quantity. This parameter affects for the `numberOfAccounts` in the response. This helps you to calculate the fees upfront for [Distribution to Token holders](#post-/api-requestType-distributeToAssetHolders)","schema":{"type":"integer","format":"int64"}},{"name":"heightStart","in":"query","description":"Define the start height for trading information over a given period - if not given the last 360 blocks (around 24hrs) are taken as trading period","schema":{"type":"integer"}},{"name":"heightEnd","in":"query","description":"Define the end height for trading information over a given period - if not given the current block is taken as end height","schema":{"type":"integer"}}],"responses":{"200":{"description":"The Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/assetDetail"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAllAssets":{"get":{"summary":"Get All Tokens","description":"Get all tokens, but at maximum 500 per call.","tags":["token"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"$ref":"#/components/parameters/heightStart"},{"$ref":"#/components/parameters/heightEnd"},{"$ref":"#/components/parameters/skipZeroVolume"}],"responses":{"200":{"description":"The Token List","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"assets":{"type":"array","items":{"$ref":"#/components/schemas/asset"}},"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetIds":{"get":{"summary":"Get Token Ids","description":"Get token ids.","tags":["token"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Token Id List","content":{"application/json":{"schema":{"type":"object","required":["assetIds"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"assetIds":{"type":"array","items":{"$ref":"#/components/schemas/assetId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetAccounts":{"get":{"summary":"Get Token Holders","description":"Get a list of token holder.","tags":["token"],"parameters":[{"$ref":"#/components/parameters/asset"},{"name":"ignoreTreasury","in":"query","description":"If set `true`, [Treasury Accounts](#post-/api-requestType-addAssetTreasuryAccount) won't be returned. Default is true","schema":{"type":"boolean","example":[true,false]}},{"name":"quantityMinimumQNT","in":"query","description":"Returns only accounts with given minimum quantity.","schema":{"type":"integer","format":"int64"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Token Id List","content":{"application/json":{"schema":{"type":"object","required":["accountAssets"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"accountAssets":{"type":"array","items":{"type":"object","required":["account","accountRS","asset","quantityQNT","unconfirmedQuantityQNT","isTreasury"],"properties":{"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"asset":{"$ref":"#/components/schemas/assetId"},"quantityQNT":{"$ref":"#/components/schemas/quantity"},"unconfirmedQuantityQNT":{"$ref":"#/components/schemas/quantity"},"isTreasury":{"type":"boolean","description":"Indicates whether this account is marked as [treasury account](#post-/api-requestType-addAssetTreasuryAccount) or not."}},"example":{"account":"16655635797853184825","accountRS":"S-5ATT-JF5P-Q4H2-GN7BG","asset":"12402415494995249540","quantityQNT":"104510429825","unconfirmedQuantityQNT":"104510429825"}}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetsByIssuer":{"get":{"summary":"Get Accounts Issued Tokens","description":"Get all tokens an account issued","tags":["token","account"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"$ref":"#/components/parameters/heightStart"},{"$ref":"#/components/parameters/heightEnd"},{"$ref":"#/components/parameters/skipZeroVolume"}],"responses":{"200":{"description":"The Token List","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/asset"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetsByOwner":{"get":{"summary":"Get Accounts Owned Tokens","description":"Get all tokens an account owns. Note, that this is different to [Get Accounts Issued Tokens](#get-/api-requestType-getAssetsByIssuer). The ownership of a token can be transferred using [Transfer Token Ownership](#post-/api-requestType-transferAssetOwnership)","tags":["token","account"],"parameters":[{"$ref":"#/components/parameters/account"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"$ref":"#/components/parameters/heightStart"},{"$ref":"#/components/parameters/heightEnd"},{"$ref":"#/components/parameters/skipZeroVolume"}],"responses":{"200":{"description":"The Token List","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/asset"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetsByName":{"get":{"summary":"Get Tokens By Name","description":"Get all tokens by its name","tags":["token"],"required":["name"],"parameters":[{"name":"name","in":"query","allowEmptyValue":false,"description":"A part of or the entire name","schema":{"type":"string","maxLength":"10","pattern":"^[a-zA-Z0-9_]{1,10}$"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"$ref":"#/components/parameters/heightStart"},{"$ref":"#/components/parameters/heightEnd"},{"$ref":"#/components/parameters/skipZeroVolume"}],"responses":{"200":{"description":"The Token List","content":{"application/json":{"schema":{"type":"object","required":["assets"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"assets":{"type":"array","items":{"$ref":"#/components/schemas/asset"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAllTrades":{"get":{"summary":"Get All Trades","description":"Get trades within a given range.","tags":["token"],"parameters":[{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"$ref":"#/components/parameters/timestamp"},{"name":"includeAssetInfo","in":"query","description":"If set `true` (default), the tokens `name` and `decimals` is included in the response","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"The Trade List","content":{"application/json":{"schema":{"type":"object","required":["trades"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"trades":{"type":"array","items":{"$ref":"#/components/schemas/trade"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAssetTransfers":{"get":{"summary":"Get Token Transfers","description":"Get a list of token transfers.","tags":["token"],"parameters":[{"name":"asset","in":"query","required":false,"description":"The related token identifier. You can use this alone or together with `account`","schema":{"$ref":"#/components/schemas/assetId"}},{"name":"account","in":"query","required":false,"description":"The account identifier. You can use this alone or together with `asset`","schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Token Id List","content":{"application/json":{"schema":{"type":"object","required":["transfers"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"transfers":{"type":"array","items":{"type":"object","required":["account","accountRS","asset","quantityQNT","unconfirmedQuantityQNT"],"properties":{"assetTransfer":{"$ref":"#/components/schemas/transactionId"},"asset":{"$ref":"#/components/schemas/assetId"},"sender":{"$ref":"#/components/schemas/numericId"},"senderRS":{"$ref":"#/components/schemas/rsAddress"},"recipient":{"$ref":"#/components/schemas/numericId"},"recipientRS":{"$ref":"#/components/schemas/rsAddress"},"quantityQNT":{"$ref":"#/components/schemas/quantity"}},"example":{"assetTransfer":"18220965629044570406","asset":"914948012239561046","sender":"2506235206957628963","senderRS":"TS-LZK5-NKK6-NET2-4HZK7","recipient":"16357368130745732388","recipientRS":"TS-C5B6-NTGQ-KTLB-GDA28","quantityQNT":"100000000","height":306944,"timestamp":216268384,"name":"TTH","decimals":8}}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountPublicKey":{"get":{"summary":"Get Accounts Public Key","description":"Get account public key. Useful to check if an account exists or is activated","tags":["account"],"parameters":[{"$ref":"#/components/parameters/account"}],"responses":{"200":{"description":"Account response","content":{"application/json":{"schema":{"type":"object","required":["publicKey"],"properties":{"publicKey":{"$ref":"#/components/schemas/hash"}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountSubscriptions":{"get":{"summary":"Get Accounts Subscriptions","description":"Get accounts running subscriptions, i.e. recurring payments. These are outgoing subscriptions. See [incoming subscriptions](#get-/api-requestType-getSubscriptionsToAccount)","tags":["account","payment"],"parameters":[{"$ref":"#/components/parameters/account"}],"responses":{"200":{"description":"Subscription List response","content":{"application/json":{"schema":{"type":"array","required":["subscriptions"],"items":{"$ref":"#/components/schemas/subscription"}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getSubscriptionsToAccount":{"get":{"summary":"Get Recipient Subscriptions","description":"Get subscriptions sent to an account/recipient, incoming subscriptions. See [subscriptions payments](#get-/api-requestType-getSubscriptionPayments)","tags":["account","payment"],"parameters":[{"$ref":"#/components/parameters/account"}],"responses":{"200":{"description":"Subscription List response","content":{"application/json":{"schema":{"type":"array","required":["subscriptions"],"items":{"$ref":"#/components/schemas/subscription"}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getSubscription":{"get":{"summary":"Get Subscription","description":"Get a subscription, i.e. recurring payment.","tags":["payment"],"parameters":[{"name":"subscription","in":"query","allowEmptyValue":false,"required":true,"description":"The identifier of a subscription, i.e. its initial transaction id","schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"description":"Subscription response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/subscription"}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getSubscriptionPayments":{"get":{"summary":"Get Payments of a Subscriptions","description":"Gets a subscriptions payment. See [subscription](#get-/api-requestType-getSubscription)","tags":["account","payment"],"parameters":[{"name":"subscription","in":"query","allowEmptyValue":false,"required":true,"description":"The identifier of a subscription, i.e. its initial transaction id","schema":{"type":"integer","format":"int64"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"Subscription Payment List response","content":{"application/json":{"schema":{"type":"array","required":["transactions"],"items":{"$ref":"#/components/schemas/transaction"}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getUnconfirmedTransactionIds":{"get":{"summary":"Get Pending Transaction Ids","description":"Get all pending transaction identifiers or of a specific account.
Each Transaction may carry an additional attachment with a different structure. This structure depends on it's [`type` and `subtype`](https://docs.signum.network/signum/transaction-types)","tags":["payment","alias","contract","token","account","mining"],"parameters":[{"name":"account","in":"query","description":"When given, only pending transactions of this account are returned. If not, _all_ pending transactions of the network are returned","schema":{"$ref":"#/components/schemas/address"}},{"name":"includeIndirect","description":"When set true, multiple payment transactions are returned also. This option applies only when using `account`","in":"query","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"Pending Transaction Id List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of pending transactions.","required":["unconfirmedTransactionIds"],"properties":{"unconfirmedTransactionIds":{"type":"array","items":{"$ref":"#/components/schemas/transactionId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountTransactions":{"get":{"summary":"Get Account Transactions","description":"Get account transactions","tags":["payment","alias","contract","token","account","mining"],"parameters":[{"name":"account","in":"query","allowEmptyValue":true,"description":"The account identifier. It is only required when `sender` and `recipient` are not provided.","schema":{"$ref":"#/components/schemas/address"}},{"name":"sender","description":"The senders identifier for wanted transactions.
When used `sender` the `account` parameter is ignored. Together with this parameter, the `bidirectional` parameter applies.","in":"query","allowEmptyValue":true,"schema":{"$ref":"#/components/schemas/address"}},{"name":"recipient","description":"The recipient identifier for wanted transactions.
When used `recipient` the `account` parameter is ignored. Together with this parameter, the `bidirectional` parameter applies.","in":"query","allowEmptyValue":true,"schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"name":"type","description":"The primary type of wanted transactions. This allows to filter by transaction types.
See [Transaction Types](https://docs.signum.network/signum/transaction-types) and or [Get Blockchain Parameters](#get-/api-requestType-getConstants)","in":"query","schema":{"type":"integer"}},{"name":"subtype","description":"The secondary type of wanted transactions. This allows to filter by transaction types.
See [Transaction Types](https://docs.signum.network/signum/transaction-types) and or [Get Blockchain Parameters](#get-/api-requestType-getConstants)","in":"query","schema":{"type":"integer"}},{"name":"numberOfConfirmations","description":"The minimum number of confirmations for wanted transactions.","in":"query","schema":{"type":"integer"}},{"name":"includeIndirect","description":"When set true, multiple payment transactions are returned also.","in":"query","schema":{"type":"boolean","default":false,"example":[true,false]}},{"name":"bidirectional","description":"When set true, all transactions between `sender` and `recipient` are returned. When set false, only transactions from `sender` and optionally to `recipient` are returned. This applies only if either `sender` and/or `recipient` are provided.","in":"query","schema":{"type":"boolean","default":false,"example":[true,false]}}],"responses":{"200":{"description":"Transaction List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of transactions.
__Note__: For performance/stability reasons a node returns at maximum 500 items. All transaction query methods offer `firstIndex` and `lastIndex` to paginate through the transaction.","required":["transactions"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"transactions":{"type":"array","items":{"$ref":"#/components/schemas/transaction"},"maxLength":500}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountTransactionIds":{"get":{"summary":"Get Account Transaction Ids","description":"Get account transaction identifiers by different filters.
You can either search for all transactions (incoming and outgoing) per account, or you can selectively filter by sender and/or recipient only.","tags":["payment","alias","contract","token","account","mining"],"parameters":[{"name":"account","in":"query","allowEmptyValue":true,"description":"The account identifier. It is only required when `sender` and `recipient` are not provided.","schema":{"$ref":"#/components/schemas/address"}},{"name":"sender","description":"The senders identifier for wanted transactions.
When used `sender` the `account` parameter is ignored. Together with this parameter, the `bidirectional` parameter applies.","in":"query","allowEmptyValue":true,"schema":{"$ref":"#/components/schemas/address"}},{"name":"recipient","description":"The recipient identifier for wanted transactions.
When used `recipient` the `account` parameter is ignored. Together with this parameter, the `bidirectional` parameter applies.","in":"query","allowEmptyValue":true,"schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/timestamp"},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"name":"type","description":"The primary type of wanted transactions. This allows to filter by transaction types.
See [Transaction Types](https://docs.signum.network/signum/transaction-types) and or [Get Blockchain Parameters](#get-/api-requestType-getConstants)","in":"query","schema":{"type":"integer"}},{"name":"subtype","description":"The secondary type of wanted transactions. This allows to filter by transaction types.
See [Transaction Types](https://docs.signum.network/signum/transaction-types) and or [Get Blockchain Parameters](#get-/api-requestType-getConstants)","in":"query","schema":{"type":"integer"}},{"name":"numberOfConfirmations","description":"The minimum number of confirmations for wanted transactions.","in":"query","schema":{"type":"integer"}},{"name":"includeIndirect","description":"When set true, multiple payment transactions are returned also.","in":"query","schema":{"type":"boolean","default":false,"example":[true,false]}},{"name":"bidirectional","description":"When set true, all transactions between `sender` and `recipient` are returned. When set false, only transactions from `sender` and optionally to `recipient` are returned. This applies only if either `sender` and/or `recipient` are provided.","in":"query","schema":{"type":"boolean","default":false,"example":[true,false]}}],"responses":{"200":{"description":"Transaction Id List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of transactions identifiers.","required":["transactionIds"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"transactionIds":{"type":"array","items":{"$ref":"#/components/schemas/transactionId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAccountsWithName":{"get":{"summary":"Get Accounts By Name","description":"Get account identifiers by their name. See als [Set Account Information](#post-/api-requestType-setAccountInfo)","tags":["account"],"parameters":[{"name":"name","description":"The name of the accounts","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Account Id List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of account identifiers.","required":["accounts"],"properties":{"accounts":{"type":"array","items":{"$ref":"#/components/schemas/numericId"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getBalance":{"get":{"summary":"Get Account Balance","description":"Get an accounts balance information.","tags":["account"],"parameters":[{"$ref":"#/components/parameters/account"}],"responses":{"200":{"description":"Account Balance response","content":{"application/json":{"schema":{"type":"object","required":["balanceNQT","unconfirmedBalanceNQT","forgedBalanceNQT","guaranteedBalanceNQT"],"properties":{"balanceNQT":{"description":"Your total balance, including commitment and reserved orders","type":"integer","format":"int64","example":["100000000","1000000"]},"unconfirmedBalanceNQT":{"description":"The currently available balance.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"forgedBalanceNQT":{"description":"The balance forged by you (Solo-Mining only).
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"guaranteedBalanceNQT":{"description":"Your total balance, including commitment and reserved orders.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]}},"example":{"balanceNQT":"6175175744000","unconfirmedBalanceNQT":"6175175744000","forgedBalanceNQT":"0","guaranteedBalanceNQT":"6175175744000"}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getTrades":{"get":{"summary":"Get Token Trades","description":"Get trades of a token end even for a given account.","tags":["token","account"],"parameters":[{"name":"asset","in":"query","required":false,"description":"The related token identifier. You can use this alone or together with `account`","schema":{"$ref":"#/components/schemas/assetId"}},{"name":"account","in":"query","required":false,"description":"The account identifier. You can use this alone or together with `asset`","schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"},{"name":"includeAssetInfo","in":"query","description":"If set `true` (default), the tokens `name` and `decimals` is included in the response","schema":{"type":"boolean","example":[true,false]}}],"responses":{"200":{"description":"The Trade List","content":{"application/json":{"schema":{"type":"object","required":["trades"],"properties":{"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"trades":{"type":"array","items":{"$ref":"#/components/schemas/trade"}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getTradeJournal":{"get":{"summary":"Get Accounts Trade Journal","description":"Get a journal of trades for a given account.","tags":["token","account"],"parameters":[{"name":"asset","in":"query","required":false,"description":"The related token identifier. You can use this alone or together with `account`","schema":{"$ref":"#/components/schemas/assetId"}},{"name":"account","in":"query","required":true,"description":"The account identifier. You can use this alone or together with `asset`","schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"The Trade Journal List","content":{"application/json":{"schema":{"type":"object","required":["account","accountRS","tradeJournal"],"properties":{"account":{"type":"integer","format":"int64","description":"The account identifier as numeric Id","example":"16357368130745732388"},"accountRS":{"type":"string","description":"The account identifier as Reed-Solomon encoded address, i.e. S-XXXX-XXXX-XXXX-XXXXX","example":"TS-C5B6-NTGQ-KTLB-GDA28"},"asset":{"type":"integer","format":"int64","description":"The account identifier as numeric Id","example":"914948012239561046"},"nextIndex":{"$ref":"#/paths/~1api%3FrequestType%3DgetATs/get/responses/200/content/application~1json/schema/properties/nextIndex"},"tradeJournal":{"type":"array","items":{"type":"object","required":["order","asset","account","accountRS","priceNQT","price","height","decimals","name","executedQuantityQNT","executedVolumeNQT","type","status","trades"],"properties":{"order":{"$ref":"#/components/schemas/orderId"},"asset":{"$ref":"#/components/schemas/assetId"},"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"priceNQT":{"$ref":"#/components/schemas/trade/properties/priceNQT"},"price":{"type":"integer","format":"int64","description":"The price __per integral token__, i.e. if a token has 2 (two) decimals, then this amount is per 100 QNT (Quantity). The amount is always returned in Planck, that is Signa multiplied by 10E8"},"executedQuantityQNT":{"$ref":"#/components/schemas/quantity"},"executedVolumeNQT":{"$ref":"#/components/schemas/amount"},"height":{"type":"integer","format":"int32","description":"The block height"},"type":{"type":"string","enum":["bid","ask"],"description":"The type of the related order"},"status":{"type":"string","enum":["open","filled","cancelled"],"description":"The current status of the order"},"name":{"$ref":"#/components/schemas/assetName"},"decimals":{"type":"integer","description":"The number of decimals for this token.
If you issue a token with 2 decimals, then it can be fractioned in per hundreds, i.e. 0.01. To have an integral token you need to consider the decimals. So, one token is a quantity of 100","minimum":0,"maximum":8},"trades":{"type":"array","description":"The current trades for the given order","items":{"$ref":"#/components/schemas/trade"}}},"example":{"order":"9055151440434729976","asset":"914948012239561046","account":"16357368130745732388","accountRS":"TS-C5B6-NTGQ-KTLB-GDA28","quantityQNT":"1000000000","priceNQT":"1","height":306935,"name":"TTH","decimals":8,"price":"100000000","executedQuantityQNT":"1000000000","executedVolumeNQT":"1000000000","type":"bid","status":"filled","trades":[{"timestamp":216266229,"quantityQNT":"1000000000","priceNQT":"1","asset":"914948012239561046","askOrder":"16680928117574430321","bidOrder":"9055151440434729976","askOrderHeight":306935,"seller":"16357368130745732388","sellerRS":"TS-C5B6-NTGQ-KTLB-GDA28","buyer":"16357368130745732388","buyerRS":"TS-C5B6-NTGQ-KTLB-GDA28","block":"11289336779260526797","height":306935,"tradeType":"buy","name":"TTH","decimals":8,"price":"100000000"}]}}}}}}}},"500":{"$ref":"#/components/responses/error"}}}},"/api?requestType=getAliasesOnSale":{"get":{"summary":"Get Aliases On Sale","description":"Get all aliases, which are on sale, i.e. can be bought.","tags":["alias"],"parameters":[{"name":"account","in":"query","required":false,"allowEmptyValue":false,"description":"The account identifier of the owner. This way one can list which of the owned aliases are on sale","schema":{"$ref":"#/components/schemas/address"}},{"name":"buyer","in":"query","required":false,"allowEmptyValue":false,"description":"The account identifier of the buyer. This parameter is useful when to see if there are direct sales/offers for a specific account","schema":{"$ref":"#/components/schemas/address"}},{"$ref":"#/components/parameters/firstIndex"},{"$ref":"#/components/parameters/lastIndex"}],"responses":{"200":{"description":"The list of aliases.","content":{"application/json":{"schema":{"type":"object","required":["aliases"],"properties":{"aliases":{"type":"array","items":{"$ref":"#/components/schemas/alias"}}},"example":{"aliases":[{"account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","aliasName":"QAJA","aliasURI":"magic","timestamp":251228597,"alias":"6442930183499063033","priceNQT":"1500000000"},{"account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","aliasName":"superduperalias","aliasURI":"Contentchange....","timestamp":251224892,"alias":"8468600040485258181","priceNQT":"500000000","buyer":"6502115112683865257"}],"requestProcessingTime":35}}}}},"500":{"$ref":"#/components/responses/error"}}}}},"components":{"schemas":{"account":{"type":"object","required":["balanceNQT","unconfirmedBalanceNQT","forgedBalanceNQT","guaranteedBalanceNQT","account","accountRS","isAT","isSecured"],"properties":{"balanceNQT":{"description":"Your total balance, including commitment and reserved orders","type":"integer","format":"int64","example":["100000000","1000000"]},"unconfirmedBalanceNQT":{"description":"The currently available balance.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"committedBalanceNQT":{"description":"Your committed balance.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"forgedBalanceNQT":{"description":"The balance forged by you (Solo-Mining only).
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"guaranteedBalanceNQT":{"description":"Your total balance, including commitment and reserved orders.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"commitmentNQT":{"description":"The current network commitment estimate per TiB.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"accountRSExtended":{"description":"The extended address carries the public key base36 encoded","type":"string","example":["TS-QAJA-QW5Y-SWVP-4RVP4-4U4ZCOBGZ9UPEQZQH4TSPXADMT7VHPPI53ZTWNUK9NZLXSDRNU"]},"publicKey":{"$ref":"#/components/schemas/hash"},"name":{"type":"string","description":"The name of the account, if it was set with [Set Account Info](#post-/api-requestType-setAccountInfo)"},"description":{"type":"string","description":"The description of the account, if it was set with [Set Account Info](#post-/api-requestType-setAccountInfo)"},"isAT":{"type":"boolean","description":"Indicates whether this account is a Smart Contract or not"},"isSecured":{"type":"boolean","description":"Indicates whether this account is considered secure, i.e. it has a public key assigned, or not. Not secured accounts should not hold any balances! ⚠️"},"assetBalances":{"description":"The total token balances (in _quantity_) which this account owns, including reserved ones","type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/numericId"},"balanceQNT":{"$ref":"#/components/schemas/quantity"}}}},"unconfirmedAssetBalances":{"description":"The __available__ token balances (in _quantity_) which this account owns, excluding reserved ones","type":"array","items":{"type":"object","properties":{"asset":{"$ref":"#/components/schemas/numericId"},"unconfirmedBalanceQNT":{"$ref":"#/components/schemas/quantity"}}}}},"example":{"balanceNQT":"6175175744000","unconfirmedBalanceNQT":"6175175744000","forgedBalanceNQT":"0","guaranteedBalanceNQT":"6175175744000","account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","accountRSExtended":"TS-QAJA-QW5Y-SWVP-4RVP4-4U4ZCOBGZ9UPEQZQH4TSPXADMT7VHPPI53ZTWNUK9NZLXSDRNU","publicKey":"c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4a","name":"ohager","description":"{\"nm\":\"ohager\",\"ds\":\"Just a simple dev... or not?\",\"av\":{\"QmbbjnCFd8jELVZkVtokChaYAxFMjoGsuwhNeiPrgZGgo3\":\"image/png\"},\"bg\":{\"Qmd45gVYNvz5LPuNfrx8zDH571kz4h8vTRHdZhSFRZx3Hz\":\"image/jpeg\"},\"hp\":\"https://signum.network\",\"tw\":\"https://twitter.com/ohager5\",\"sc\":[]}","isAT":false,"iSecured":true,"assetBalances":[{"asset":"6874634292089191957","balanceQNT":"100000000"},{"asset":"10743546598959382439","balanceQNT":"100000"},{"asset":"11919272490103489319","balanceQNT":"100000"},{"asset":"3245640698634046189","balanceQNT":"1000"}],"unconfirmedAssetBalances":[{"asset":"6874634292089191957","unconfirmedBalanceQNT":"100000000"},{"asset":"10743546598959382439","unconfirmedBalanceQNT":"100000"},{"asset":"11919272490103489319","unconfirmedBalanceQNT":"100000"},{"asset":"3245640698634046189","unconfirmedBalanceQNT":"1000"}],"requestProcessingTime":12}},"address":{"type":"string","oneOf":[{"$ref":"#/components/schemas/rsAddress"},{"$ref":"#/components/schemas/numericId"}],"description":"The account identifier as numeric Id or Reed-Solomon encoded address, i.e. S-XXXX-XXXX-XXXX-XXXXX","example":["S-5MS6-5FBY-74H4-9N4HS","TS-QAJA-QW5Y-SWVP-4RVP4","895212263565386113"]},"alias":{"type":"object","required":["account","accountRS","aliasName","timestamp","alias"],"properties":{"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"aliasName":{"description":"The name of the alias","type":"string","pattern":"^[a-zA-Z0-9_]{1,100}$"},"aliasURI":{"description":"The content of the alias","type":"string","maxLength":1000},"tld":{"description":"The id of the TLD","type":"integer","format":"int64"},"tldName":{"description":"The name of the TLD","type":"string","pattern":"^[a-zA-Z0-9]{1,40}$"},"priceNQT":{"description":"The price in Planck wanted for the alias.When an alias has this field is it available for buying, i.e. it is On Sale.","type":"integer","format":"int64","example":["100000000","1000000"]},"buyer":{"description":"The potential buyer of this alias. When this field is given, only that account can buy the alias","type":"integer","format":"int64"},"numberOfAliases":{"description":"If the alias is a TLD, the number of aliases registered to that TLD is returned","type":"integer"},"timestamp":{"$ref":"#/components/schemas/timestamp"}},"example":{"account":"2402520554221019656","accountRS":"TS-QAJA-QW5Y-SWVP-4RVP4","aliasName":"superduperalias","aliasURI":"Contentchange....","timestamp":251224892,"alias":"8468600040485258181","priceNQT":"500000000","buyer":"6502115112683865257","tld":"0","tldName":"signum"}},"aliasId":{"type":"integer","format":"int64","description":"The alias identifier","required":true,"example":["4498738268646491227"]},"amount":{"type":"integer","format":"int64","description":"The amount is always returned in Planck, that is Signa multiplied by 10E8","example":["100000000","1000000"]},"asset":{"type":"object","required":["account","accountRS","issuer","issuerRS","publicKey","name","description","decimals","mintable","quantityQNT","quantityBurntQNT","quantityCirculatingQNT","asset","numberOfTrades","numberOfTransfers","numberOfAccounts","volumeQNT","priceHigh","priceLow","priceOpen","priceClose"],"properties":{"asset":{"$ref":"#/components/schemas/assetId"},"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"issuer":{"$ref":"#/components/schemas/numericId"},"issuerRS":{"$ref":"#/components/schemas/rsAddress"},"publicKey":{"type":"string","description":"The issuers public key. If the key is zeroed, then it is a token controlled by a smart contract","example":"c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4a"},"name":{"$ref":"#/components/schemas/assetName"},"description":{"type":"integer","description":"The description"},"decimals":{"type":"integer","description":"The number of decimals for this token.
If you issue a token with 2 decimals, then it can be fractioned in per hundreds, i.e. 0.01. To have an integral token you need to consider the decimals. So, one token is a quantity of 100","minimum":0,"maximum":8},"mintable":{"type":"boolean","description":"Set the token mintable, i.e. allow a dynamic supply (potentially inflationary), or define a fixed supply (deflationary)","example":[true,false]},"quantityQNT":{"type":"integer","format":"int64","description":"The total quantity (maximum supply) expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"quantityCirculatingQNT":{"type":"integer","format":"int64","description":"The __circulating__ quantity expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"quantityBurntQNT":{"type":"integer","format":"int64","description":"The __burnt__ quantity expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000.","example":["25000000"]},"numberOfTrades":{"type":"integer","description":"Total number of trades"},"numberOfTransfers":{"type":"integer","description":"Total number of transfers"},"numberOfAccounts":{"type":"integer","description":"Total number of accounts owning this token"},"volumeQNT":{"type":"integer","format":"int64","description":"The traded volume quantity for the given period expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"priceHigh":{"type":"integer","format":"int64","description":"The highest price in Planck volume given period.","example":["25000000"]},"priceLow":{"type":"integer","format":"int64","description":"The lowest price in Planck volume given period.","example":["25000000"]},"priceOpen":{"type":"integer","format":"int64","description":"The opening (first) price in Planck volume given period.","example":["25000000"]},"priceClose":{"type":"integer","format":"int64","description":"The closing (last) price in Planck volume given period.","example":["25000000"]}},"example":{"account":"10657861381637251164","accountRS":"TS-HA4W-GPUX-QPWD-BN4U9","issuer":"13112229684715917355","issuerRS":"TS-863D-FNXF-WVPM-DZZXD","publicKey":"4d6c56919197e341dd6a0253471e16bfbe223ad0076937c466d8aff56b21dd7b","name":"HeaderOK","description":"A check if it works with the new headers","decimals":5,"mintable":true,"quantityQNT":"10000000","quantityBurntQNT":"0","asset":"10306293061970746065","quantityCirculatingQNT":"10000000","numberOfTrades":0,"numberOfTransfers":0,"numberOfAccounts":1,"volumeQNT":"0","priceHigh":"0","priceLow":"0","priceOpen":"0","priceClose":"0","requestProcessingTime":103}},"assetDetail":{"type":"object","required":["account","accountRS","issuer","issuerRS","publicKey","name","description","decimals","mintable","quantityQNT","quantityBurntQNT","quantityCirculatingQNT","asset","numberOfTrades","numberOfTransfers","numberOfAccounts","volumeQNT","priceHigh","priceLow","priceOpen","priceClose"],"properties":{"asset":{"$ref":"#/components/schemas/assetId"},"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"issuer":{"$ref":"#/components/schemas/numericId"},"issuerRS":{"$ref":"#/components/schemas/rsAddress"},"publicKey":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"The public key of the issuer. That way we can determine if the token was issued by a human or smart contract, i.e. key consists of zeroes only.","example":["6e1a0abea0cbacdc8c77a7de2868360d3e667b276a2f32bb847579d126d63e78","0000000000000000000000000000000000000000000000000000000000000000"]},"name":{"$ref":"#/components/schemas/assetName"},"description":{"type":"integer","description":"The description"},"decimals":{"type":"integer","description":"The number of decimals for this token.
If you issue a token with 2 decimals, then it can be fractioned in per hundreds, i.e. 0.01. To have an integral token you need to consider the decimals. So, one token is a quantity of 100","minimum":0,"maximum":8},"mintable":{"type":"boolean","description":"Set the token mintable, i.e. allow a dynamic supply (potentially inflationary), or define a fixed supply (deflationary)","example":[true,false]},"quantityQNT":{"type":"integer","format":"int64","description":"The total quantity (maximum supply) expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"quantityCirculatingQNT":{"type":"integer","format":"int64","description":"The __circulating__ quantity expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"quantityBurntQNT":{"type":"integer","format":"int64","description":"The __burnt__ quantity expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"numberOfTrades":{"type":"integer","description":"Total number of trades"},"numberOfTransfers":{"type":"integer","description":"Total number of transfers"},"numberOfAccounts":{"type":"integer","description":"Total number of accounts owning this token"},"volumeQNT":{"type":"integer","format":"int64","description":"The traded volume quantity for the given period expressed as integral quantity e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["25000000"]},"priceHigh":{"type":"integer","format":"int64","description":"The highest price in Planck volume given period.","example":["25000000"]},"priceLow":{"type":"integer","format":"int64","description":"The lowest price in Planck volume given period.","example":["25000000"]},"priceOpen":{"type":"integer","format":"int64","description":"The opening (first) price in Planck volume given period.","example":["25000000"]},"priceClose":{"type":"integer","format":"int64","description":"The closing (last) price in Planck volume given period.","example":["25000000"]}},"example":{"account":"16357368130745732388","accountRS":"TS-C5B6-NTGQ-KTLB-GDA28","issuer":"16357368130745732388","issuerRS":"TS-C5B6-NTGQ-KTLB-GDA28","publicKey":"42a9845e8d684ba0eb3591de28335667a5580ca394543ee097286c8adff6fd58","name":"TTH","description":"This is test token is test net","decimals":8,"mintable":false,"quantityQNT":"10000000000000","quantityBurntQNT":"0","asset":"914948012239561046","quantityCirculatingQNT":"10000000000000","numberOfTrades":10,"numberOfTransfers":1,"numberOfAccounts":3,"volumeQNT":"0","priceHigh":"0","priceLow":"0","priceOpen":"0","priceClose":"0","requestProcessingTime":109}},"assetId":{"type":"integer","format":"int64","description":"The token identifier","required":true,"example":["12402415494995249540","914948012239561046"]},"assetName":{"type":"string","description":"The name and symbol of this token. You can only use up to ten alphanumeric characters and no special chars","pattern":"^a-zA-Z0-9{1,10}$"},"blockId":{"type":"integer","format":"int64","description":"The block identifier","required":true,"example":["11398460215168332532"]},"block":{"type":"object","required":["block","height","generator","generatorRS","generatorPublicKey","nonce","scoopNum","timestamp","numberOfTransactions","totalAmountNQT","totalFeeNQT","totalFeeCashBackNQT","totalFeeBurntNQT","blockRewardNQT","blockReward","payloadLength","version","baseTarget","averageCommitmentNQT","previousBlock","payloadHash","generationSignature","previousBlockHash","blockSignature","transactions"],"properties":{"block":{"$ref":"#/components/schemas/blockId"},"height":{"type":"integer","description":"The block height"},"generator":{"$ref":"#/components/schemas/numericId"},"generatorRS":{"$ref":"#/components/schemas/rsAddress"},"generatorPublicKey":{"$ref":"#/components/schemas/hash"},"nonce":{"type":"integer","description":"The nonce"},"scoopNum":{"type":"integer","description":"The scoop number"},"timestamp":{"$ref":"#/components/schemas/timestamp"},"numberOfTransactions":{"type":"integer","description":"Amount of transaction in this block"},"totalAmountNQT":{"$ref":"#/components/schemas/amount"},"totalFeeNQT":{"$ref":"#/components/schemas/amount"},"totalFeeCashBackNQT":{"$ref":"#/components/schemas/amount"},"totalFeeBurntNQT":{"$ref":"#/components/schemas/amount"},"blockRewardNQT":{"$ref":"#/components/schemas/amount"},"averageCommitmentNQT":{"$ref":"#/components/schemas/amount"},"blockReward":{"type":"number","description":"The block reward in Signa"},"payloadLength":{"type":"integer","description":"The total payload length of this block in bytes"},"version":{"type":"integer","description":"The version number"},"baseTarget":{"type":"integer","description":"The base target"},"previousBlock":{"$ref":"#/components/schemas/blockId"},"nextBlockBlock":{"$ref":"#/components/schemas/blockId"},"payloadHash":{"$ref":"#/components/schemas/hash"},"previousBlockHash":{"$ref":"#/components/schemas/hash"},"generationSignature":{"$ref":"#/components/schemas/hash"},"blockSignature":{"$ref":"#/components/schemas/hash"},"transactions":{"oneOf":[{"$ref":"#/components/schemas/transactionId"},{"$ref":"#/components/schemas/transaction"}]}},"example":{"block":"15665862983517409283","height":440000,"generator":"5812913123670292755","generatorRS":"TS-7YAM-Q2DB-UXXS-7XWC3","generatorPublicKey":"8fb6c5d4796456db486f13787556025d43ea45313e9700edb7235393927bb10b","nonce":"602132449","scoopNum":3626,"timestamp":250505935,"numberOfTransactions":1,"totalAmountNQT":"80928699501","totalFeeNQT":"2367500","totalFeeCashBackNQT":"500000","totalFeeBurntNQT":"367500","blockRewardNQT":"128500000000","blockReward":"1285","payloadLength":306,"version":4,"baseTarget":"77907000","averageCommitmentNQT":"64900286119936","previousBlock":"5842492053646632379","nextBlock":"148718892402808269","payloadHash":"f21fe20434e01844766b8e3ec5a026396f1242a3c6e85d55d7a049efbc0eb739","generationSignature":"a478945d1348fa27db4909e2ad682f228c24b6caf876abb3f3b3a859c679b969","previousBlockHash":"bb65a66491b3145176d80eeb9a3d79c43ee4197afa3dcd3c0f588bc25dd308e9","blockSignature":"dc9a26ca67f602d0f27afcde2f9a0e02c2089cab60f0cb58553db0b70736280610284676d146baac5e6a1edf990c12cde6bdf57999ba1f2ddf7805ccdc801c6a","transactions":["10353980237237387409"]}},"contractAddress":{"type":"string","description":"The contracts address as Reed-Solomon encoded address, i.e. S-XXXX-XXXX-XXXX-XXXXX","pattern":"^S|TS-[0-9A-Z]{4}[0-9A-Z]{4}[0-9A-Z]{4}[0-9A-Z]{5}$","example":["\tS-LJ5Q-XTHJ-MY9B-2UPKR","TS-DC2Q-C6GX-R56T-GHUN8"]},"contractData":{"type":"integer","format":"int64","description":"The contract identifier","required":true},"contractId":{"type":"integer","format":"int64","description":"The numeric contract identifier","required":true,"example":["848571112765341814","16380523479488112662"]},"contract":{"type":"object","required":["balanceNQT","unconfirmedBalanceNQT","forgedBalanceNQT","guaranteedBalanceNQT","account","accountRS"],"properties":{"at":{"$ref":"#/components/schemas/contractId"},"atRS":{"$ref":"#/components/schemas/contractAddress"},"name":{"description":"The name of this contract ","type":"string","pattern":"^[a-zA-Z0-9]{1,30}$"},"description":{"description":"The description of the contract","type":"string","maxLength":1000},"machineData":{"description":"The current data stack of the contract in hexadecimal form. You can inspect the data using the [Contract Inspector](https://contracts-inspector.ohager.vercel.app/)","type":"string","pattern":"^[a-fA-F0-9]+$"},"balanceNQT":{"description":"The contracts current balance.
Mind that contracts without balance do not run at all.
The amount is always returned in Planck, that is Signa multiplied by 10E8","type":"integer","format":"int64","example":["100000000","1000000"]},"prevBalanceNQT":{"description":"The contracts previous balance.","type":"integer","format":"int64","example":["100000000","1000000"]},"nextBlock":{"description":"The next block when this contract will be ready to run","type":"integer","format":"int32"},"frozen":{"description":"Indicates if a contract is stuck, i.e. due to insufficient balance.
Do not rely on that status. Once frozen, this status never gets rest to zero, although the contract is able to run.
Read about contract states also [here](https://github.com/deleterium/SmartC/blob/stable/docs/1-Basis.md#contract-states)","type":"boolean","example":[true,false]},"stopped":{"description":"Indicates if a contract stopped (by sleep or halt instruction) and waiting for continuation.
Read about contract states also [here](https://github.com/deleterium/SmartC/blob/stable/docs/1-Basis.md#contract-states)","type":"boolean","example":[true,false]},"finished":{"description":"Indicates that a contract finished entirely his current execution cycle.
Read about contract states also [here](https://github.com/deleterium/SmartC/blob/stable/docs/1-Basis.md#contract-states)","type":"boolean","example":[true,false]},"dead":{"description":"Indicates that a contract suffered a severe error and is lost.
Read about contract states also [here](https://github.com/deleterium/SmartC/blob/stable/docs/1-Basis.md#contract-states)","type":"boolean","example":[true,false]},"machineCode":{"description":"The code","type":"string","pattern":"^[a-fA-F0-9]+$"},"creationMachineData":{"description":"The initial data when contract was created","type":"string","pattern":"^[a-fA-F0-9]+$"},"machineCodeHashId":{"description":"The hash id for the contracts code. So, we can identify different instances of the same contract code by this identifier.","type":"integer","format":"int64","example":["17139226199807531405"]},"atVersion":{"description":"The version of this contract","type":"integer","format":"int32"},"creator":{"$ref":"#/components/schemas/numericId"},"creatorRS":{"$ref":"#/components/schemas/rsAddress"},"minActivation":{"type":"integer","format":"int64","description":"The amount needed to activate an execution of the contract, i.e.is always returned in Planck, that is Signa multiplied by 10E8","example":["25000000"]},"creationBlock":{"description":"The block when this contract was created.","type":"integer","format":"int32"}},"example":{"at":"16380523479488112662","machineData":"0000000000000000...","balanceNQT":"0","prevBalanceNQT":"0","nextBlock":440889,"frozen":false,"running":false,"stopped":true,"finished":false,"dead":false,"machineCodeHashId":"17139226199807531405","atVersion":3,"atRS":"TS-DC2Q-C6GX-R56T-GHUN8","name":"RESTPOOL","description":"Some description","creator":"2402520554221019656","creatorRS":"TS-QAJA-QW5Y-SWVP-4RVP4","machineCode":"12ed000000303304030300...","creationMachineData":"000000000000000000000000...","minActivation":"25000000","creationBlock":440889}},"hash":{"type":"string","pattern":"^[a-fA-F0-9]{64}$","description":"A hexadecimal string of fixed size representing 256 Bit Hashes (SHA-256)","example":"c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4a"},"hexString":{"type":"string","pattern":"^[a-fA-F0-9]+$","description":"A hexadecimal string of arbitrary length"},"numericId":{"type":"integer","format":"int64","description":"The account identifier as numeric Id","example":["895212263565386112","2402520554221019656"]},"orderId":{"type":"integer","format":"int64","description":"The order identifier","required":true,"example":["6954612694592252012"]},"order":{"type":"object","description":"The order object","required":["order","asset","account","accountRS","quantityQNT","priceNQT","price","height","type"],"properties":{"order":{"$ref":"#/components/schemas/orderId"},"asset":{"$ref":"#/components/schemas/assetId"},"account":{"$ref":"#/components/schemas/numericId"},"accountRS":{"$ref":"#/components/schemas/rsAddress"},"quantityQNT":{"$ref":"#/components/schemas/quantity"},"priceNQT":{"type":"integer","format":"int64","description":"The price in __planck per one token quantity__. To get the right Planck expression use either `price` field or this formula: `(priceNQT * 10^8) * 10^(decimals-8)`"},"price":{"type":"integer","format":"int64","description":"The price __per integral token__, i.e. if a token has 2 (two) decimals, then this amount is per 100 QNT (Quantity). The amount is always returned in Planck, that is Signa multiplied by 10E8"},"height":{"type":"integer","description":"The block height"},"type":{"type":"string","description":"The type of the order","enum":["ask","bid"]}},"example":{"order":"12287063733956918204","asset":"2742339563614125644","account":"5812913123670292755","accountRS":"S-7YAM-Q2DB-UXXS-7XWC3","quantityQNT":"1301635506","priceNQT":"600","height":1042886,"type":"ask"}},"quantity":{"type":"integer","format":"int64","description":"The quantity is a tokens amount. It depends on the decimals a token supports, e.g. the quantity=100 of a token with 2 decimals is expressed as 10000","example":["10000"]},"rsAddress":{"type":"string","description":"The account identifier as Reed-Solomon encoded address, i.e. S-XXXX-XXXX-XXXX-XXXXX","pattern":"^S|TS-[0-9A-Z]{4}[0-9A-Z]{4}[0-9A-Z]{4}[0-9A-Z]{5}$","example":["S-5MS6-5FBY-74H4-9N4HS","TS-QAJA-QW5Y-SWVP-4RVP4"]},"signedTransaction":{"type":"object","example":{"broadcasted":true,"transaction":"6954612694592252012","fullHash":"6ce8970b66bf8360108df8d4675c275ab2acd549219928c4d0ae4a62a284b1c7","transactionBytes":"01207daef60e1800c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4aa98438cc3e273c5a000000000000000040420f000000000000000000000000000000000000000000000000000000000000000000000000009204b3eca152b72141cdfebbdbfad14c4c79a7f68f04eb5daf7f04a817495f09cca5cf85566ea2b28178702fba7aedae29728af7cd640f5b1e02b8facb21134c0100000084bf060078948b159669656904cfe1531b543c7c010400008074657374","signatureHash":"78c4b094c0b8b1d35c23738a5fabdcabbafd1e73a99a90e3280abf98452d783a","numberPeersSentTo":14,"unsignedTransactionBytes":"01207daef60e1800c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4aa98438cc3e273c5a000000000000000040420f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000084bf060078948b159669656904cfe1531b543c7c010400008074657374","transactionJSON":{"type":1,"subtype":0,"timestamp":251047549,"deadline":24,"senderPublicKey":"c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4a","recipient":"6502115112683865257","recipientRS":"TS-K37B-9V85-FB95-793HN","amountNQT":"0","feeNQT":"1000000","signature":"9204b3eca152b72141cdfebbdbfad14c4c79a7f68f04eb5daf7f04a817495f09cca5cf85566ea2b28178702fba7aedae29728af7cd640f5b1e02b8facb21134c","signatureHash":"78c4b094c0b8b1d35c23738a5fabdcabbafd1e73a99a90e3280abf98452d783a","fullHash":"6ce8970b66bf8360108df8d4675c275ab2acd549219928c4d0ae4a62a284b1c7","transaction":"6954612694592252012","attachment":{"version.Message":1,"message":"test","messageIsText":true},"attachmentBytes":"010400008074657374","sender":"2402520554221019656","senderRS":"TS-QAJA-QW5Y-SWVP-4RVP4","height":2147483647,"version":2,"ecBlockId":"7594592439957689464","ecBlockHeight":442244,"cashBackId":"8952122635653861124"}},"required":["transaction","fullHash"],"properties":{"transaction":{"$ref":"#/components/schemas/transactionId"},"fullHash":{"$ref":"#/components/schemas/hash"},"transactionBytes":{"type":"string","pattern":"^[a-fA-F0-9]+$","description":"The binary representation of the entire transaction. This can be parsed with (parseTransactionBytes)[#post-/api-requestType-parseTransaction]"},"signatureHash":{"$ref":"#/components/schemas/hash"},"numberPeersSentTo":{"type":"integer","format":"int32"},"broadcasted":{"type":"boolean"},"unsignedTransactionBytes":{"type":"string","pattern":"^[a-fA-F0-9]+$","description":"The binary representation of the entire _unsigned_ transaction. This can be parsed with (parseTransactionBytes)[#post-/api-requestType-parseTransaction]"},"transactionJSON":{"$ref":"#/components/schemas/transaction"},"requestProcessingTime":{"type":"integer"}}},"subscription":{"type":"object","description":"The subscription object","required":["id","sender","senderRS","recipient","recipientRS","amountNQT","frequency","timeNext"],"example":{"id":"8619057454706151122","sender":"14978592240935099976","senderRS":"TS-RRLA-B3Y7-L4EU-E8PRZ","recipient":"13379979993382958865","recipientRS":"TS-TFSK-X9RQ-6WDQ-DWTDM","amountNQT":"500000000","frequency":3600,"timeNext":251815720},"properties":{"id":{"$ref":"#/components/schemas/transactionId"},"sender":{"$ref":"#/components/schemas/numericId"},"senderRS":{"$ref":"#/components/schemas/rsAddress"},"recipient":{"$ref":"#/components/schemas/numericId"},"recipientRS":{"$ref":"#/components/schemas/rsAddress"},"amountNQT":{"$ref":"#/components/schemas/amount"},"frequency":{"description":"The frequency of the payment in seconds, e.g. per day is 86400 seconds, per month is 2592000 seconds. If no balance is available the subscription halts.","type":"integer","format":"int32","minimum":3600},"timeNext":{"description":"The timestamp of the next payment.","type":"integer","format":"int32"},"alias":{"description":"The Alias Id for alias renewal subscriptions","type":"integer","format":"int64"},"aliasName":{"description":"The Alias Name for alias renewal subscriptions","type":"string"},"tld":{"description":"The Alias' namespace Id aka Top Level Domain for alias renewal subscriptions","type":"integer","format":"int64"},"tldName":{"description":"The Alias' namespace Name aka Top Level Domain for alias renewal subscriptions","type":"string"}}},"timestamp":{"type":"integer","format":"int64","description":"The time in seconds since first Block (Genesis) of the chain."},"trade":{"type":"object","required":["timestamp","quantityQNT","priceNQT","asset","askOrder","bidOrder","askOrderHeight","seller","sellerRS","buyer","buyerRS","block","height","tradeType"],"properties":{"timestamp":{"$ref":"#/components/schemas/timestamp"},"quantityQNT":{"$ref":"#/components/schemas/quantity"},"priceNQT":{"type":"integer","format":"int64","description":"The price in __planck per one token quantity__. To get the right Planck expression use either `price` field or this formula: `(priceNQT * 10^8) * 10^(decimals-8)`"},"price":{"type":"integer","format":"int64","description":"The price __per integral token__, i.e. if a token has 2 (two) decimals, then this amount is per 100 QNT (Quantity). The amount is always returned in Planck, that is Signa multiplied by 10E8"},"asset":{"$ref":"#/components/schemas/assetId"},"askOrder":{"type":"integer","format":"int64","description":"The transaction identifier for the related ask order","example":["4637171108934095676"]},"bidOrder":{"type":"integer","format":"int64","description":"The transaction identifier for the related bid order","example":["4401563845482941630"]},"askOrderHeight":{"type":"integer","format":"int32","description":"The block height of the ask order"},"seller":{"$ref":"#/components/schemas/numericId"},"sellerRS":{"$ref":"#/components/schemas/rsAddress"},"buyer":{"$ref":"#/components/schemas/numericId"},"buyerRS":{"$ref":"#/components/schemas/rsAddress"},"height":{"type":"integer","format":"int32","description":"The block height"},"tradeType":{"type":"string","enum":["buy","sell"],"description":"The type of this trade"},"decimals":{"type":"integer","description":"The number of decimals for this token.
If you issue a token with 2 decimals, then it can be fractioned in per hundreds, i.e. 0.01. To have an integral token you need to consider the decimals. So, one token is a quantity of 100","minimum":0,"maximum":8},"name":{"$ref":"#/components/schemas/assetName"}},"example":{"timestamp":250731878,"quantityQNT":"1000000000","priceNQT":"9900","asset":"13868324881938171674","askOrder":"15660969901831666464","bidOrder":"5514091683995249090","askOrderHeight":440941,"seller":"17986607040762404199","sellerRS":"TS-XRD9-TTTL-EVJP-H5C9M","buyer":"5812913123670292755","buyerRS":"TS-7YAM-Q2DB-UXXS-7XWC3","block":"2706031161374132414","height":440941,"tradeType":"buy","name":"TEST","decimals":4}},"transaction":{"type":"object","description":"The transaction object","example":{"type":1,"subtype":0,"timestamp":251047549,"deadline":24,"senderPublicKey":"c213e4144ba84af94aae2458308fae1f0cb083870c8f3012eea58147f3b09d4a","recipient":"6502115112683865257","recipientRS":"TS-K37B-9V85-FB95-793HN","amountNQT":"0","feeNQT":"1000000","signature":"9204b3eca152b72141cdfebbdbfad14c4c79a7f68f04eb5daf7f04a817495f09cca5cf85566ea2b28178702fba7aedae29728af7cd640f5b1e02b8facb21134c","signatureHash":"78c4b094c0b8b1d35c23738a5fabdcabbafd1e73a99a90e3280abf98452d783a","fullHash":"6ce8970b66bf8360108df8d4675c275ab2acd549219928c4d0ae4a62a284b1c7","transaction":"6954612694592252012","attachment":{"version.Message":1,"message":"test","messageIsText":true},"attachmentBytes":"010400008074657374","sender":"2402520554221019656","senderRS":"TS-QAJA-QW5Y-SWVP-4RVP4","height":2147483647,"version":2,"ecBlockId":"7594592439957689464","ecBlockHeight":442244,"cashBackId":"8952122635653861124","block":"13680738303626126726","confirmations":68148,"blockTimestamp":232452172},"required":["type","subtype","timestamp","deadline","senderPublicKey","recipient","recipientRS","amountNQT","feeNQT","signature","signatureHash","fullHash","transaction","sender","senderRS","height","version","ecBlockId","ecBlockHeight","cashBackId"],"properties":{"transaction":{"$ref":"#/components/schemas/transactionId"},"type":{"type":"integer","description":"The transaction type. See also [getConstants]() and [here](https://docs.signum.network/signum/transaction-types)"},"subtype":{"type":"integer","description":"The transaction subtype. See also [getConstants]() and [here](https://docs.signum.network/signum/transaction-types)"},"timestamp":{"$ref":"#/components/schemas/timestamp"},"deadline":{"type":"integer","description":"The deadline in minutes "},"sender":{"$ref":"#/components/schemas/numericId"},"senderRS":{"$ref":"#/components/schemas/rsAddress"},"senderPublicKey":{"$ref":"#/components/schemas/hash"},"recipient":{"$ref":"#/components/schemas/numericId"},"recipientRS":{"$ref":"#/components/schemas/rsAddress"},"amountNQT":{"$ref":"#/components/schemas/amount"},"feeNQT":{"$ref":"#/components/schemas/amount"},"signature":{"$ref":"#/components/schemas/hexString"},"signatureHash":{"$ref":"#/components/schemas/hash"},"fullHash":{"$ref":"#/components/schemas/hash"},"attachment":{"type":"object","description":"This is an arbitrary object carrying additional data, which depends mostly on the transaction type. It has no fixed structure. It always comes with a `version.` field.","example":[{"version.Message":1,"message":"Some Message","messageIsText":true}]},"attachmentBytes":{"$ref":"#/components/schemas/hexString"},"height":{"type":"integer","description":"The block height"},"version":{"type":"integer","description":"The version number of this structure"},"ecBlockId":{"type":"integer","format":"int64"},"ecBlockHeight":{"type":"integer","format":"int32"},"cashBackId":{"type":"integer","format":"int64","description":"The Account Id where part of the fees is being paid to.
Read more about cashback [here](https://github.com/signum-network/SIPs/blob/master/SIP/sip-35.md)"},"block":{"type":"integer","format":"int64","description":"The block Id of the transaction. This field is only available on forged/accepted transactions."},"blockTimestamp":{"$ref":"#/components/schemas/timestamp"}}},"transactionId":{"type":"integer","format":"int64","description":"The transaction identifier","required":true,"example":["6954612694592252012"]},"unsignedTransaction":{"type":"object","example":{"broadcasted":false,"unsignedTransactionBytes":"0120f2bef60e18007210b8941929030324540238450e985899989a7ad0267e0c76f668fde3b1016ba98438cc3e273c5a000000000000000040420f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000096bf0600f1a6038feba76e9804cfe1531b543c7c0109000080536f6d652074657874","transactionJSON":{"type":1,"subtype":0,"timestamp":251051762,"deadline":24,"senderPublicKey":"7210b8941929030324540238450e985899989a7ad0267e0c76f668fde3b1016b","recipient":"6502115112683865257","recipientRS":"TS-K37B-9V85-FB95-793HN","amountNQT":"0","feeNQT":"1000000","attachment":{"version.Message":1,"message":"Some text","messageIsText":true},"attachmentBytes":"0109000080536f6d652074657874","sender":"6502115112683865257","senderRS":"TS-K37B-9V85-FB95-793HN","height":2147483647,"version":2,"ecBlockId":"10983901171361752817","ecBlockHeight":442262,"cashBackId":"8952122635653861124"},"requestProcessingTime":11},"required":["unsignedTransactionBytes","transactionJSON"],"properties":{"broadcasted":{"type":"boolean","description":"This will be always false"},"unsignedTransactionBytes":{"type":"string","pattern":"^[a-fA-F0-9]+$","description":"The binary representation of the entire _unsigned_ transaction. This can be parsed with (parseTransactionBytes)[#post-/api-requestType-parseTransaction]"},"transactionJSON":{"$ref":"#/components/schemas/transaction"},"requestProcessingTime":{"type":"integer"}}}},"headers":{},"parameters":{"alias":{"name":"alias","in":"query","allowEmptyValue":false,"description":"The related alias identifier","schema":{"$ref":"#/components/schemas/aliasId"}},"tld":{"name":"tld","in":"query","description":"The TLD (namespace) of an alias. If not given the default TLD `signum` is applied.","required":false,"schema":{"type":"string","maxLength":"40","pattern":"^[a-zA-Z0-9]{1,40}$"}},"quantityQNT":{"name":"quantityQNT","in":"query","allowEmptyValue":false,"required":true,"description":"The quantity of tokens expressed as an integer value, considering the number of decimals of the related token. If a token has two decimals the quantity value for 100 token is 10000.","schema":{"$ref":"#/components/schemas/quantity"}},"priceNQT":{"name":"priceNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The price in __planck per one token quantity__. To get the right Planck expression use this formula: `(priceNQT * 10^8) * 10^(decimals-8)`","schema":{"type":"integer","format":"int64"}},"order":{"name":"order","in":"query","allowEmptyValue":false,"required":true,"description":"An order identifier","schema":{"$ref":"#/components/schemas/orderId"}},"asset":{"name":"asset","in":"query","allowEmptyValue":false,"required":true,"description":"The related token identifier","schema":{"$ref":"#/components/schemas/assetId"}},"apiKey":{"name":"apiKey","in":"query","allowEmptyValue":false,"description":"Any arbitrary string.
🔓 __Security Advice: Use a very strong and truly random key, or even disable admin operation entirely in your node config. Exposing admin operations is a security risk.__","schema":{"type":"string"}},"amountNQT":{"name":"amountNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The amount expressed in Planck, i.e. 1 Signa = 10E8 Planck = 100000000 Planck","schema":{"$ref":"#/components/schemas/amount"}},"feeNQT":{"name":"feeNQT","in":"query","allowEmptyValue":false,"required":true,"description":"The fee for this transaction expressed in Planck, i.e. 0.01 Signa = 0.01 * 10E8 Planck = 1000000 Planck - The fee depends on the transaction type, but minimum fee is 0.01 Signa
Read more about the fees [here](https://github.com/signum-network/SIPs/blob/master/SIP/sip-34.md)","schema":{"$ref":"#/components/schemas/amount"}},"secretPhrase":{"name":"secretPhrase","in":"query","allowEmptyValue":false,"description":"_Your_ secret passphrase.
🔓 __Security Advice: It's not recommended to pass this parameter to remote nodes unless you trust the node operator.__","schema":{"type":"string"}},"publicKey":{"name":"publicKey","in":"query","allowEmptyValue":false,"description":"The public key of the sending account.
If you send this key instead of the `secretPhrase`, you get the _unsigned_ transaction back, which can then be signed locally. In that case the transaction is not being published.","schema":{"$ref":"#/components/schemas/hash"}},"deadline":{"name":"deadline","in":"query","allowEmptyValue":false,"required":true,"description":"The deadline for how long the transaction may stay in the nodes mempool expressed in minutes until the transaction is being discarded","schema":{"type":"integer","format":"int32","minimum":1,"maximum":1440,"example":[60,120,1440]}},"broadcast":{"name":"broadcast","in":"query","allowEmptyValue":false,"description":"If set `false` the transaction will not be broadcast to the network","schema":{"type":"boolean","example":[true,false]}},"recipient":{"name":"recipient","in":"query","allowEmptyValue":false,"required":true,"description":"The recipients address. If the recipients address is `0` or `S-2222-2222-2222-22222` then you burn the tokens or coins sent to it.","schema":{"$ref":"#/components/schemas/address"}},"recipientPublicKey":{"name":"recipientPublicKey","in":"query","allowEmptyValue":false,"description":"If you send a the recipients public key with a transaction you can automatically register (and activate) an account within the blockchain.","schema":{"$ref":"#/components/schemas/hash"}},"referencedTransactionFullHash":{"name":"referencedTransactionFullHash","in":"query","allowEmptyValue":false,"description":"Using this field allows to make a transaction dependent on other transactions. This field will also be used for referencing carbon contracts","schema":{"$ref":"#/components/schemas/hash"}},"message":{"name":"message","in":"query","allowEmptyValue":false,"description":"It's possible to attach arbitrary data (in form of messages) to a transaction. The maximum limit is 1000 characters, either text or binary (in hex form)","schema":{"type":"string","maxLength":1000}},"messageIsText":{"name":"messageIsText","in":"query","allowEmptyValue":false,"description":"Determines if the attached `message` is either text or binary data (hexadecimal string)","schema":{"type":"boolean"},"example":[true,false]},"messageToEncrypt":{"name":"messageToEncrypt","in":"query","allowEmptyValue":false,"description":"It's possible to attach P2P encrypted arbitrary data (in form of messages) to a transaction. The maximum limit is 1000 characters, either text or binary (in hex form).
When using P2P encryption you need to pass `recipientPublicKey` also.
🔓 __Security Advice: When you use this you are sending the message in plain text to the node.__","schema":{"type":"string","maxLength":1000}},"messageToEncryptIsText":{"name":"messageToEncryptIsText","in":"query","allowEmptyValue":false,"description":"Determines if the attached `messageToEncrypt` is either text or binary data (hexadecimal string)","schema":{"type":"boolean"},"example":[true,false]},"encryptedMessageData":{"name":"encryptedMessageData","in":"query","allowEmptyValue":false,"description":"It's possible to encrypt the data locally and send the encrypted data for maximum security. Together with this field you need to send `encryptedMessageNonce` also.","schema":{"type":"string","maxLength":1000}},"encryptedMessageNonce":{"name":"encryptedMessageNonce","in":"query","allowEmptyValue":false,"description":"It's possible to encrypt the data locally and send the encrypted data for maximum security. Together with this field you need to send `encryptedMessageData` also.","schema":{"type":"string"}},"messageToEncryptToSelf":{"name":"messageToEncryptToSelf","in":"query","allowEmptyValue":false,"description":"When encrypting messages to yourself, you may want to use this field.","schema":{"type":"string","maxLength":1000}},"messageToEncryptToSelfIsText":{"name":"messageToEncryptToSelfIsText","in":"query","allowEmptyValue":false,"description":"Determines if the attached `messageToEncryptToSelf` is either text or binary data (hexadecimal string)","schema":{"type":"boolean"},"example":[true,false]},"encryptToSelfMessageData":{"name":"encryptToSelfMessageData","in":"query","allowEmptyValue":false,"description":"It's possible to encrypt the data locally and send the encrypted data for maximum security. Together with this field you need to send `encryptToSelfMessageNonce` also.","schema":{"type":"string","maxLength":1000}},"encryptToSelfMessageNonce":{"name":"encryptToSelfMessageNonce","in":"query","allowEmptyValue":false,"description":"It's possible to encrypt the data locally and send the encrypted data for maximum security. Together with this field you need to send `encryptToSelfMessageData` also.","schema":{"type":"string"}},"timestamp":{"name":"timestamp","in":"query","description":"The timestamp from which should be searched. Use this to get items only since that time. The time in seconds since first Block (Genesis) of the chain.","schema":{"type":"integer","format":"int64"}},"firstIndex":{"name":"firstIndex","in":"query","description":"The first index to be returned. Use this for pagination.","schema":{"type":"integer"}},"lastIndex":{"name":"lastIndex","in":"query","description":"The last index to be returned. Use this for pagination. If not set, at maximum 500 items beginning at `firstIndex` will be returned","schema":{"type":"integer"}},"account":{"name":"account","in":"query","required":true,"allowEmptyValue":false,"description":"The account identifier","schema":{"$ref":"#/components/schemas/address"}},"at":{"name":"at","in":"query","allowEmptyValue":false,"required":true,"description":"The contracts address.","schema":{"$ref":"#/components/schemas/contractId"}},"heightStart":{"name":"heightStart","in":"query","allowEmptyValue":true,"required":false,"description":"Define the start height for trading information over a given period - if not given the last 360 blocks (around 24hrs) are taken as trading period","schema":{"type":"integer"}},"heightEnd":{"name":"heightEnd","in":"query","allowEmptyValue":true,"required":false,"description":"Define the end height for trading information over a given period - if not given the current block is taken as end height","schema":{"type":"integer"}},"skipZeroVolume":{"name":"skipZeroVolume","in":"query","allowEmptyValue":true,"required":false,"description":"If set `true` all zero volumes are excluded","schema":{"type":"boolean","example":[true,false]}}},"responses":{"constants":{"description":"The constants of this blockchain chain instance - This information are the constant attributes of this blockchain","content":{"application/json":{"schema":{"type":"object","example":{"networkName":"Signum","genesisBlockId":"3444294670862540038","genesisAccountId":"0","maxBlockPayloadLength":375360,"maxArbitraryMessageLength":1000,"ordinaryTransactionLength":176,"addressPrefix":"S","valueSuffix":"SIGNA","blockTime":240,"decimalPlaces":8,"feeQuantNQT":1000000,"cashBackId":"8952122635653861124","cashBackFactor":4,"transactionTypes":[{"value":21,"description":"Advanced Payment","subtypes":[{"value":0,"description":"Escrow Creation","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"Escrow Sign","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":2,"description":"Escrow Result","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":3,"description":"Subscription Subscribe","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":4,"description":"Subscription Cancel","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":5,"description":"Subscription Payment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":2,"description":"Colored coins","subtypes":[{"value":0,"description":"Asset Issuance","minimumFeeConstantNQT":15000000000,"minimumFeeAppendagesNQT":0},{"value":1,"description":"Asset Transfer","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":2,"description":"Ask Order Placement","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":3,"description":"Bid Order Placement","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":4,"description":"Ask Order Cancellation","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":5,"description":"Bid Order Cancellation","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":6,"description":"Asset Mint","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":7,"description":"Asset Add Treasury Account","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":8,"description":"Asset Distribute to Holders","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":9,"description":"Asset Multi-Transfer","minimumFeeConstantNQT":2000000,"minimumFeeAppendagesNQT":1000000},{"value":10,"description":"Asset Transfer Ownership","minimumFeeConstantNQT":15000000000,"minimumFeeAppendagesNQT":0}]},{"value":3,"description":"Digital Goods","subtypes":[{"value":0,"description":"Listing","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"Delisting","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":2,"description":"Price Change","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":3,"description":"Quantity Change","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":4,"description":"Purchase","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":5,"description":"Delivery","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":6,"description":"Feedback","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":7,"description":"Refund","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":4,"description":"Account Control","subtypes":[{"value":0,"description":"Effective Balance Leasing","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":0,"description":"Payment","subtypes":[{"value":0,"description":"Ordinary Payment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"Multi-out payment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":2,"description":"Multi-out Same Payment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":22,"description":"Automated Transactions","subtypes":[{"value":0,"description":"AT Creation","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"AT Payment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":20,"description":"Mining","subtypes":[{"value":0,"description":"Reward Recipient Assignment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"Add Commitment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":2,"description":"Remove Commitment","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]},{"value":1,"description":"Messaging","subtypes":[{"value":0,"description":"Arbitrary Message","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":1,"description":"Alias Assignment","minimumFeeConstantNQT":20000000,"minimumFeeAppendagesNQT":0},{"value":5,"description":"Account Info","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":6,"description":"Alias Sell","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000},{"value":7,"description":"Alias Buy","minimumFeeConstantNQT":1000000,"minimumFeeAppendagesNQT":1000000}]}],"peerStates":[{"value":0,"description":"Non-connected"},{"value":1,"description":"Connected"},{"value":2,"description":"Disconnected"}],"requestProcessingTime":0}}}}},"empty":{"description":"Empty response. Operation executed successfully"},"error":{"description":"Error Response - __IMPORTANT: Error Responses always come with a HTTP Status Code 200 🤷__ ","content":{"application/json":{"schema":{"type":"object","required":["errorCode","errorDescription"],"example":{"errorCode":5,"errorDescription":"Unknown account","requestProcessingTime":2},"properties":{"errorDescription":{"type":"string","description":"The error message indicating what the issue is"},"errorCode":{"type":"integer","description":"The internal error code"}}}}}},"transaction":{"description":"Transaction Response","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/signedTransaction"},{"$ref":"#/components/schemas/unsignedTransaction"}]}}}},"transactionList":{"description":"Transaction List Response","content":{"application/json":{"schema":{"type":"object","description":"A list of transactions.
__Note__: For performance/stability reasons a node returns at maximum 500 items. All transaction query methods offer `firstIndex` and `lastIndex` to paginate through the transaction.","required":["transactions"],"properties":{"transactions":{"type":"array","items":{"$ref":"#/components/schemas/signedTransaction"},"maxLength":500}}}}}}}},"tags":[{"name":"account","description":"All Account related operations"},{"name":"payment","description":"Functions which are related to value transfers of the base currency \"Signa\"

The platform offers different types of payments: