Serializers

Encode objects into CBOR or bech32 format.

Serialize Native Script

Serialize Native script into bech32 address.

Serialize Native Script

Serialize Native script into bech32 address

Serialize Plutus Script

Serialize Plutus script into bech32 address.

Serialize Plutus Script

Serialize Plutus script into bech32 address

Serialize Address Object

Serialize address in Cardano data JSON format into bech32 address with serializeAddressObj().

First you need to create an address object with pubKeyAddress() or scriptAddress().

pubKeyAddress() accepts the following parameters:

scriptAddress() accepts the following parameters:

serializeAddressObj() accepts the following parameters:

Serialize Address Object

Serialize address in Cardano data JSON format into bech32 address

Serialize Pool ID

Resolve the pool ID from hash.

Serialize Pool ID

Resolve the pool ID from hash

Serialize Reward Address

Serialize a script hash or key hash into bech32 reward address.

Serialize Reward Address

Serialize a script hash or key hash into bech32 reward address