Avalanche SDK Client
    Preparing search index...

    Type Alias GetBlockParameters

    The parameters for the avm.getBlock method.

    type GetBlockParameters = {
        blockId: string;
        encoding?: "hex" | "json";
    }
    Index

    Properties

    Properties

    blockId: string

    The ID of the block to get.

    encoding?: "hex" | "json"

    The encoding of the block. Only "hex" or "json" are supported.