Module Values.GetAssetContractInputSource

Gets the information about a specific contract deployed on the blockchain. The Bitcoin blockchain networks do not support this operation. Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.

Sourcetype nonrec t = {
  1. contractIdentifier : ContractIdentifier.t;
    (*

    Contains the blockchain address and network information about the contract.

    *)
}
Sourceval context_ : string
Sourceval make : contractIdentifier:ContractIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of ChainAddress.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t