Expand description
Real Monero data.
This module provides access to real Monero data, either in raw bytes or typed.
§Constants
The const
ants provide byte slices representing block
and transaction blobs that can be directly deserialized:
use monero_serai::{block::Block, transaction::Transaction};
let block: Block = Block::read(&mut BLOCK_43BD1F).unwrap();
let tx: Transaction = Transaction::read(&mut TX_E57440).unwrap();
§Statics
The statics provide access to typed data found in cuprate_types
:
use cuprate_types::{VerifiedBlockInformation, VerifiedTransactionInformation};
let block: VerifiedBlockInformation = BLOCK_V16_TX0.clone();
let tx: VerifiedTransactionInformation = TX_V1_SIG0.clone();
Constants§
- Block with hash
5ecb7e663bbe947c734c8059e7d7d52dc7d6644bb82d81a6ad4057d127ee8eda
. - Block with hash
43bd1f2b6556dcafa413d8372974af59e4e8f37dbf74dc6b2a9b7212d0577428
. - Block with hash
bbd604d2ba11ba27935e006ed39c9bfdd99b76bf4a50654bc1e1e61217962698
. - Block with hash
f910435a5477ca27be1986c080d5476aeab52d0c07cf3d9c72513213350d25d4
. - Transaction with hash
3bc7ff015b227e7313cc2e8668bfbb3f3acbee274a9c201d6211cf681b5f6bb1
. - Transaction with hash
9e3f73e66d7c7293af59c59c1ff5d6aae047289f49e5884c66caaf4aea49fb34
. - Transaction with hash
84d48dc11ec91950f8b70a85af9db91fe0c8abef71ef5db08304f7344b99ea66
. - Transaction with hash
2180a87f724702d37af087e22476297e818a73579ef7b7da947da963245202a3
. - Transaction with hash
b6b4394d4ec5f08ad63267c07962550064caa8d225dd9ad6d739ebf60291c169
. - Transaction with hash
d7febd16293799d9c6a8e0fe9199b8a0a3e0da5a8a165098937b60f0bbd582df
. - Transaction with hash
e2d39395dd1625b2d707b98af789e7eab9d24c2bd2978ec38ef910961a8cdcee
. - Transaction with hash
e57440ec66d2f3b2a5fa2081af40128868973e7c021bb3877290db3066317474
.
Statics§
- Return
BLOCK_5ECB7E
as aVerifiedBlockInformation
. - Return
BLOCK_F91043
as aVerifiedBlockInformation
. - Return
BLOCK_43BD1F
as aVerifiedBlockInformation
. - Return
TX_3BC7FF
as aVerifiedTransactionInformation
. - Return
TX_9E3F73
as aVerifiedTransactionInformation
. - Return
TX_84D48D
as aVerifiedTransactionInformation
.