Skip to content

starknet_getTransactionByBlockIdAndIndex doesn't have to query block header #3257

@infrmtcs

Description

@infrmtcs

Only header.Number is used, while the block number can be extracted either from the input in block number case or from BlockHeaderNumbersByHash bucket in block hash case.

https://github.com/NethermindEth/juno/blob/v0.15.10/rpc/v9/transaction.go#L552-L557

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions