DeployKip37ContractRequest

DeployKip37ContractRequest

new DeployKip37ContractRequest()

Version:
  • 1.0

The DeployKip37ContractRequest model module.

Members

alias :String

Contract alias; KIP-37 API supports the use of alias in place of the contract adddress.

Type:
  • String

uri :String

The URI that stores the contract's metadata

Type:
  • String

options :Kip37FeePayerOptions

Type:

Methods

(static) constructFromObject(data, obj) → {DeployKip37ContractRequest}

Constructs a DeployKip37ContractRequest from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj DeployKip37ContractRequest

Optional instance to populate.

Returns:

The populated DeployKip37ContractRequest instance.

Type
DeployKip37ContractRequest

DeployKip37ContractRequest

new DeployKip37ContractRequest(alias, uri)

Constructs a new DeployKip37ContractRequest.

Parameters:
Name Type Description
alias String

Contract alias; KIP-37 API supports the use of alias in place of the contract adddress.

uri String

The URI that stores the contract's metadata

Members

alias :String

Contract alias; KIP-37 API supports the use of alias in place of the contract adddress.

Type:
  • String

uri :String

The URI that stores the contract's metadata

Type:
  • String

options :Kip37FeePayerOptions

Type:

Methods

(static) constructFromObject(data, obj) → {DeployKip37ContractRequest}

Constructs a DeployKip37ContractRequest from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj DeployKip37ContractRequest

Optional instance to populate.

Returns:

The populated DeployKip37ContractRequest instance.

Type
DeployKip37ContractRequest