Blockdaemon · Capability

Blockdaemon Data API — Accounts and Balances

Account balance, nonce, UTXO, and financial-report endpoints across the chains supported by the Blockdaemon Data API.

Run with Naftiko BlockdaemonDataAccountsBalances

What You Can Do

GET
Getlistofbalancesbyaddress — Get balances for one address.
/v1/{protocol}/{network}/account/{address}

MCP Tools

blockdaemon-get-balances-by-address

Returns balances for an address.

read-only idempotent
blockdaemon-get-account-nonce

Returns the nonce for an account.

read-only idempotent

Capability Spec

data-accounts-balances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Blockdaemon Data API — Accounts and Balances
  description: Account balance, nonce, UTXO, and financial-report endpoints across the chains supported by the
    Blockdaemon Data API.
  tags:
  - Blockdaemon
  - Data
  - Accounts
  - Balances
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    BLOCKDAEMON_API_KEY: BLOCKDAEMON_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-accounts-balances
    baseUri: https://svc.blockdaemon.com
    description: Blockdaemon Data API — account and balance endpoints.
    resources:
    - name: account-balances
      path: /v1/{protocol}/{network}/account/{address}
      operations:
      - name: getlistofbalancesbyaddress
        method: GET
        description: Returns a list of account balances by account address.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: protocol
          in: path
          type: string
          required: true
        - name: network
          in: path
          type: string
          required: true
        - name: address
          in: path
          type: string
          required: true
    - name: account-nonce
      path: /v1/{protocol}/{network}/account/{address}/nonce
      operations:
      - name: getaccountnonce
        method: GET
        description: Returns the nonce for an account address.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: protocol
          in: path
          type: string
          required: true
        - name: network
          in: path
          type: string
          required: true
        - name: address
          in: path
          type: string
          required: true
    - name: utxo-by-account
      path: /v1/{protocol}/{network}/account/{address}/utxo
      operations:
      - name: getutxobyaccount
        method: GET
        description: Returns UTXO inputs and outputs for a BTC-model account address.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: protocol
          in: path
          type: string
          required: true
        - name: network
          in: path
          type: string
          required: true
        - name: address
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.BLOCKDAEMON_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: data-accounts-balances-rest
    port: 8080
    description: REST adapter for Blockdaemon Data API accounts and balances.
    resources:
    - path: /v1/{protocol}/{network}/account/{address}
      name: account-balances
      description: REST surface for balances.
      operations:
      - method: GET
        name: getlistofbalancesbyaddress
        description: Get balances for one address.
        call: data-accounts-balances.getlistofbalancesbyaddress
        with:
          protocol: rest.path.protocol
          network: rest.path.network
          address: rest.path.address
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-accounts-balances-mcp
    port: 9090
    transport: http
    description: MCP adapter for account/balance lookups.
    tools:
    - name: blockdaemon-get-balances-by-address
      description: Returns balances for an address.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-accounts-balances.getlistofbalancesbyaddress
      with:
        protocol: tools.protocol
        network: tools.network
        address: tools.address
      outputParameters:
      - type: object
        mapping: $.
    - name: blockdaemon-get-account-nonce
      description: Returns the nonce for an account.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-accounts-balances.getaccountnonce
      with:
        protocol: tools.protocol
        network: tools.network
        address: tools.address
      outputParameters:
      - type: object
        mapping: $.