Version: 0.7.7
License: Apache 2.0
Summary: Get account information
Description: Returns AccountInfo for an account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
accountId | path | Account address or publicKey. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | AccountInfoDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get accounts information
Description: Returns AccountsInfo for different accounts.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
addresses | body | Array of addresses. | Yes | addresses |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ AccountInfoDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get confirmed transactions information
Description: Gets an array of confirmed transaction for which an account is signer or recipient.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
publicKey | path | Account publicKey. | Yes | string |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
409 | invalid argument |
Summary: Get incoming transactions information
Description: Gets an array of transactions for which an account is the recipient. A transaction is said to be incoming regarding an account if the account is the recipient of a transaction.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
publicKey | path | Account publicKey. | Yes | string |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
409 | invalid argument |
Summary: Get outgoing transactions information
Description: Gets an array of transactions for which an account is the sender. A transaction is said to be outgoing regarding an account if the account is the sender of a transaction.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
publicKey | path | Account publicKey. | Yes | string |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
409 | invalid argument |
Summary: Get unconfirmed transactions information
Description: Gets the array of transactions for which an account is the sender or receiver and which have not yet been included in a block.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
publicKey | path | Account publicKey. | Yes | string |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
409 | invalid argument |
Summary: Get aggregate bonded transactions information
Description: Gets an array of aggregate bonded transactions for which an account is the sender or has signed the transaction. A transaction is said to be aggregate bonded regarding an account if announced but there are missing signatures.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
publicKey | path | Account publicKey. | Yes | string |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
409 | invalid argument |
Summary: Get multisig account information
Description: Returns MultisigAccountInfo for an account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
accountId | path | Account address or public key. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | MultisigAccountInfoDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get multisig account graph information
Description: Returns MultisigAccountGraphInfo for an account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
accountId | path | Account address or public key. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ MultisigAccountGraphInfoDTO ] |
404 | resource not found | |
409 | invalid argument |
Summary: Get blocks information
Description: Returns an array of BlockInfo for a given block height and limit.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | Block height. | Yes | long |
limit | path | Number of following blocks to be returned. | Yes | integer (int) |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ BlockInfoDTO ] |
409 | invalid argument |
Summary: Get block information
Description: Returns BlockInfo for a given block height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | Block height. | Yes | long |
Responses
Code | Description | Schema |
---|---|---|
200 | success | BlockInfoDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get transactions from a block
Description: Returns array of transactions included in a block for a block height.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
height | path | Block height | Yes | long |
pageSize | query | The number of transactions to return. Should be between 10 and 100, otherwise 10. | No | integer |
id | query | Identifier of the transaction after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
404 | resource not found | |
409 | invalid argument |
Summary: Get the current height of the chain
Description: Returns the current blockchain height.
Responses
Code | Description | Schema |
---|---|---|
200 | success | HeightDTO |
Summary: Get the current score of the chain
Description: Returns the current chain score.
Responses
Code | Description | Schema |
---|---|---|
200 | success | BlockchainScoreDTO |
Summary: Get the storage information
Description: Returns statistical information about the blockchain.
Responses
Code | Description | Schema |
---|---|---|
200 | success | BlockchainStorageInfoDTO |
Summary: Get mosaic information
Description: Returns MosaicInfo for a given mosaicId.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
mosaicId | path | Mosaic identifier. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | MosaicInfoDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get information for a set of mosaics
Description: Returns MosaicInfo for a given set of mosaicIds.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
mosaicIds | body | Array of mosaicIds. | Yes | mosaicIds |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ MosaicInfoDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get mosaics information.
Description: Returns an array of MosaicInfo from mosaics created under provided namespace.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
namespaceId | path | Namespace identifier. | Yes | string |
pageSize | query | The number of mosaics to return. | No | integer |
id | query | Identifier of the mosaic after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ MosaicInfoDTO ] |
409 | invalid argument |
Summary: Get readable names for a set of mosaics
Description: Returns names for mosaics.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
mosaicIds | body | Array of mosaicIds. | Yes | mosaicIds |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ MosaicNameDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get namespace information
Description: Returns NamespaceInfo for a given namespaceId.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
namespaceId | path | Namespace identifier. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | NamespaceInfoDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get namespaces an account owns
Description: Returns an array of NamespaceInfo for an account.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
accountId | path | Account address or public key. | Yes | string |
pageSize | query | The number of namespaces to return. | No | integer |
id | query | Identifier of the namespace after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ NamespaceInfoDTO ] |
409 | invalid argument |
Summary: Get namespaces information
Description: Returns an array of NamespaceInfo for a given set of addresses.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
addresses | body | Accounts address array. | Yes | addresses |
pageSize | query | The number of namespaces to return. | No | integer |
id | query | Identifier of the namespace after which we want the transactions to be returned. | No | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ NamespaceInfoDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get readable names for a set of namespaces
Description: Returns names for namespaces.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
namespaceIds | body | Array of namespaceIds. | Yes | namespaceIds |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ NamespaceNameDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get transaction information
Description: Returns transaction given its transactionId or hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
transactionId | path | TransactionId or hash. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | object |
404 | resource not found | |
409 | invalid argument |
Summary: Get transactions information
Description: Returns transaction information for a given set of transactionId or hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
transactionIds | body | Array of transactionIds or hashes. | Yes | transactionIds |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ object ] |
400 | invalid content | |
409 | invalid argument |
Summary: Announce a new transaction
Description: Announces a transaction to the network.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
payload | body | Transaction payload. | Yes | transactionPayload |
Responses
Code | Description | Schema |
---|---|---|
202 | success | object |
400 | invalid content | |
409 | invalid argument |
Summary: Announce an aggregate bonded transaction
Description: Announces an aggregate bonded transaction to the network.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
payload | body | Transaction payload. | Yes | transactionPayload |
Responses
Code | Description | Schema |
---|---|---|
202 | success | object |
400 | invalid content | |
409 | invalid argument |
Summary: Announce a cosignature transaction
Description: Announces a cosignature transaction to the network.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
payload | body | Transaction payload. | Yes | transactionPayload |
Responses
Code | Description | Schema |
---|---|---|
202 | success | object |
400 | invalid content | |
409 | invalid argument |
Summary: Get transaction status
Description: Returns transaction status for a given transactionId or hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
hash | path | Transaction hash. | Yes | string |
Responses
Code | Description | Schema |
---|---|---|
200 | success | TransactionStatusDTO |
404 | resource not found | |
409 | invalid argument |
Summary: Get transactions status.
Description: Returns an array of transaction statuses for a given set of transactionId or hash.
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
transactionHashes | body | Array of transactionIds or hashes. | Yes | transactionHashes |
Responses
Code | Description | Schema |
---|---|---|
200 | success | [ TransactionStatusDTO ] |
400 | invalid content | |
409 | invalid argument |
Summary: Get the current network type of the chain
Description: Returns the current network type.
Responses
Code | Description | Schema |
---|---|---|
200 | success | NetworkTypeDTO |
Name | Type | Description | Required |
---|---|---|---|
meta | AccountMetaDTO | Yes | |
account | AccountDTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
AccountMetaDTO | object |
Name | Type | Description | Required |
---|---|---|---|
address | string | Yes | |
addressHeight | UInt64DTO | Yes | |
publicKey | string | Yes | |
publicKeyHeight | UInt64DTO | Yes | |
mosaics | [ MosaicDTO ] | Yes | |
importance | UInt64DTO | Yes | |
importanceHeight | UInt64DTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
level | integer | Yes | |
multisigEntries | [ MultisigAccountInfoDTO ] | Yes |
Name | Type | Description | Required |
---|---|---|---|
multisig | Multisig | Yes |
Name | Type | Description | Required |
---|---|---|---|
account | string | Yes | |
accountAddress | string | No | |
minApproval | integer | Yes | |
minRemoval | integer | Yes | |
cosignatories | [ string ] | Yes | |
multisigAccounts | [ string ] | Yes |
Name | Type | Description | Required |
---|---|---|---|
message | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
group | string | No | |
status | string | Yes | |
hash | string | No | |
deadline | UInt64DTO | No | |
height | UInt64DTO | No |
Name | Type | Description | Required |
---|---|---|---|
id | UInt64DTO | Yes | |
amount | UInt64DTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
meta | NamespaceMosaicMetaDTO | Yes | |
mosaic | MosaicDefinitionDTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
active | boolean | Yes | |
index | integer | Yes | |
id | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
namespaceId | UInt64DTO | Yes | |
mosaicId | UInt64DTO | Yes | |
supply | UInt64DTO | Yes | |
height | UInt64DTO | Yes | |
owner | string | Yes | |
properties | MosaicPropertiesDTO | Yes | |
levy | object | Yes |
Name | Type | Description | Required |
---|---|---|---|
MosaicPropertiesDTO | array |
Name | Type | Description | Required |
---|---|---|---|
parentId | UInt64DTO | Yes | |
mosaicId | UInt64DTO | Yes | |
name | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
meta | NamespaceMosaicMetaDTO | Yes | |
namespace | NamespaceDTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
type | integer | Yes | |
depth | integer | Yes | |
level0 | UInt64DTO | Yes | |
level1 | UInt64DTO | No | |
level2 | UInt64DTO | No | |
parentId | UInt64DTO | Yes | |
owner | string | Yes | |
ownerAddress | string | No | |
startHeight | UInt64DTO | Yes | |
endHeight | UInt64DTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
parentId | UInt64DTO | No | |
namespaceId | UInt64DTO | Yes | |
name | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
meta | BlockMetaDTO | Yes | |
block | BlockDTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
hash | string | Yes | |
generationHash | string | Yes | |
totalFee | UInt64DTO | Yes | |
numTransactions | number | Yes |
Name | Type | Description | Required |
---|---|---|---|
signature | string | Yes | |
signer | string | Yes | |
version | number | Yes | |
type | number | Yes | |
height | UInt64DTO | Yes | |
timestamp | UInt64DTO | Yes | |
difficulty | UInt64DTO | Yes | |
previousBlockHash | string | Yes | |
blockTransactionsHash | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
height | UInt64DTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
scoreHigh | UInt64DTO | Yes | |
scoreLow | UInt64DTO | Yes |
Name | Type | Description | Required |
---|---|---|---|
numBlocks | integer | Yes | |
numTransactions | integer | Yes | |
numAccounts | integer | Yes |
Name | Type | Description | Required |
---|---|---|---|
name | string | Yes | |
description | string | Yes |
Name | Type | Description | Required |
---|---|---|---|
mosaicIds | [ string ] | No |
Name | Type | Description | Required |
---|---|---|---|
namespaceIds | [ string ] | No |
Name | Type | Description | Required |
---|---|---|---|
addresses | [ string ] | No |
Name | Type | Description | Required |
---|---|---|---|
transactionIds | [ string ] | No |
Name | Type | Description | Required |
---|---|---|---|
hashes | [ string ] | No |
Name | Type | Description | Required |
---|---|---|---|
payload | string | No |
Name | Type | Description | Required |
---|---|---|---|
UInt64DTO | array |