Avalanche SDK Client
    Preparing search index...

    Type Alias PrepareCreateChainTxnParameters

    PrepareCreateChainTxnParameters: CommonTxParams & {
        chainName: string;
        context?: ContextType.Context;
        fxIds?: readonly (...)[];
        genesisData: Record<string, unknown>;
        subnetAuth: readonly (...)[];
        subnetId: string;
        vmId: string;
    }

    Type declaration

    • chainName: string

      Name of the chain being created.

    • Optionalcontext?: ContextType.Context

      Optional. The context to use for the transaction. If not provided, the context will be fetched.

    • OptionalfxIds?: readonly (...)[]

      Optional. Array of FX IDs to be added to the chain.

    • genesisData: Record<string, unknown>

      Genesis JSON data of the chain being created.

    • subnetAuth: readonly (...)[]

      Array of indices from the subnet's owners array who will sign this CreateChainTx.

    • subnetId: string

      Subnet ID to create the chain on.

    • vmId: string

      VM ID of the chain being created.