I want to decode blocks and transactions from the Node. I want to use https://github.com/paritytech/substrate . But I can not find methods about it. Could you tell me where it is ?

1 Answer 1


Are you referring to something like this:

let block = node_primitives::Block::decode(&mut &block_data[..]).unwrap();


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.