Resolvers

Converts between different formats.

Resolve Private Key

Provide the mnemonic phrases and resolvePrivateKey will return a private key.

Resolve Private Key

Convert mnemonic to private key

Resolve Transaction Hash

Provide a cborTx, resolveTxHash will return the transaction hash. This hash is useful for creating chain transactions.

Resolve Transaction Hash

Convert transaction cborTx to transaction hash

Connect wallet to run this demo

No wallets installed

Resolve Data Hash

Converts datum into hash. Getting the hash is useful when you need to query for the UTXO that contain the assets you need for your transaction's input.

Explore Transaction to learn more about designing Datum, and learn how to query for UTXOs containing the datum hash.

Resolve Data Hash

Convert datum into hash

Resolve Native Script Hash

Converts NativeScript into hash.

Resolve Native Script Hash

Convert NativeScript to hash

Resolve Script Hash

resolveScriptHash will return a script hash. For example, this is useful when you want to convert a script to a policy ID.

Resolve Script Hash

Convert script to hash (like policy ID)

Resolve Stake Address

Provide a wallet address, and resolveRewardAddress will return a staking address in bech32 format.

Resolve Stake Address

Convert wallet address to staking address

Resolve Fingerprint

Takes policy ID and asset name, and return asset fingerprint based on CIP-14.

Resolve Asset Fingerprint

Convert asset policy ID and asset name to asset fingerprint.

Resolve Stake Key Hash

Provide a stake address, and resolveStakeKeyHash will return the pub key hash of the stake address. This key hash is useful for building the NativeScript.

Resolve Stake Key Hash

Convert stake address to pub key hash

Resolve Rep Id

Resolve Rep Id from scrip hash.

Resolve Rep Id

Resolve rep id from scrip hash

Resolve Epoch Number

With resolveEpochNo, you can get the current epoch with:

You can also provide date in milliseconds to get epoch in the past or the future. For example, get the epoch 1 year from now:

Resolve Epoch number

Get the epoch number for the network

Resolve Epoch number 1 year from now

Get the epoch number for the network 1 year from now

Resolve Slot Number

With resolveSlotNo, you can get the current slot number with:

You can also provide date in milliseconds to get slots in the past or the future. For example, get the slot number 1 year from now:

Resolve Slot number

Get the Slot number for the network

Resolve Slot number 1 year from now

Get the Slot number for the network 1 year from now