Show / Hide Table of Contents

Namespace Hiero.Converters

Classes

Base64StringToBytesConverter

JSON converter that reads base64-encoded strings and writes them as byte arrays.

BigIntegerArrayConverter

Converts a JSON array of strings (representing hex values) to an array of BigIntegers and vice versa.

BigIntegerConverter

Converts BigInteger to and from hexadecimal JSON string values, using the 0x-prefixed format.

BooleanMirrorConverter

Boolean JSON converter that tolerates string representations from mirror node responses.

ConsensusNodeEndpointConverter

Consensus Node ConsensusNodeEndpoint JSON Converter

ConsensusTimeStampConverter

Consensus Timestamp JSON Converter

ConsensusTimeStampForExchangeRateConverter

Consensus Timestamp JSON Converter (from long value) that is special for the EXCHANGE RATE data, because it is a different format from the other timestamp formats.

ConsensusTimeStampForTokenExpirationConverter

Consensus Timestamp JSON Converter (from nanoseconds long value) that is special to ONLY the expiry timestamp returned for token info.

EncodedParamsConverter

Encoded Params data hex-encoded string JSON Converter.

EndorsementConverter

Endorsement JSON Converter

EntityIdArrayConverter

Entity ID Array JSON Converter

EntityIdConverter

Entity ID JSON Converter, can handle both hapi ids and evm addresses.

EvmAddressArrayConverter

EVM Address Array JSON Converter

EvmAddressConverter

EVM Address JSON Converter

EvmHashConverter

EVM Hash JSON Converter.

FeeLimitFromStringConverter

Fee Limit JSON Converter (from string value)

FreezeStatusConverter

Freeze Status JSON Converter

HexStringArraytoBytesArrayConverter

Hex String Array to Bytes Array JSON Converter

HexStringDictionaryToBytesConverter

Converts a JSON object whose values are hex-encoded byte strings into a Dictionary<TKey, TValue> keyed by the raw property name, with the values decoded to ReadOnlyMemory<T> of bytes. Keys are preserved as their on-the-wire string form (hex values for EVM storage keys are conventionally displayed as hex, so this avoids a lossy round-trip through decoded bytes).

HexStringToBytesConverter

Converter for converting Hex encoded strings into byte arrays.

IntMirrorConverter

Integer Converter that tolerates null values.

LongMirrorConverter

Long Converter that tolerates null values.

NftConverter

Nft JSON Converter

NullableEvmAddressConverter

Nullable EVM-address converter that preserves an explicit wire-null as a C# null, rather than coercing it to None (the all-zeros sentinel). The plain EvmAddressConverter collapses both forms — useful when the server never sends null — but on endpoints that do send null to distinguish "no address" from "the literal zero address" (e.g. contract-action to fields, where CREATE actions can leave the recipient null), use this converter.

NullableLongMirrorConverter

Nullable-long converter that preserves explicit null values rather than coercing them to zero. Mirrors the string/number tolerance of LongMirrorConverter.

PauseStatusConverter

Pause Status JSON Converter

ResponseCodeConverter

Response Code Converter

TokenKycStatusConverter

Kyc Status JSON Converter

TokenTypeConverter

Token Type Converter

TransactionIdMirrorConverter

TransactionId Converter for reading and writing JSON when interacting with a mirror node.

TransactionIdStructuredConverter

Structured Transaction ID JSON Converter (for mirror node chunk information)

UnsignedLongMirrorConverter

Unsigned Long Converter that tolerates null values.

ValidDurationInSecondsConverter

Converter for TimeSpan values that represent a valid duration in seconds.

In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph