Avalanche SDK Client
    Preparing search index...

    Type Alias BuildGenesisParameters

    The parameters for the avm.buildGenesis method.

    type BuildGenesisParameters = {
        encoding: "hex";
        genesisData: { denomination: number; initialState: { fixedCap: { addresses: ...; amount: ... } }; name: string; symbol: string };
        networkID: number;
    }
    Index

    Properties

    encoding: "hex"

    The encoding of the genesis data. Only "hex" is supported.

    genesisData: { denomination: number; initialState: { fixedCap: { addresses: ...; amount: ... } }; name: string; symbol: string }

    The genesis data.

    Type declaration

    • denomination: number

      The denomination of the asset.

    • initialState: { fixedCap: { addresses: ...; amount: ... } }

      The initial state of the asset.

      • fixedCap: { addresses: ...; amount: ... }

        The fixed cap of the asset.

        • addresses: ...

          The addresses that can mint the asset.

        • amount: ...

          The amount of the asset.

    • name: string

      The name of the asset.

    • symbol: string

      The symbol of the asset.

    networkID: number

    The network ID.