You can download a CSV file of the KAU or KAG blockchains from the watcher node that Derek has set up.
There are two separate blockchains, one for KAU and one for KAG.
The explorer that Derek has attached is from a third party, so you will be using independent tools for your analysis.
The CSV file is I think a raw Stellar format, rather than what Kinesis have summarised/formatted in the Kinesis Explorer.
The process below should be accessible to anyone with basic spreadsheet understanding and webpage navigation.
Once you have the CSV files, you can use them in conjunction with the spreadsheet templates attached below.
The whole process, including the download should take less than 15 mins for each blockchain.
Once done, you should be able to match the Circulation figures displayed in the Kinesis Explorer.
You will also have a historical running total of the mintings, redemptions and circulation after each blockchain operation.
I've included some explanation of the format and calculation fields included in my spreadsheet.
Format of spreadsheet
The template spreadsheet for KAG below includes a sample of 500 or so records from a complete CSV download of the KAG blockchain.
The one for KAU includes a sample of 1500 or so records.
Calculation columns added
You'll notice that I've added 3 basic data columns.
Once you have identified the timestamp that you're interested in (createdAt field), you can just read off the Net Circulation for that row.
Within the Kinesis blockchain, most of the accounts are "inside the KMS", however there are a few accounts that are not.
Examples of those that are not are:
In corresponding fashion, some of the gold and silver exists "inside the KMS" vaults, while some exists outside, even if that is available to purchase via the minting process.
Explanation of the basic data columns
Mintings
Minted1
Captures mintings to a pre-existing address eg a wallet that's previously had a balance.
TypeI of 1 indicates a Payment operation.
If the from field is the Minting emission account, and it's not a transfer to the root or inflation accounts, then it's a valid minting, with the amount field giving the amount minted.
Minted2
Captures mintings to an account that doesn't yet exist (have a balance). This could be an as yet unused wallet (no balance) or a KM account (always has zero balance apart from fleetingly before the balance is swept to the central Kinesis Exchange account).
TypeI of 0 indicates a Create account operation.
If the funder field contains the Minting emission account, and the account field is neither root or inflation account, the startingBalance gives the amount minted.
Redemptions
With redemptions, the Minting emission/Redemption account will always have a balance so we don't need to look for the type of operations in Minted2. It had to be seeded at the start to facilitate mintings and given it's core function, it won't have been merged with another account, causing it not to exist/not have a balance.
Redeemed
TypeI indicates Payment operations.
Redemptions are only valid if from the Hot wallet and must be to the Emissions/Root account.
For these records, the amount field will give the amount redeemed.
As a guideline, as at 16th Feb 2023, these were the number of records in the CSV download files (inc header):
KAU 82k+
KAG 29k+
There are two separate blockchains, one for KAU and one for KAG.
The explorer that Derek has attached is from a third party, so you will be using independent tools for your analysis.
The CSV file is I think a raw Stellar format, rather than what Kinesis have summarised/formatted in the Kinesis Explorer.
The process below should be accessible to anyone with basic spreadsheet understanding and webpage navigation.
Once you have the CSV files, you can use them in conjunction with the spreadsheet templates attached below.
The whole process, including the download should take less than 15 mins for each blockchain.
Once done, you should be able to match the Circulation figures displayed in the Kinesis Explorer.
You will also have a historical running total of the mintings, redemptions and circulation after each blockchain operation.
I've included some explanation of the format and calculation fields included in my spreadsheet.
Format of spreadsheet
The template spreadsheet for KAG below includes a sample of 500 or so records from a complete CSV download of the KAG blockchain.
The one for KAU includes a sample of 1500 or so records.
Calculation columns added
You'll notice that I've added 3 basic data columns.
- Minted1
- Minted2
- Redeemed1
- Cumulative Minted (working from the earliest record, Minted1+Minted2+ previous Cumulative Minted)
- Cumulative Redeemed (working from the earliest record, Redeemed+ previous Cumulative Redeemed)
- Net Circulation (Cumulative Minted-Cumulative Redeemed)
Once you have identified the timestamp that you're interested in (createdAt field), you can just read off the Net Circulation for that row.
Within the Kinesis blockchain, most of the accounts are "inside the KMS", however there are a few accounts that are not.
Examples of those that are not are:
- Root account
- Emissions account
In corresponding fashion, some of the gold and silver exists "inside the KMS" vaults, while some exists outside, even if that is available to purchase via the minting process.
Explanation of the basic data columns
Mintings
Minted1
Captures mintings to a pre-existing address eg a wallet that's previously had a balance.
TypeI of 1 indicates a Payment operation.
If the from field is the Minting emission account, and it's not a transfer to the root or inflation accounts, then it's a valid minting, with the amount field giving the amount minted.
Minted2
Captures mintings to an account that doesn't yet exist (have a balance). This could be an as yet unused wallet (no balance) or a KM account (always has zero balance apart from fleetingly before the balance is swept to the central Kinesis Exchange account).
TypeI of 0 indicates a Create account operation.
If the funder field contains the Minting emission account, and the account field is neither root or inflation account, the startingBalance gives the amount minted.
Redemptions
With redemptions, the Minting emission/Redemption account will always have a balance so we don't need to look for the type of operations in Minted2. It had to be seeded at the start to facilitate mintings and given it's core function, it won't have been merged with another account, causing it not to exist/not have a balance.
Redeemed
TypeI indicates Payment operations.
Redemptions are only valid if from the Hot wallet and must be to the Emissions/Root account.
For these records, the amount field will give the amount redeemed.
As a guideline, as at 16th Feb 2023, these were the number of records in the CSV download files (inc header):
KAU 82k+
KAG 29k+
Attachments
Last edited:

