Dash

Dash Wallets & Addresses

Derive Dash addresses, query balances, and compute BIP-44 derivation paths with Zafeguard Dash components.

Dash Wallets & Addresses

Components for Dash address derivation, balance queries, and BIP-44 path computation. Dash uses P2PKH addresses exclusively.


COMPUTE_DASH_ADDRESS

COMPUTE_DASH_ADDRESS Workflow Component

Derives a Dash P2PKH address from a public key.

Config

FieldTypeRequiredDescription
network'mainnet' | 'testnet'YesTarget Dash network

Inputs

FieldTypeDescription
publicKeystring (hex)Public key — compressed 33 bytes (66 hex) or uncompressed 65 bytes (130 hex)

Outputs

FieldTypeDescription
addressstringDerived Dash P2PKH address

SDK example

import { WorkspaceClient, ComponentModule } from '@zafeguard/caller-sdk';
const workspace = new WorkspaceClient({ apiKey: process.env.ZAFEGUARD_API_KEY! });

const result = await workspace.call(ComponentModule.COMPUTE_DASH_ADDRESS, {
  publicKey: '02abc123...',
}).promise();
console.log(result.address);

GET_DASH_ACCOUNT_BALANCE

GET_DASH_ACCOUNT_BALANCE Workflow Component

Queries the blockchain and returns the total UTXO balance for a Dash address.

Config

FieldTypeRequiredDefaultDescription
network'mainnet' | 'testnet'YesTarget Dash network
confirmedOnlybooleanNotrueWhen true, only counts confirmed UTXOs. When false, includes mempool UTXOs

Inputs

FieldTypeDescription
addressstringDash address to query

Outputs

FieldTypeDescription
balancenumberTotal balance in duffs

GET_DASH_DERIVATION_PATH

GET_DASH_DERIVATION_PATH Workflow

Returns the BIP-44 derivation path for a Dash account. Dash uses coin type 5 and BIP-44 P2PKH purpose level (m/44').

Config

FieldTypeRequiredDefaultDescription
hardenedbooleanNotrueWhen true, applies the hardened bit (0x80000000) to purpose, coinType, and account levels

Inputs

FieldTypeDescription
accountIndexnumberAccount index (0-based)
changeIndexnumberChange index — 0 for external (receiving), 1 for internal (change)
addressIndexnumberAddress index within the change level (0-based)

Outputs

FieldTypeDescription
derivationPathnumber[]Derivation path as integers: [44, 5, account, change, addressIndex] with optional hardened bit applied

On this page