Closed vincenzopalazzo closed 4 years ago
As the example provided here you must pass the second argument count
, and the extension option is hex
, not exa
:
const headers = await client.getBlockHeadersByHash(
'0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206', // txid
1, // count
{ extension: 'hex' } // options
);
Hello,
I have the error when run this code:
The error