Hedera.Duration (Hedera v0.1.0)

Copy Markdown View Source

A Hedera Duration in whole seconds (e.g. a transaction's valid window).

Summary

Functions

Encode as a Hedera Duration protobuf message (seconds = field 1).

Types

t()

@type t() :: %Hedera.Duration{seconds: integer()}

Functions

to_proto(duration)

@spec to_proto(t()) :: binary()

Encode as a Hedera Duration protobuf message (seconds = field 1).