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
| Field | Type | Required | Description |
|---|---|---|---|
network | 'mainnet' | 'testnet' | Yes | Target Dash network |
Inputs
| Field | Type | Description |
|---|---|---|
publicKey | string (hex) | Public key — compressed 33 bytes (66 hex) or uncompressed 65 bytes (130 hex) |
Outputs
| Field | Type | Description |
|---|---|---|
address | string | Derived 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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
network | 'mainnet' | 'testnet' | Yes | — | Target Dash network |
confirmedOnly | boolean | No | true | When true, only counts confirmed UTXOs. When false, includes mempool UTXOs |
Inputs
| Field | Type | Description |
|---|---|---|
address | string | Dash address to query |
Outputs
| Field | Type | Description |
|---|---|---|
balance | number | Total 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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
hardened | boolean | No | true | When true, applies the hardened bit (0x80000000) to purpose, coinType, and account levels |
Inputs
| Field | Type | Description |
|---|---|---|
accountIndex | number | Account index (0-based) |
changeIndex | number | Change index — 0 for external (receiving), 1 for internal (change) |
addressIndex | number | Address index within the change level (0-based) |
Outputs
| Field | Type | Description |
|---|---|---|
derivationPath | number[] | Derivation path as integers: [44, 5, account, change, addressIndex] with optional hardened bit applied |