Wizz Wallet
English
English
  • Introduction
  • Wallet
    • Wallet Extension
      • Import Bitcoin Wallet
      • Mint ARC20
      • Dmint NFT
      • Mint Realm/SubRealm
      • Split Assets
      • Send BRC20
    • Wizz Cash on browser
    • Mobile wallet
  • BiHelix & RGB
    • How to Claim the JerrysBox Airdrop
    • Receive RGB Assets
    • Send RGB Assets
    • FAQ
      • How to create sub-accounts?
      • How to connect Wizz on jerrysbox.xyz
  • Service
    • Dmint Guide
    • ARC20 Staking (POC)
  • DEV
    • Wallet API
    • ElectrumX Guides
      • API Samples
      • API Integration Guide
      • Partial Coloring / Custom Coloring
  • FAQ
    • Basic Knowledge
    • Advanced
Powered by GitBook
On this page
  1. DEV
  2. ElectrumX Guides

API Integration Guide

Describes how to integrate with the ElectrumX API Service specified to different versions.

PreviousAPI SamplesNextPartial Coloring / Custom Coloring

Last updated 11 months ago

v1.5.0

Custom Coloring and Partial Coloring features are introduced in the v1.5.0 release.

These features also introduce the breaking change to the result when reading the Atomicals assets.

When you are requesting the list (typically blockchain.atomicals.listscripthash ), the structure response.utxos.atomicals has been updated.

Before

The field's type was a string list that contained the Atomical ID in that UTXO.

{
  "atomicals": [
    "9025f03bcf9325f6071761b9aee00b462a0b43ed157c336e2e89e07f47ea6f66i0"
  ],
  "height": 847000,
  "index": 0,
  "txid": "b3ab9bf07db9075c1bbdef5638aef4941564a8afa3e0399ea4127285796b9ac1",
  "value": 546,
  "vout": 0
}

After

The field's type is a record map that contains the Atomical ID and the corresponding Atomicals value in that UTXO.

{
  "atomicals": {
    "9025f03bcf9325f6071761b9aee00b462a0b43ed157c336e2e89e07f47ea6f66i0": 546
  },
  "height": 847000,
  "index": 0,
  "txid": "b3ab9bf07db9075c1bbdef5638aef4941564a8afa3e0399ea4127285796b9ac1",
  "value": 546,
  "vout": 0
}

Now the Atomicals value might not equal the UTXO value, so you shall read based on the Atomical ID to obtain the correct value.

Release (BETA) Atomicals ElectrumX Node v1.5.0, patch 1 · atomicals/atomicals-electrumxGitHub
Logo