GET
/
addresses
/
{address}
/
utxos
UTxOs at an address
curl --request GET \
  --url https://mainnet.gomaestro-api.org/v1/addresses/{address}/utxos \
  --header 'api-key: <api-key>'
{
  "data": [
    {
      "tx_hash": "b24743fb4b5381971ee8b3d02a3fd5e783acdb5a21cd2d22d192ec84e7e279fc",
      "index": 0,
      "slot": 23100140,
      "assets": [
        {
          "unit": "lovelace",
          "amount": 1224040
        },
        {
          "unit": "0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2446a65644f7261636c654e4654",
          "amount": 1
        }
      ],
      "address": "addr_test1wzdtu0djc76qyqak9cj239udezj2544nyk3ksmfqvaksv7c9xanpg",
      "datum": {
        "type": "hash",
        "hash": "ac0017f05bec9c7d1a475283b89fc40630ecdd66544fc3c0506be5f7c790d79e",
        "bytes": null,
        "json": null
      },
      "reference_script": null,
      "txout_cbor": null
    },
    {
      "tx_hash": "e2e91c7be8239b9f52fadec8df627fe759d21e5b6559c3ec06d8120f1366e075",
      "index": 0,
      "slot": 32264892,
      "assets": [
        {
          "unit": "lovelace",
          "amount": 1224040
        },
        {
          "unit": "0c64d6d0371d11185aae649cf3a169040e94214137137b531ebb16c2446a65644f7261636c654e4654",
          "amount": 1
        }
      ],
      "address": "addr_test1wzdtu0djc76qyqak9cj239udezj2544nyk3ksmfqvaksv7c9xanpg",
      "datum": {
        "type": "hash",
        "hash": "bdea76b7527bf513874be137b040b3235033d6d5af0add15d6e0dcfc78859aed",
        "bytes": null,
        "json": null
      },
      "reference_script": null,
      "txout_cbor": null
    }
  ],
  "last_updated": {
    "timestamp": "2022-10-10 20:25:28",
    "block_hash": "eb5008ee0990527fb0d27d16b8c6284d4c898112509948d4741a7c41e544b912",
    "block_slot": 32265653
  },
  "next_cursor": null
}

Authorizations

api-key
string
header
required

Project API Key

Headers

amounts-as-strings
string | null

Large numbers returned as strings if set to true

Path Parameters

address
string
required

Address in bech32 format

Query Parameters

asset
string | null

Return only UTxOs which contain some of a specific asset (asset formatted as concatenation of hex encoded policy and asset name)

resolve_datums
boolean | null

Try find and include the corresponding datums for datum hashes

with_cbor
boolean | null

Include the CBOR encodings of the transaction outputs in the response

count
integer
default:100

The max number of results per page

Required range: x >= 0
order
enum<string>
default:asc

The order in which the results are sorted (by slot at which UTxO was produced)

Available options:
asc,
desc
from
integer | null

Return only UTxOs created on or after a specific slot

Required range: x >= 0
to
integer | null

Return only UTxOs created on or before a specific slot

Required range: x >= 0
cursor
string | null

Pagination cursor string, use the cursor included in a page of results to fetch the next page

Response

200
application/json

Get all unspent transaction outputs at an address

A paginated response. Pass in the next_cursor in a subsequent request as the cursor query parameter to fetch the next page of results.