height static method

CallOptions height(
  1. int height
)

Creates a new CallOptions that specifies the height for which to perform the query.

Implementation

static CallOptions height(int height) {
  return CallOptions(metadata: {
    'x-cosmos-block-height': height.toString(),
  });
}