Get Asset Dividends
Get the dividend payment history for a specific asset.
Request:
- requestType is getAssetDividends
- asset is the asset ID
- firstIndex is a zero-based index to the first dividend payment to retrieve (optional)
- lastIndex is a zero-based index to the last dividend payment to retrieve (optional)
- timestamp is the earliest dividend payment (in seconds since the genesis block) to retrieve (optional)
- adminPassword is a string with the admin password (optional)
- requireBlock is the block ID of a block that must be present in the blockchain during execution (optional)
- requireLastBlock is the block ID of a block that must be last in the blockchain during execution (optional)
Response:
- dividends (A) is an array of dividend transactions with the following properties:
- assetDividend (S) is the dividend payment transaction ID
- numberOfAccounts (N) is the number of accounts that received a dividend
- amountTQTPerQNT (S) is the amount of XIN (in TQT) paid per quantity (in QNT) of the asset
- totalDividend (S) is the total amount of XIN (in TQT) sent in the dividend payment
- dividendHeight (N) is the block height of the dividend calculation
- asset (S) is the asset ID
- height (N) is the block height of the dividend payment
- timestamp (N) is the block timestamp of the dividend payment