GetBlocksConfig constructor

const GetBlocksConfig({
  1. Commitment? commitment,
})

JSON RPC configurations for getBlocks methods.

Implementation

const GetBlocksConfig({
  super.commitment,
}): assert(commitment != Commitment.processed, 'The commitment "processed" is not supported.');