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

feat(utxorpc): add support for searchUtxos by address #296

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

verbotenj
Copy link
Contributor

Fixes #288

Input

searchUtxos(ctx, client, "addr_test1qzrkvcfvd7k5jx54xxkz87p8xn88304jd2g4jsa0hwwmg20k3c7k36lsg8rdupz6e36j5ctzs6lzjymc9vw7djrmgdnqff9z6j")

Response:

Ledger Tip:
  Slot: 75695626
  Hash: 1ed8ca71d76b47d14278216ea93f952e5fe8e1c1f09078a231cf9edab841fd8c
UTxO Data:
  Tx Hash: 3c74152781847372a1fa45881be92e3ad204dbaf303b306016593c78fa0e0e4b
  Output Index: 0
  Native Bytes: 825839008766612c6fad491a9531ac23f82734ce78beb26a915943afbb9db429f68e3d68ebf041c6de045acc752a616286be2913782b1de6c87b43661a0012aa84
  Cardano UTxO:
    Address: 008766612c6fad491a9531ac23f82734ce78beb26a915943afbb9db429f68e3d68ebf041c6de045acc752a616286be2913782b1de6c87b4366
    Coin: 1223300
UTxO Data:
  Tx Hash: cb41a609fbc5e864893df41d837aa5ffa36e669f8e5fb9efb7fe1f65675b6cab
  Output Index: 0
  Native Bytes: 825839008766612c6fad491a9531ac23f82734ce78beb26a915943afbb9db429f68e3d68ebf041c6de045acc752a616286be2913782b1de6c87b43661a0012aab0
  Cardano UTxO:
    Address: 008766612c6fad491a9531ac23f82734ce78beb26a915943afbb9db429f68e3d68ebf041c6de045acc752a616286be2913782b1de6c87b4366
    Coin: 1223344

Signed-off-by: Ales Verbic <verbotenj@blinklabs.io>
@verbotenj verbotenj requested a review from a team as a code owner November 12, 2024 02:50
@verbotenj verbotenj merged commit f111392 into main Nov 12, 2024
7 checks passed
@verbotenj verbotenj deleted the feat/search-utxos-by-address branch November 12, 2024 13:33
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

Successfully merging this pull request may close these issues.

[UTXORPC] SearchUtxo by address
2 participants