Avalanche SDK Client
    Preparing search index...

    Type Alias GetBlockParameters

    Parameters for the platform.getBlock method. Get a block by its ID.

    type GetBlockParameters = {
        blockId: string;
        encoding?: Encoding;
    }
    Index

    Properties

    Properties

    blockId: string

    The block ID. It should be in cb58 format

    encoding?: Encoding

    The encoding format to use. Can be either hex or json. Defaults to hex