You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getBlockWithTransactions does not include size in its response as mentioned in the docs. It is listed in the response object parameters, but does not appear in the example response.
Given that the core Alchemy method getBlockWithTransactions calls the Ethers.js provider method of the same name and this does not return the size, the docs should be updated and have the parameter removed from the response object.
For now, the alternative is to use the JSON-RPC call of eth_getBlockByNumber:
Environment
The problem
getBlockWithTransactions
does not includesize
in its response as mentioned in the docs. It is listed in the response object parameters, but does not appear in the example response.How to reproduce:
The
size
is present in the JSON-RPC response ofeth_getBlockByNumber
. Here is the sandbox link for the same block.The text was updated successfully, but these errors were encountered: