Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RGB++ Related API request #10

Open
Keith-CY opened this issue Jan 8, 2025 · 0 comments
Open

RGB++ Related API request #10

Keith-CY opened this issue Jan 8, 2025 · 0 comments

Comments

@Keith-CY
Copy link
Member

Keith-CY commented Jan 8, 2025

RGB++ Activities on BTC

Expect to have an API to fetch transactions on BTC that involved in RGB++ ecosystem. The following fields are required

  • type: from-btc/to-btc/bound/unbound
  • amounts: amounts of tokens involved in the transaction, including native assets(btc & ckb), and protocol assets(xudt and dob)
  • tx: btc tx info, be noted that the tx could be on other chains in the future, e.g. dogecoin
    • id: btc txid
    • confirmations: confirmations on btc
    • timestamp: btc block timestamp
  • complementary_tx
    • hash: ckb tx hash
    • asset
      • id: asset id
      • measure: amount of ft or count of nft
      • info
        • symbol: ft symbol
        • decimal: ft decimal
    • confirmations
    • timestamp

RGB++ Activity Detail on BTC

Same as above

RGB++ Activities on CKB

  • type: from-btc/to-btc/bound/unbound
  • amounts: amounts of tokens involved in the transaction, including native assets(btc & ckb), and protocol assets(xudt and dob)
  • tx:
    • hash: ckb tx hash
    • asset
      • id: asset id
      • measure: amount of ft or count of nft
      • info
        • symbol: ft symbol
        • decimal: ft decimal
    • confirmations
    • timestamp
  • complementary_tx
    • id: btc tx id
    • confirmations
    • timestamp

RGB++ Activity Detail on CKB

Same as above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant