3.1.2. mijin Catapult(v.2) How to check status¶
- creation-day:
Aug. 1, 2022
- update date:
September 14, 2022
As for the REST response, it will be the same as Symbol from Nem.
https://symbol.github.io/symbol-openapi/v1.0.0/
3.1.2.1. Check block height¶
/chain/info
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/chain/info | jq -r
{
"scoreHigh": "0",
"scoreLow": "1400415221207545868",
"height": "12318",
"latestFinalizedBlock": {
"finalizationEpoch": 78,
"finalizationPoint": 8,
"height": "12300",
"hash": "7DE8B8052D35E29D0020EE7DB65BE075F0B6CEC69F17018447470E205B68175D"
}
}
item |
Description |
height |
Current block height |
latestFinalizedBlock |
finalize block |
finalizationEpoch |
|
finalizationPoint |
|
height |
3.1.2.2. Check the REST version¶
/node/server
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/node/server | jq -r
{
"serverInfo": {
"restVersion": "2.3.5",
"sdkVersion": "2.3.5"
}
}
item |
Description |
restVersion |
version of rest |
sdkVersion |
version of catapult-sdk used by rest |
3.1.2.3. Check node information¶
/node/info
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/node/info | jq -r
{
"version": 16777216,
"publicKey": "03ECD9C1929E26ED53BEBCCCF17E6F32F37ED9C6474397F592C883F771AB6A05",
"networkGenerationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"roles": 70,
"port": 7900,
"networkIdentifier": 96,
"host": "api2.mijin.internal",
"friendlyName": "api2.mijin.internal",
"nodePublicKey": "5958AE940208CF8FD0D7FF2A584F8B234A3814AFC4D93F304A5CEA926EF6A747"
}
item |
Description |
publicKey |
Public key used in Harvest |
networkGenerationHashSeed |
Blockchain-specific GenerationHash settings created |
roles |
Node Roles (api/peer/dual/voting) |
port |
Communication port between nodes |
networkIdentifier |
Network Type |
host |
Host name of the node on which it is running |
friendlyName |
Friendly name of node |
nodePublicKey |
Public key for node |
3.1.2.4. Check the connected node¶
/node/peers
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/node/peers | jq -r
[
{
"version": 0,
"publicKey": "DB8D9DD59D78AE62E157824305DE31B9D415AA217EFE1DF14A7361E9D20E7456",
"networkGenerationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"roles": 69,
"port": 7900,
"networkIdentifier": 96,
"host": "peer1.mijin.internal",
"friendlyName": "peer1.mijin.internal"
},
{
"version": 0,
"publicKey": "22722F1534AE77DA44A065C0E2ACB125CB66FB45E80403A183EFEBE222BF3D90",
"networkGenerationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"roles": 69,
"port": 7900,
"networkIdentifier": 96,
"host": "peer2.mijin.internal",
"friendlyName": "peer2.mijin.internal"
},
{
"version": 0,
"publicKey": "239CC13A2B3D112C4146415EE532146D5338614BBBAD1A1E2E8E4690638F07D9",
"networkGenerationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"roles": 69,
"port": 7900,
"networkIdentifier": 96,
"host": "peer3.mijin.internal",
"friendlyName": "peer3.mijin.internal"
},
{
"version": 0,
"publicKey": "E4BF3706483B4D42243F3DCB2625021C3E3AE7C253CC466154EEDF9775012C20",
"networkGenerationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"roles": 70,
"port": 7900,
"networkIdentifier": 96,
"host": "api1.mijin.internal",
"friendlyName": "api1.mijin.internal"
}
]
item |
Description |
publicKey |
Public key used in Harvest |
networkGenerationHashSeed |
Blockchain-specific GenerationHash settings created |
roles |
Node Roles (api/peer/dual/voting) |
port |
Communication port between nodes |
networkIdentifier |
Network Type |
host |
Host name of the node on which it is running |
friendlyName |
Friendly name of node |
nodePublicKey |
Public key for node |
3.1.2.5. Check the total number of transactions and total number of accounts¶
/node/storage
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/node/storage | jq -r
{
"numBlocks": 12322,
"numTransactions": 34,
"numAccounts": 14
}
item |
Description |
numBlocks |
Current block height |
numTransactions |
Total number of transactions issued in the past |
numAccounts |
Total number of accounts used in the past |
3.1.2.6. Check network type¶
`
/network
`
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/network | jq -r
{
"name": "mijin",
"description": "mijin network"
}
item |
Description |
name |
The network name used mijin or mijin-test. |
description |
Network Description |
3.1.2.7. Check the status of a node’s container¶
/node/health
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/node/health | jq -r
{
"status": {
"apiNode": "up",
"db": "up"
}
}
item |
Description |
apiNode |
api-node container status up or down. |
db |
db container status up or down. |
3.1.2.8. Check the settings for the entire blockchain¶
/network/properties
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/network/properties | jq -r
{
"network": {
"identifier": "mijin",
"nemesisSignerPublicKey": "12086D4CB80CB6461887427BD49ED22D3914117526F573CC6F9937FC19DB2F73",
"nodeEqualityStrategy": "host",
"generationHashSeed": "2DE20B93EBE048A3BA132CC9874BCABBC21C87E18FE9836B8D5D002E57640D4B",
"epochAdjustment": "1560294000s"
},
"chain": {
"enableVerifiableState": true,
"enableVerifiableReceipts": true,
"currencyMosaicId": "0x61D0'A72B'3C62'5448",
"harvestingMosaicId": "0x1248'680A'CB99'E205",
"blockGenerationTargetTime": "15s",
"blockTimeSmoothingFactor": "3000",
"importanceGrouping": "40",
"importanceActivityPercentage": "5",
"maxRollbackBlocks": "0",
"maxDifficultyBlocks": "60",
"defaultDynamicFeeMultiplier": "0",
"maxTransactionLifetime": "24h",
"maxBlockFutureTime": "500ms",
"initialCurrencyAtomicUnits": "8'998'999'998'000'000",
"maxMosaicAtomicUnits": "9'000'000'000'000'000",
"totalChainImportance": "15'000'000",
"minHarvesterBalance": "1'000'000",
"maxHarvesterBalance": "15'000'000",
"minVoterBalance": "1'000'000",
"votingSetGrouping": "160",
"maxVotingKeysPerAccount": "3",
"minVotingKeyLifetime": "72",
"maxVotingKeyLifetime": "26280",
"harvestBeneficiaryPercentage": "10",
"harvestNetworkPercentage": "5",
"harvestNetworkFeeSinkAddress": "MBVF6QLFNKAXDBZLJYBPBT2YYKMJW7UE7GH7RTY",
"maxTransactionsPerBlock": "6'000"
},
"plugins": {
"accountlink": {
"dummy": "to trigger plugin load"
},
"aggregate": {
"maxTransactionsPerAggregate": "1'000",
"maxCosignaturesPerAggregate": "25",
"enableStrictCosignatureCheck": false,
"enableBondedAggregateSupport": true,
"maxBondedTransactionLifetime": "48h"
},
"lockhash": {
"lockedFundsPerAggregate": "0",
"maxHashLockDuration": "2d"
},
"locksecret": {
"maxSecretLockDuration": "30d",
"minProofSize": "1",
"maxProofSize": "1000"
},
"metadata": {
"maxValueSize": "1024"
},
"mosaic": {
"maxMosaicsPerAccount": "1'000",
"maxMosaicDuration": "3650d",
"maxMosaicDivisibility": "6",
"mosaicRentalFeeSinkAddress": "MBKRTIOKHE34GF7J5WZDW6VLXEDYFRFFURN2EZA",
"mosaicRentalFee": "0"
},
"multisig": {
"maxMultisigDepth": "3",
"maxCosignatoriesPerAccount": "25",
"maxCosignedAccountsPerAccount": "25"
},
"namespace": {
"maxNameSize": "64",
"maxChildNamespaces": "256",
"maxNamespaceDepth": "3",
"minNamespaceDuration": "1m",
"maxNamespaceDuration": "3650d",
"namespaceGracePeriodDuration": "30d",
"reservedRootNamespaceNames": "xem, nem, user, account, org, com, biz, net, edu, mil, gov, info",
"namespaceRentalFeeSinkAddress": "MBWRFMKEJRDUZC5WEW2PFYG374AI444HL2WQX6A",
"rootNamespaceRentalFeePerBlock": "1",
"childNamespaceRentalFee": "0"
},
"restrictionaccount": {
"maxAccountRestrictionValues": "512"
},
"restrictionmosaic": {
"maxMosaicRestrictionValues": "20"
},
"transfer": {
"maxMessageSize": "1024"
}
}
}
For this set value, see the
3.1.2.9. Check transaction fees¶
/network/fees/transaction
$ curl -Ss http://mijin-catapult-1-nlb-rest-eef0ebffe49c4aa3.elb.ap-northeast-1.amazonaws.com:3000/network/fees/transaction | jq -r
{
"averageFeeMultiplier": 0,
"medianFeeMultiplier": 0,
"highestFeeMultiplier": 0,
"lowestFeeMultiplier": 0,
"minFeeMultiplier": 0
}
item |
Description |
averageFeeMultiplier |
Multiplier value of average (automatic) |
medianFeeMultiplier |
Median multiplier value (automatic) |
highestFeeMultiplier |
Maximum multiplier value used |
lowestFeeMultiplier |
Minimum multiplier value used |
minFeeMultiplier |
Minimum required multiplier value set for the node; if 0, no fee mode |