Gets the UTXOs that reference a given address.

This method will use 10 Compute Units.

Reference: Here


  • addresses - []string - A list of addresses.

  • limit - int - (optional) The limit of UTXOs to return. If limit is omitted or greater than 1024, it is set to 1024.

  • startIndex - object - (optional) If startIndex is omitted, will fetch all UTXOs up to limit. When using pagination (i.e when startIndex is provided), UTXOs are not guaranteed to be unique across multiple calls. That is, a UTXO may appear in the result of the first call, and then again in the second call.

  1. address - string

  2. utxo - string

  • sourceChain - string - The ID or alias of the chain the asset is being imported from.

  • encoding - string - (optional) Sets the format for the returned UTXOs. Can only be hex when a value is provided.


  • numFetched - int - (optional) Number of UTXOs fetched.

  • utxos - []string - a list of UTXOs such that each UTXO references at least one address in addresses.

  • endIndex - object - Denotes the last UTXO returned. To get the next set of UTXOs, use the value of endIndex as startIndex in the next call.

  1. address - string

  2. utxo - string

  "jsonrpc": "2.0",
  "result": {
    "numFetched": "3",
    "utxos": [
    "endIndex": {
      "address": "C-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5",
      "utxo": "0x9333ef8a05f26acf2d8766f94723f749870fa2ca80c19c33cc945d79013d7c50fd023beb"
    "encoding": "hex"
  "id": 1

curl https://mainnet.avalanche.validationcloud.io/v1/<YOUR_API_KEY_HERE>/ext/bc/C/avax \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
    "id"     :1,
    "method" :"avax.getUTXOs",
    "params" :{
        "sourceChain": "X",
        "startIndex": {
            "address": "C-avax18jma8ppw3nhx5r4ap8clazz0dps7rv5ukulre5",
            "utxo": "22RXW7SWjBrrxu2vzDkd8uza7fuEmNpgbj58CxBob9UbP37HSB"
        "encoding": "hex"

Last updated