Search accounts
Gets an array of accounts.
query Parameters
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
orderBy | string (AccountOrderByEnum) Enum: "id" "balance" Sort responses by the property set.
If |
mosaicId | string <hex> (MosaicId) Example: mosaicId=0DC67FBE1CAD29E3 Filter by mosaic identifier. |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "account": {
- "version": 1,
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "addressHeight": 1,
- "publicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "publicKeyHeight": 1,
- "accountType": 0,
- "supplementalPublicKeys": {
- "linked": {
- "publicKey": "string"
}, - "node": {
- "publicKey": "string"
}, - "vrf": {
- "publicKey": "string"
}, - "voting": {
- "publicKeys": [
- {
- "publicKey": "string",
- "startEpoch": 123456,
- "endEpoch": 123456
}
]
}
}, - "activityBuckets": [
- {
- "startHeight": 1,
- "totalFeesPaid": "123456",
- "beneficiaryCount": 2222212828,
- "rawScore": 0
}
], - "mosaics": [
- {
- "id": "0DC67FBE1CAD29E3",
- "amount": "123456"
}
], - "importance": 0,
- "importanceHeight": 1
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get accounts information
Returns the account information for an array of accounts.
Request Body schema: application/jsonoptional
publicKeys | Array of strings <hex> (PublicKey) [ items <hex > ] Array of public keys. |
addresses | Array of strings (Address) Array of addresses. |
Responses
Request samples
- Payload
{- "publicKeys": [
- "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26"
], - "addresses": [
- "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
]
}
Response samples
- 200
- 400
- 409
[- {
- "id": "string",
- "account": {
- "version": 1,
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "addressHeight": 1,
- "publicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "publicKeyHeight": 1,
- "accountType": 0,
- "supplementalPublicKeys": {
- "linked": {
- "publicKey": "string"
}, - "node": {
- "publicKey": "string"
}, - "vrf": {
- "publicKey": "string"
}, - "voting": {
- "publicKeys": [
- {
- "publicKey": "string",
- "startEpoch": 123456,
- "endEpoch": 123456
}
]
}
}, - "activityBuckets": [
- {
- "startHeight": 1,
- "totalFeesPaid": "123456",
- "beneficiaryCount": 2222212828,
- "rawScore": 0
}
], - "mosaics": [
- {
- "id": "0DC67FBE1CAD29E3",
- "amount": "123456"
}
], - "importance": 0,
- "importanceHeight": 1
}
}
]
Get account information
Returns the account information.
path Parameters
accountId required | string Account public key or address encoded using a 32-character set. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "account": {
- "version": 1,
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "addressHeight": 1,
- "publicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "publicKeyHeight": 1,
- "accountType": 0,
- "supplementalPublicKeys": {
- "linked": {
- "publicKey": "string"
}, - "node": {
- "publicKey": "string"
}, - "vrf": {
- "publicKey": "string"
}, - "voting": {
- "publicKeys": [
- {
- "publicKey": "string",
- "startEpoch": 123456,
- "endEpoch": 123456
}
]
}
}, - "activityBuckets": [
- {
- "startHeight": 1,
- "totalFeesPaid": "123456",
- "beneficiaryCount": 2222212828,
- "rawScore": 0
}
], - "mosaics": [
- {
- "id": "0DC67FBE1CAD29E3",
- "amount": "123456"
}
], - "importance": 0,
- "importanceHeight": 1
}
}
Get account merkle information
Returns the account merkle information.
path Parameters
accountId required | string Account public key or address encoded using a 32-character set. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Search blocks
Gets an array of bocks.
query Parameters
signerPublicKey | string <hex> (PublicKey) Example: signerPublicKey=AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26 Filter by public key of the account signing the entity. |
beneficiaryAddress | string (Address) Example: beneficiaryAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by beneficiary address. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
orderBy | string (BlockOrderByEnum) Enum: "id" "height" Sort responses by the property set. |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "totalFee": "123456",
- "generationHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "stateHashSubCacheMerkleRoots": [
- "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
], - "totalTransactionsCount": 1,
- "transactionsCount": 1,
- "statementsCount": 1
}, - "block": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "height": 1,
- "timestamp": 108303181802,
- "difficulty": 100000000000000,
- "proofGamma": "8D49594A96C31EC6C64305FB2CCB47AA7A4AC0A4F614442BB3684D2BF41F274E",
- "proofVerificationHash": "82FB583BFE3EE78805784D078F2547AE",
- "proofScalar": "480175C83739B22C53EAECAA7E7F3B245F1DFAFA6B3AE5C1D0129502FCBAAD0C",
- "previousBlockHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "transactionsHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "receiptsHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "stateHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "beneficiaryAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "feeMultiplier": 0
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get block information
Gets a block from the chain that has the given height.
path Parameters
height required | string (Height) Example: 1 Block height. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "meta": {
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "totalFee": "123456",
- "generationHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "stateHashSubCacheMerkleRoots": [
- "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
], - "totalTransactionsCount": 1,
- "transactionsCount": 1,
- "statementsCount": 1
}, - "block": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "height": 1,
- "timestamp": 108303181802,
- "difficulty": 100000000000000,
- "proofGamma": "8D49594A96C31EC6C64305FB2CCB47AA7A4AC0A4F614442BB3684D2BF41F274E",
- "proofVerificationHash": "82FB583BFE3EE78805784D078F2547AE",
- "proofScalar": "480175C83739B22C53EAECAA7E7F3B245F1DFAFA6B3AE5C1D0129502FCBAAD0C",
- "previousBlockHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "transactionsHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "receiptsHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "stateHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "beneficiaryAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "feeMultiplier": 0
}
}
Get the merkle path for a given a transaction and block
Returns the merkle path for a transaction included in a block. The merkle path is the minimum number of nodes needed to calculate the merkle root.
Steps to calculate the merkle root:
- proofHash = hash (leaf).
- Concatenate proofHash with the first unprocessed item from the merklePath list as follows:
- a) If item.position == left -> proofHash = sha_256(item.hash + proofHash).
- b) If item.position == right -> proofHash = sha_256(proofHash+ item.hash).
- Repeat 2. for every item in the merklePath list.
- Compare if the calculated proofHash equals the one recorded in the block header (block.transactionsHash) to verify if the transaction was included in the block.
path Parameters
height required | string (Height) Example: 1 Block height. |
hash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Transaction hash. |
Responses
Response samples
- 200
- 404
- 409
{- "merklePath": [
- {
- "position": "left",
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get the merkle path for a given a receipt statement hash and block
Returns the merkle path for a receipt statement or resolution linked to a block. The merkle path is the minimum number of nodes needed to calculate the merkle root.
Steps to calculate the merkle root:
- proofHash = hash (leaf).
- Concatenate proofHash with the first unprocessed item from the merklePath list as follows:
- a) If item.position == left -> proofHash = sha_256(item.hash + proofHash).
- b) If item.position == right -> proofHash = sha_256(proofHash+ item.hash).
- Repeat 2. for every item in the merklePath list.
- Compare if the calculated proofHash equals the one recorded in the block header (block.receiptsHash) to verify if the statement was linked with the block.
path Parameters
height required | string (Height) Example: 1 Block height. |
hash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Receipt hash. |
Responses
Response samples
- 200
- 404
- 409
{- "merklePath": [
- {
- "position": "left",
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get the current information of the chain
Returns the current information of the blockchain.
The higher the score, the better the chain. During synchronization, nodes try to get the best blockchain in the network.
The score for a block is derived from its difficulty and the time (in seconds) that has elapsed since the last block:
block score = difficulty − time elapsed since last block
Responses
Response samples
- 200
{- "height": 1,
- "scoreHigh": 1683298087010368300,
- "scoreLow": 1683298087010368300,
- "latestFinalizedBlock": {
- "finalizationEpoch": 123456,
- "finalizationPoint": 0,
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
}
Get finalization proof
Gets finalization proof for the greatest height associated with the given epoch.
path Parameters
epoch required | integer <int64> (FinalizationEpoch) Example: 123456 Finalization epoch. |
Responses
Response samples
- 200
- 404
- 409
{- "version": 0,
- "finalizationEpoch": 123456,
- "finalizationPoint": 0,
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "messageGroups": [
- {
- "stage": 0,
- "height": 1,
- "hashes": [
- "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
], - "signatures": [
- {
- "root": {
- "parentPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D"
}, - "bottom": {
- "parentPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D"
}
}
]
}
]
}
Get finalization proof
Gets finalization proof at the given height.
path Parameters
height required | string (Height) Example: 1 Block height. |
Responses
Response samples
- 200
- 404
- 409
{- "version": 0,
- "finalizationEpoch": 123456,
- "finalizationPoint": 0,
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "messageGroups": [
- {
- "stage": 0,
- "height": 1,
- "hashes": [
- "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
], - "signatures": [
- {
- "root": {
- "parentPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D"
}, - "bottom": {
- "parentPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D"
}
}
]
}
]
}
Search metadata entries
Returns an array of metadata.
query Parameters
sourceAddress | string (Address) Example: sourceAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address sending the metadata entry. |
targetAddress | string (Address) Example: targetAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by target address. |
scopedMetadataKey | string <hex> (MetadataKey) Example: scopedMetadataKey=0DC67FBE1CAD29E3 Filter by metadata key. |
targetId | string <hex> Example: targetId=0DC67FBE1CAD29E3 Filter by namespace or mosaic id. |
metadataType | integer (MetadataTypeEnum) Enum: 0 1 2 Filter by metadata type. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "metadataEntry": {
- "version": 1,
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "sourceAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "targetAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "scopedMetadataKey": "0DC67FBE1CAD29E3",
- "targetId": "0DC67FBE1CAD29E3",
- "metadataType": 0,
- "value": "string"
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get metadata information
Gets the metadata for a given composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 409
{- "id": "string",
- "metadataEntry": {
- "version": 1,
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "sourceAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "targetAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "scopedMetadataKey": "0DC67FBE1CAD29E3",
- "targetId": "0DC67FBE1CAD29E3",
- "metadataType": 0,
- "value": "string"
}
}
Get metadata merkle information
Gets the metadata merkle for a given composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get mosaic information
Gets the mosaic definition for a given mosaic identifier.
path Parameters
mosaicId required | string <hex> (MosaicId) Example: 0DC67FBE1CAD29E3 Mosaic identifier. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "mosaic": {
- "version": 1,
- "id": "0DC67FBE1CAD29E3",
- "supply": "123456",
- "startHeight": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "revision": 2222212828,
- "flags": 0,
- "divisibility": 0,
- "duration": 200
}
}
Get mosaic merkle information
Gets the mosaic definition merkle for a given mosaic identifier.
path Parameters
mosaicId required | string <hex> (MosaicId) Example: 0DC67FBE1CAD29E3 Mosaic identifier. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Search mosaics
Gets an array of mosaics.
query Parameters
ownerAddress | string (Address) Example: ownerAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by owner address. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "mosaic": {
- "version": 1,
- "id": "0DC67FBE1CAD29E3",
- "supply": "123456",
- "startHeight": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "revision": 2222212828,
- "flags": 0,
- "divisibility": 0,
- "duration": 200
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get mosaics information for an array of mosaics
Gets an array of mosaic definition.
Request Body schema: application/jsonrequired
mosaicIds | Array of strings <hex> (MosaicId) [ items <hex > ] Array of mosaic identifiers. |
Responses
Request samples
- Payload
{- "mosaicIds": [
- "0DC67FBE1CAD29E3"
]
}
Response samples
- 200
- 400
- 409
[- {
- "id": "string",
- "mosaic": {
- "version": 1,
- "id": "0DC67FBE1CAD29E3",
- "supply": "123456",
- "startHeight": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "revision": 2222212828,
- "flags": 0,
- "divisibility": 0,
- "duration": 200
}
}
]
Get multisig account information
Returns the multisig account information.
path Parameters
address required | string (Address) Example: TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Account address. |
Responses
Response samples
- 200
- 404
- 409
{- "multisig": {
- "version": 1,
- "accountAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "minApproval": 2222212828,
- "minRemoval": 2222212828,
- "cosignatoryAddresses": [
- "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
], - "multisigAddresses": null
}
}
Get multisig account merkle information
Returns the multisig account merkle information.
path Parameters
address required | string (Address) Example: TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Account address. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get multisig account graph information
Returns the multisig account graph.
path Parameters
address required | string (Address) Example: TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Account address. |
Responses
Response samples
- 200
- 404
- 409
[- {
- "level": 0,
- "multisigEntries": [
- {
- "multisig": {
- "version": 1,
- "accountAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "minApproval": 2222212828,
- "minRemoval": 2222212828,
- "cosignatoryAddresses": [
- "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
], - "multisigAddresses": null
}
}
]
}
]
Search namespaces
Gets an array of namespaces.
query Parameters
ownerAddress | string (Address) Example: ownerAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by owner address. |
registrationType | integer (NamespaceRegistrationTypeEnum) Enum: 0 1 Example: registrationType=0 Filter by registration type. |
level0 | string <hex> (NamespaceId) Example: level0=85BBEA6CC462B244 Filter by root namespace. |
aliasType | integer (AliasTypeEnum) Enum: 0 1 2 Example: aliasType=0 Filter by alias type. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "active": true,
- "index": 0
}, - "namespace": {
- "version": 1,
- "registrationType": 0,
- "depth": 1,
- "level0": "85BBEA6CC462B244",
- "level1": "85BBEA6CC462B244",
- "level2": "85BBEA6CC462B244",
- "alias": {
- "type": 0,
- "mosaicId": "0DC67FBE1CAD29E3",
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
}, - "parentId": "85BBEA6CC462B244",
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "startHeight": 1,
- "endHeight": 1
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get namespace information
Gets the namespace for a given namespace identifier.
path Parameters
namespaceId required | string <hex> (NamespaceId) Example: 85BBEA6CC462B244 Namespace identifier. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "meta": {
- "active": true,
- "index": 0
}, - "namespace": {
- "version": 1,
- "registrationType": 0,
- "depth": 1,
- "level0": "85BBEA6CC462B244",
- "level1": "85BBEA6CC462B244",
- "level2": "85BBEA6CC462B244",
- "alias": {
- "type": 0,
- "mosaicId": "0DC67FBE1CAD29E3",
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
}, - "parentId": "85BBEA6CC462B244",
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "startHeight": 1,
- "endHeight": 1
}
}
Get namespace merkle information
Gets the namespace merkle for a given namespace identifier.
path Parameters
namespaceId required | string <hex> (NamespaceId) Example: 85BBEA6CC462B244 Namespace identifier. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get readable names for a set of namespaces
Returns friendly names for namespaces.
Request Body schema: application/jsonrequired
namespaceIds | Array of strings <hex> (NamespaceId) [ items <hex > ] Array of namespace identifiers. |
Responses
Request samples
- Payload
{- "namespaceIds": [
- "85BBEA6CC462B244"
]
}
Response samples
- 200
- 400
- 409
[- {
- "parentId": "85BBEA6CC462B244",
- "id": "85BBEA6CC462B244",
- "name": "cat"
}
]
Get readable names for a set of accountIds
Returns friendly names for accounts.
Request Body schema: application/jsonrequired
addresses | Array of strings (Address) Array of addresses. |
Responses
Request samples
- Payload
{- "addresses": [
- "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
]
}
Response samples
- 200
- 400
- 409
{- "accountNames": [
- {
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "names": [
- "alias1",
- "alias2"
]
}
]
}
Get readable names for a set of mosaics
Returns friendly names for mosaics.
Request Body schema: application/jsonrequired
mosaicIds | Array of strings <hex> (MosaicId) [ items <hex > ] Array of mosaic identifiers. |
Responses
Request samples
- Payload
{- "mosaicIds": [
- "0DC67FBE1CAD29E3"
]
}
Response samples
- 200
- 400
- 409
{- "mosaicNames": [
- {
- "mosaicId": "0DC67FBE1CAD29E3",
- "names": [
- "symbol.xym"
]
}
]
}
Get rental fees information
Returns the estimated effective rental fees for namespaces and mosaics.
This endpoint is only available if the REST instance has access to catapult-server resources/config-network.properties
file.
To activate this feature, add the setting "network.propertiesFilePath" in the configuration file (rest/resources/rest.json).
Responses
Response samples
- 200
- 409
{- "effectiveRootNamespaceRentalFeePerBlock": "123456",
- "effectiveChildNamespaceRentalFee": "123456",
- "effectiveMosaicRentalFee": "123456"
}
Get transaction fees information
Returns the average, median, highest and lower fee multiplier over the last "numBlocksTransactionFeeStats". The setting "numBlocksTransactionFeeStats" is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
Responses
Response samples
- 200
{- "averageFeeMultiplier": 0,
- "medianFeeMultiplier": 0,
- "highestFeeMultiplier": 0,
- "lowestFeeMultiplier": 0,
- "minFeeMultiplier": 0
}
Get the network properties
Returns the content from a catapult-server network configuration file (resources/config-network.properties). To enable this feature, the REST setting "network.propertiesFilePath" must define where the file is located. This is adjustable via the configuration file (rest/resources/rest.json) per REST instance.
Responses
Response samples
- 200
- 409
{- "network": {
- "identifier": "testnet",
- "nodeEqualityStrategy": "host",
- "nemesisSignerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "generationHashSeed": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "epochAdjustment": "1573430400s"
}, - "chain": {
- "enableVerifiableState": true,
- "enableVerifiableReceipts": true,
- "currencyMosaicId": "0x24F4'26B8'D549'3D4B",
- "harvestingMosaicId": "0x1D9C'DC7E'218C'A88D",
- "blockGenerationTargetTime": "30s",
- "blockTimeSmoothingFactor": "3000",
- "blockFinalizationInterval": 30,
- "importanceGrouping": "39",
- "importanceActivityPercentage": "5",
- "maxRollbackBlocks": "40",
- "maxDifficultyBlocks": "60",
- "defaultDynamicFeeMultiplier": "10'000",
- "maxTransactionLifetime": "24h",
- "maxBlockFutureTime": "500ms",
- "initialCurrencyAtomicUnits": "8'998'999'998'000'000",
- "maxMosaicAtomicUnits": "9'000'000'000'000'000",
- "totalChainImportance": "15'000'000",
- "minHarvesterBalance": "500",
- "maxHarvesterBalance": "4'000'000",
- "minVoterBalance": "50'000",
- "maxVotingKeysPerAccount": "3",
- "minVotingKeyLifetime": "72",
- "maxVotingKeyLifetime": "26280",
- "harvestBeneficiaryPercentage": "10",
- "harvestNetworkPercentage": "5",
- "harvestNetworkFeeSinkAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "blockPruneInterval": "360",
- "maxTransactionsPerBlock": "200'000"
}, - "plugins": {
- "accountlink": {
- "dummy": "string"
}, - "aggregate": {
- "maxTransactionsPerAggregate": "1'000",
- "maxCosignaturesPerAggregate": "15",
- "enableStrictCosignatureCheck": false,
- "enableBondedAggregateSupport": true,
- "maxBondedTransactionLifetime": "48h"
}, - "lockhash": {
- "lockedFundsPerAggregate": "10'000'000",
- "maxHashLockDuration": "2d"
}, - "locksecret": {
- "maxSecretLockDuration": "30d",
- "minProofSize": "1",
- "maxProofSize": "1000"
}, - "metadata": {
- "maxValueSize": "1024"
}, - "mosaic": {
- "maxMosaicsPerAccount": "10'000",
- "maxMosaicDuration": "3650d",
- "maxMosaicDivisibility": "6",
- "mosaicRentalFeeSinkAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "mosaicRentalFee": "500"
}, - "multisig": {
- "maxMultisigDepth": "3",
- "maxCosignatoriesPerAccount": "10",
- "maxCosignedAccountsPerAccount": "5"
}, - "namespace": {
- "maxNameSize": "64",
- "maxChildNamespaces": "500",
- "maxNamespaceDepth": "3",
- "minNamespaceDuration": "1m",
- "maxNamespaceDuration": "365d",
- "namespaceGracePeriodDuration": "2m",
- "reservedRootNamespaceNames": "xem, nem, user, account, org, com, biz, net, edu, mil, gov, info",
- "namespaceRentalFeeSinkAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "rootNamespaceRentalFeePerBlock": "1",
- "childNamespaceRentalFee": "100"
}, - "restrictionaccount": {
- "maxAccountRestrictionValues": "512"
}, - "restrictionmosaic": {
- "maxMosaicRestrictionValues": "20"
}, - "transfer": {
- "maxMessageSize": "1024"
}
}
}
Get the node information
Supplies additional information about the application running on a node.
Responses
Response samples
- 200
{- "version": 0,
- "publicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "networkGenerationHashSeed": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "roles": 7,
- "port": 7900,
- "networkIdentifier": 144,
- "friendlyName": "api-node-0",
- "host": "127.0.0.1",
- "nodePublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26"
}
Response samples
- 200
[- {
- "version": 0,
- "publicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "networkGenerationHashSeed": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "roles": 7,
- "port": 7900,
- "networkIdentifier": 144,
- "friendlyName": "api-node-0",
- "host": "127.0.0.1",
- "nodePublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26"
}
]
Get the version of the running REST component
Returns the version of the running catapult-rest component.
Responses
Response samples
- 200
{- "serverInfo": {
- "restVersion": "1.0.14",
- "sdkVersion": "0.7.14",
- "deployment": {
- "deploymentTool": "symbol-bootstrap",
- "deploymentToolVersion": "1.0.6",
- "lastUpdatedDate": "2021-06-02"
}
}
}
Search mosaic restrictions
Returns an array of mosaic restrictions.
query Parameters
mosaicId | string <hex> (MosaicId) Example: mosaicId=0DC67FBE1CAD29E3 Filter by mosaic identifier. |
entryType | integer (MosaicRestrictionEntryTypeEnum) Enum: 0 1 Filter by entry type. |
targetAddress | string (Address) Example: targetAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by target address. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 404
- 409
{- "data": [
- {
- "id": "string",
- "mosaicRestrictionEntry": {
- "version": 1,
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "entryType": 0,
- "mosaicId": "0DC67FBE1CAD29E3",
- "targetAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "restrictions": [
- {
- "key": "0DC67FBE1CAD29E3",
- "value": "string"
}
]
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get the mosaic restrictions
Returns the mosaic restrictions for a composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "mosaicRestrictionEntry": {
- "version": 1,
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "entryType": 0,
- "mosaicId": "0DC67FBE1CAD29E3",
- "targetAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "restrictions": [
- {
- "key": "0DC67FBE1CAD29E3",
- "value": "string"
}
]
}
}
Get the mosaic restrictions merkle
Returns the mosaic restrictions merkle for a given composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Search account restrictions
Returns an array of account restrictions.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 404
- 409
{- "data": [
- {
- "accountRestrictions": {
- "version": 1,
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "restrictions": [
- {
- "restrictionFlags": 1,
- "values": [
- "TAOXUJOTTW3W5XTBQMQEX3SQNA6MCUVGXLXR3TA"
]
}
]
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get the account restrictions
Returns the account restrictions for a given address.
path Parameters
address required | string (Address) Example: TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Account address. |
Responses
Response samples
- 200
- 404
- 409
{- "accountRestrictions": {
- "version": 1,
- "address": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "restrictions": [
- {
- "restrictionFlags": 1,
- "values": [
- "TAOXUJOTTW3W5XTBQMQEX3SQNA6MCUVGXLXR3TA"
]
}
]
}
}
Get the account restrictions merkle
Returns the account restrictions merkle for a given address.
path Parameters
address required | string (Address) Example: TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Account address. |
Responses
Response samples
- 200
- 404
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Search transaction statements
Gets an array of transaction statements.
query Parameters
height | string (Height) Example: height=1 Filter by block height. |
fromHeight | string (Height) Example: fromHeight=1 Only blocks with height greater or equal than this one are returned. |
toHeight | string (Height) Example: toHeight=1 Only blocks with height smaller or equal than this one are returned. |
receiptType | Array of integers (ReceiptTypeEnum) Items Enum: 4685 4942 8515 8776 9032 8786 9042 12616 12626 16717 16718 16974 20803 57667 61763 62019 Filter by receipt type.
To filter by multiple receipt types, add more filter query params like: |
recipientAddress | string (Address) Example: recipientAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address of the account receiving the transaction. |
senderAddress | string (Address) Example: senderAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address sending mosaics. |
targetAddress | string (Address) Example: targetAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by target address. |
artifactId | string Mosaic or namespace identifier |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 404
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "timestamp": 108303181802
}, - "statement": {
- "height": 1,
- "source": {
- "primaryId": 2222212828,
- "secondaryId": 2222212828
}, - "receipts": [
- {
- "version": 0,
- "type": 4685,
- "mosaicId": "0DC67FBE1CAD29E3",
- "amount": "123456",
- "senderAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "recipientAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
}
]
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get receipts address resolution statements
Gets an array of address resolution statements.
query Parameters
height | string (Height) Example: height=1 Filter by block height. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 404
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "timestamp": 108303181802
}, - "statement": {
- "height": 1,
- "unresolved": "85BBEA6CC462B244",
- "resolutionEntries": [
- {
- "source": {
- "primaryId": 2222212828,
- "secondaryId": 2222212828
}, - "resolved": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
}
]
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get receipts mosaic resolution statements
Gets an array of mosaic resolution statements.
query Parameters
height | string (Height) Example: height=1 Filter by block height. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 404
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "timestamp": 108303181802
}, - "statement": {
- "height": 1,
- "unresolved": "85BBEA6CC462B244",
- "resolutionEntries": [
- {
- "source": {
- "primaryId": 2222212828,
- "secondaryId": 2222212828
}, - "resolved": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY"
}
]
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Announce a new transaction
Announces a transaction to the network. The catbuffer library defines the protocol to serialize and deserialize Symbol entities. Catbuffers are integrated into Symbol SDKs. It's recommended to use SDKs instead of calling the API endpoint directly to announce transactions.
Request Body schema: application/jsonrequired
payload | string Transaction payload in hexadecimal format. |
Responses
Request samples
- Payload
{- "payload": "00112233445566778899AABBCCDDEEFF"
}
Response samples
- 202
- 400
- 409
{- "message": "string"
}
Search confirmed transactions
Returns an array of confirmed transactions. If a transaction was announced with an alias rather than an address, the address that will be considered when querying is the one that was resolved from the alias at confirmation time.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
recipientAddress | string (Address) Example: recipientAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address of the account receiving the transaction. |
signerPublicKey | string <hex> (PublicKey) Example: signerPublicKey=AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26 Filter by public key of the account signing the entity. |
height | string (Height) Example: height=1 Filter by block height. |
fromHeight | string (Height) Example: fromHeight=1 Only blocks with height greater or equal than this one are returned. |
toHeight | string (Height) Example: toHeight=1 Only blocks with height smaller or equal than this one are returned. |
fromTransferAmount | string (Amount) Example: fromTransferAmount=123456 Requires providing the |
toTransferAmount | string (Amount) Example: toTransferAmount=123456 Requires providing the |
type | Array of integers (TransactionTypeEnum) Items Enum: 16716 16963 16707 16972 16705 16961 16717 16973 17229 16718 16974 17230 16708 16964 17220 16725 16712 16722 16978 16720 16976 17232 16721 16977 16724 Filter by transaction type.
To filter by multiple transaction types, add more filter query params like: |
embedded | boolean Default: false When true, the endpoint also returns all the embedded aggregate transactions.
Otherwise, only top-level transactions used to calculate the block transactionsHash are returned.
Note: This field does not work when combined with the |
transferMosaicId | string <hex> (MosaicId) Example: transferMosaicId=0DC67FBE1CAD29E3 Filters transactions involving a specific |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get confirmed trasactions information
Returns confirmed transactions information for a given array of transactionIds.
Request Body schema: application/jsonrequired
transactionIds | Array of strings Array of transaction identifiers. |
Responses
Request samples
- Payload
{- "transactionIds": [
- "59B8DA0F0CB2720001103922",
- "59B8D8E60CB2720001103904"
]
}
Response samples
- 200
- 400
- 409
[- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
]
Get confirmed transaction information
Returns confirmed transaction information given a transactionId or hash.
path Parameters
transactionId required | string Transaction id or hash. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
Search unconfirmed transactions
Returns an array of unconfirmed transactions.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
recipientAddress | string (Address) Example: recipientAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address of the account receiving the transaction. |
signerPublicKey | string <hex> (PublicKey) Example: signerPublicKey=AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26 Filter by public key of the account signing the entity. |
height | string (Height) Example: height=1 Filter by block height. |
fromHeight | string (Height) Example: fromHeight=1 Only blocks with height greater or equal than this one are returned. |
toHeight | string (Height) Example: toHeight=1 Only blocks with height smaller or equal than this one are returned. |
fromTransferAmount | string (Amount) Example: fromTransferAmount=123456 Requires providing the |
toTransferAmount | string (Amount) Example: toTransferAmount=123456 Requires providing the |
type | Array of integers (TransactionTypeEnum) Items Enum: 16716 16963 16707 16972 16705 16961 16717 16973 17229 16718 16974 17230 16708 16964 17220 16725 16712 16722 16978 16720 16976 17232 16721 16977 16724 Filter by transaction type.
To filter by multiple transaction types, add more filter query params like: |
embedded | boolean Default: false When true, the endpoint also returns all the embedded aggregate transactions.
Otherwise, only top-level transactions used to calculate the block transactionsHash are returned.
Note: This field does not work when combined with the |
transferMosaicId | string <hex> (MosaicId) Example: transferMosaicId=0DC67FBE1CAD29E3 Filters transactions involving a specific |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get unconfirmed trasactions information
Returns unconfirmed transactions information for a given array of transactionIds.
Request Body schema: application/jsonrequired
transactionIds | Array of strings Array of transaction identifiers. |
Responses
Request samples
- Payload
{- "transactionIds": [
- "59B8DA0F0CB2720001103922",
- "59B8D8E60CB2720001103904"
]
}
Response samples
- 200
- 400
- 409
[- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
]
Get unconfirmed transaction information
Returns unconfirmed transaction information given a transactionId or hash.
path Parameters
transactionId required | string Transaction id or hash. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
Search partial transactions
Returns an array of partial transactions.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
recipientAddress | string (Address) Example: recipientAddress=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address of the account receiving the transaction. |
signerPublicKey | string <hex> (PublicKey) Example: signerPublicKey=AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26 Filter by public key of the account signing the entity. |
height | string (Height) Example: height=1 Filter by block height. |
fromHeight | string (Height) Example: fromHeight=1 Only blocks with height greater or equal than this one are returned. |
toHeight | string (Height) Example: toHeight=1 Only blocks with height smaller or equal than this one are returned. |
fromTransferAmount | string (Amount) Example: fromTransferAmount=123456 Requires providing the |
toTransferAmount | string (Amount) Example: toTransferAmount=123456 Requires providing the |
type | Array of integers (TransactionTypeEnum) Items Enum: 16716 16963 16707 16972 16705 16961 16717 16973 17229 16718 16974 17230 16708 16964 17220 16725 16712 16722 16978 16720 16976 17232 16721 16977 16724 Filter by transaction type.
To filter by multiple transaction types, add more filter query params like: |
embedded | boolean Default: false When true, the endpoint also returns all the embedded aggregate transactions.
Otherwise, only top-level transactions used to calculate the block transactionsHash are returned.
Note: This field does not work when combined with the |
transferMosaicId | string <hex> (MosaicId) Example: transferMosaicId=0DC67FBE1CAD29E3 Filters transactions involving a specific |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Announce an aggregate bonded transaction
Announces an aggregate bonded transaction to the network.
Request Body schema: application/jsonrequired
payload | string Transaction payload in hexadecimal format. |
Responses
Request samples
- Payload
{- "payload": "00112233445566778899AABBCCDDEEFF"
}
Response samples
- 202
- 400
- 409
{- "message": "string"
}
Get partial trasactions information
Returns partial transactions information for a given array of transactionIds.
Request Body schema: application/jsonrequired
transactionIds | Array of strings Array of transaction identifiers. |
Responses
Request samples
- Payload
{- "transactionIds": [
- "59B8DA0F0CB2720001103922",
- "59B8D8E60CB2720001103904"
]
}
Response samples
- 200
- 400
- 409
[- {
- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
]
Get partial transaction information
Returns partial transaction information given a transactionId or hash.
path Parameters
transactionId required | string Transaction id or hash. |
Responses
Response samples
- 200
- 404
- 409
{- "id": "string",
- "meta": {
- "height": 1,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "merkleComponentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "index": 0,
- "timestamp": 108303181802,
- "feeMultiplier": 0
}, - "transaction": {
- "size": 2222212828,
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": 0,
- "network": 144,
- "type": 0,
- "maxFee": "123456",
- "deadline": 200,
- "linkedPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "linkAction": 0
}
}
Announce a cosignature transaction
Announces a cosignature transaction to the network.
Request Body schema: application/jsonrequired
parentHash | string <hex> (Hash256) |
signature | string (Signature) Entity's signature generated by the signer. |
signerPublicKey | string <hex> (PublicKey) Public key. |
version | string (CosignatureVersion) Cosignature version. |
Responses
Request samples
- Payload
{- "parentHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "signature": "4B408BBEDF25F2AC8E0E44A6E51E3CCBA03885902055F75EB9FF50433532CA44BF9175FDA7502EEE2FC1617126E453A2BD692BAFDAAF06BC8EDEBA7961B3730D",
- "signerPublicKey": "AC1A6E1D8DE5B17D2C6B1293F1CAD3829EEACF38D09311BB3C8E5A880092DE26",
- "version": "0"
}
Response samples
- 202
- 400
- 409
{- "message": "string"
}
Search hash lock entries
Returns an array of hash locks.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "lock": {
- "version": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "mosaicId": "0DC67FBE1CAD29E3",
- "amount": "123456",
- "endHeight": 1,
- "status": 0,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get hash lock information
Gets the hash lock for a given hash.
path Parameters
hash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by hash. |
Responses
Response samples
- 200
- 409
{- "id": "string",
- "lock": {
- "version": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "mosaicId": "0DC67FBE1CAD29E3",
- "amount": "123456",
- "endHeight": 1,
- "status": 0,
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
}
Get hash lock merkle information
Gets the hash lock merkle for a given hash.
path Parameters
hash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by hash. |
Responses
Response samples
- 200
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Search secret lock entries
Returns an array of secret locks.
query Parameters
address | string (Address) Example: address=TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY Filter by address involved in the transaction.
An account's address is considered to be involved in the transaction when the account is the sender, recipient, or it is required to cosign the transaction.
This filter cannot be combined with |
secret | string <hex> (Secret) Example: secret=FB8558E82C1968A3536CD77ACD7F9BC65E8B8F346714C9F91B42D6C2177BEDC1 Filter by secret. |
pageSize | integer [ 10 .. 100 ] Default: 10 Select the number of entries to return. |
pageNumber | integer >= 1 Default: 1 Filter by page number. |
offset | string Entry id at which to start pagination. If the ordering parameter is set to -id, the elements returned precede the identifier. Otherwise, newer elements with respect to the id are returned. |
order | string (Order) Default: "desc" Enum: "asc" "desc" Sort responses in ascending or descending order based on the collection property set on the param |
Responses
Response samples
- 200
- 409
{- "data": [
- {
- "id": "string",
- "lock": {
- "version": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "mosaicId": "0DC67FBE1CAD29E3",
- "amount": "123456",
- "endHeight": 1,
- "status": 0,
- "hashAlgorithm": 0,
- "secret": "FB8558E82C1968A3536CD77ACD7F9BC65E8B8F346714C9F91B42D6C2177BEDC1",
- "recipientAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
}
], - "pagination": {
- "pageNumber": 0,
- "pageSize": 0
}
}
Get secret lock information
Gets the hash lock for a given composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 409
{- "id": "string",
- "lock": {
- "version": 1,
- "ownerAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "mosaicId": "0DC67FBE1CAD29E3",
- "amount": "123456",
- "endHeight": 1,
- "status": 0,
- "hashAlgorithm": 0,
- "secret": "FB8558E82C1968A3536CD77ACD7F9BC65E8B8F346714C9F91B42D6C2177BEDC1",
- "recipientAddress": "TADP6C2GVEG654OP5LZI32P2GYJSCMEGQBYB7QY",
- "compositeHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
}
Get secret lock merkle information
Gets the hash lock merkle for a given composite hash.
path Parameters
compositeHash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Filter by composite hash. |
Responses
Response samples
- 200
- 409
{- "raw": "00008080DA9B4AF63BE985715EA635AF98E3CF3B0A22F9A2BE1C7DD40B79948AA63E36586E5D2E9D0C089C1C64BC0D42A11ADBD1CD6CDB4B7C294062F55113525A64AE3CFF3F04A7F2A487B42EA89323C4408F82415223ACFEC7DFA7924EFC31A70778AB17A00C3EAFF635F01BB3B474F0AF1BE99FBDA85EEFB209CC7BD158D3540DE3A3F2D1",
- "tree": [
- {
- "type": 0,
- "path": "string",
- "encodedPath": "string",
- "nibbleCount": 0,
- "linkMask": "string",
- "links": [
- {
- "bit": "string",
- "link": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
], - "branchHash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
}
]
}
Get transaction statuses
Returns an array of transaction statuses for a given array of transaction hashes.
Request Body schema: application/jsonrequired
hashes | Array of strings <hex> (Hash256) [ items <hex > ] Array of transaction hashes. |
Responses
Request samples
- Payload
{- "hashes": [
- "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810"
]
}
Response samples
- 200
- 400
- 409
[- {
- "group": "unconfirmed",
- "code": "Success",
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "deadline": 200,
- "height": 1
}
]
Get transaction status
Returns the transaction status for a given hash.
path Parameters
hash required | string <hex> (Hash256) Example: C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810 Transaction hash. |
Responses
Response samples
- 200
- 404
- 409
{- "group": "unconfirmed",
- "code": "Success",
- "hash": "C8FC3FB54FDDFBCE0E8C71224990124E4EEC5AD5D30E592EDFA9524669A23810",
- "deadline": 200,
- "height": 1
}