Transaction Details
All block body arrays share the same entry structures described below. See
Rewards
Block rewards paid to miners.
{
"txHash": "e849a0fe...",
"historyId": 46,
"toAddress": "00000000...de47c9b2",
"amount": { "E8": 300019985, "str": "3.00019985" }
}
Wart Transfers
WART coin transfers between accounts.
{
"txHash": "897b3cc7...",
"historyId": 42,
"fromAddress": "3661579d...",
"fee": { "E8": 9992, "str": "0.00009992" },
"nonceId": 0,
"pinHeight": 0,
"toAddress": "00000000...de47c9b2",
"amount": { "E8": 100000000, "str": "1.00000000" }
}
Token Transfers
Token transfers between accounts.
{
"txHash": "edb03806...",
"historyId": 48,
"fromAddress": "2de77d5e...",
"fee": { "E8": 1, "str": "0.00000001" },
"nonceId": 100,
"pinHeight": 0,
"toAddress": "00000000...de47c9b2",
"amount": { "str": "100.0000", "u64": 1000000, "decimals": 4 },
"asset": { "id": 2, "name": "TOK2", "decimals": 4, "hash": "f45b1131..." },
"isLiquidity": false,
"tokenSpec": "asset:f45b1131..."
}
New Orders
New limit orders placed on the DEX.
{
"txHash": "c6fbade2...",
"historyId": 37,
"address": "2de77d5e...",
"fee": { "E8": 1, "str": "0.00000001" },
"nonceId": 99,
"pinHeight": 0,
"baseAsset": { "id": 7, "name": "TOK2", "decimals": 4, "hash": "0e4825ef..." },
"amount": { "str": "100.0000", "u64": 1000000, "decimals": 4 },
"limit": { "precExponent10": 4, "exponent2": -6, "mantissa": 64000, "hex": "fa0049", "doubleAdjusted": 0.1, "doubleRaw": 1000.0 },
"buy": false
}
Matches
DEX trade matches (swaps between liquidity providers).
{
"txHash": "2ecefa2f...",
"historyId": 38,
"baseAsset": { "id": 7, "name": "TOK2", "decimals": 4, "hash": "0e4825ef..." },
"poolBefore": {
"base": { "str": "0", "u64": 0, "decimals": 4 },
"quote": { "str": "0", "E8": 0 }
},
"poolAfter": {
"base": { "str": "0", "u64": 0, "decimals": 4 },
"quote": { "str": "0", "E8": 0 }
},
"buySwaps": [
{ "base": { "str": "10.0000", "u64": 100000, "decimals": 4 }, "quote": { "str": "1.00000000", "E8": 100000000 }, "historyId": 26 }
],
"sellSwaps": [
{ "base": { "str": "20.0010", "u64": 200010, "decimals": 4 }, "quote": { "str": "2.00010000", "E8": 200010000 }, "historyId": 25 }
]
}
Liquidity Deposits
Liquidity provider deposits into a trading pool.
{
"txHash": "576da5fd...",
"historyId": 11,
"address": "3661579d...",
"fee": { "E8": 9992, "str": "0.00009992" },
"nonceId": 0,
"pinHeight": 0,
"baseAsset": { "id": 7, "name": "TOK2", "decimals": 4, "hash": "0e4825ef..." },
"baseDeposited": { "str": "100.0000", "u64": 1000000, "decimals": 4 },
"quoteDeposited": { "str": "1.00000000", "E8": 100000000 },
"sharesReceived": { "str": "10.0000", "u64": 100000, "decimals": 4 }
}
Liquidity Withdrawals
Liquidity provider withdrawals from a trading pool.
{
"txHash": "576da5fd...",
"historyId": 11,
"address": "3661579d...",
"fee": { "E8": 9992, "str": "0.00009992" },
"nonceId": 0,
"pinHeight": 0,
"baseAsset": { "id": 7, "name": "TOK2", "decimals": 4, "hash": "0e4825ef..." },
"sharesRedeemed": { "str": "10.0000", "u64": 100000, "decimals": 4 },
"baseReceived": { "str": "100.0000", "u64": 1000000, "decimals": 4 },
"quoteReceived": { "str": "1.00000000", "E8": 100000000 }
}
Asset Creations
New token/asset creation transactions.
{
"txHash": "0e4825ef...",
"historyId": 10,
"creatorAddress": "3661579d...",
"fee": { "E8": 9992, "str": "0.00009992" },
"nonceId": 13,
"pinHeight": 0,
"supply": "100000000.0000",
"name": "TOK2",
"assetId": 7
}
Cancelations
Transaction cancelations (revert pending transactions).
{
"txHash": "a3aadbaa...",
"historyId": 47,
"address": "3661579d...",
"fee": { "E8": 9992, "str": "0.00009992" },
"nonceId": 5,
"pinHeight": 0
}
Order Cancelations
Order cancelations (cancel limit orders on the DEX).
{
"txHash": "a3aadbaa...",
"historyId": 47,
"cancelTxid": { "accountId": 2, "nonceId": 3, "pinHeight": 10 },
"buy": true,
"baseAsset": { "id": 7, "name": "TOK2", "decimals": 4, "hash": "0e4825ef..." },
"remaining": { "E8": 100000000, "str": "1.00000000" }
}