The number of the block to parse.
The filter to apply to the transactions in the block.
Optional
api: ApiPromiseThe optional ApiPromise. If not provided, the one returned by the ConfigService
is used.
The last extrinsic in the block matching the filter, or null if no extrinsic is found.
Retrieve the last extrinsic from a block that matches the provided filter.
The function ignores failed extrinsics and, if multiple extrinsics from the block match the provided filter, it only takes the last one.