Module Values.TokenBalanceSource

The balance of the token.

Sourcetype nonrec t = {
  1. ownerIdentifier : OwnerIdentifier.t option;
    (*

    The container for the identifier of the owner.

    *)
  2. tokenIdentifier : TokenIdentifier.t option;
    (*

    The identifier for the token, including the unique token ID and its blockchain network.

    *)
  3. balance : String_.t option;
    (*

    The container of the token balance.

    *)
  4. atBlockchainInstant : BlockchainInstant.t option;
    (*

    The time for when the TokenBalance is requested or the current time if a time is not provided in the request. This time will only be recorded up to the second.

    *)
  5. lastUpdatedTime : BlockchainInstant.t option;
    (*

    The Timestamp of the last transaction at which the balance for the token in the wallet was updated.

    *)
}
Sourceval make : ?ownerIdentifier:??? -> ?tokenIdentifier:??? -> ?balance:??? -> ?atBlockchainInstant:??? -> ?lastUpdatedTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Enum of string | `String of ChainAddress.t | `Timestamp of Timestamp.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