INNER CODE UNIT · Python
_get_blocks_body
michaelhly/solana-py · src/solana/rpc/core.py:232
def _get_blocks_body(start_slot: int, end_slot: int | None) -> GetBlocks:
return GetBlocks(start_slot, end_slot)
def _get_signatures_for_address_body(
self,
address: Pubkey,
before: Signature | None,
until: Signature | None,
limit: int | None,
commitment: Commitment | None,
min_context_slot: int | None = None,
) -> GetSignaturesForAddress:
commitment_to_use = _COMMITMENT_TO_SOLDERS[commitment or self._commitment]
config = RpcSignaturesForAddressConfig(
before=before,
until=until,
limit=limit,
commitment=commitment_to_use,