Taquito TypeDocs
    Preparing search index...

    Type Alias OriginateParamsBase

    type OriginateParamsBase = {
        balance?: string | number;
        code: string | object[];
        delegate?: string;
        fee?: number;
        gasLimit?: number;
        mutez?: boolean;
        storageLimit?: number;
    }
    Index

    Properties

    balance?: string | number

    Initial contract balance.

    Interpreted as tez by default. Set mutez: true to pass this value in mutez.

    code: string | object[]

    Contract code in Micheline JSON (object[]) or Michelson string.

    delegate?: string

    Optional delegate for the originated contract.

    fee?: number

    Fee in mutez.

    If omitted, Taquito estimates and fills a fee.

    gasLimit?: number

    Gas limit.

    If omitted, Taquito derives it from protocol constants and simulation.

    mutez?: boolean

    When true, balance is interpreted as mutez.

    storageLimit?: number

    Storage limit.

    If omitted, Taquito derives it from protocol constants and simulation.