---
updatedAt: 2026-05-28T07:48:23.000Z
agentTools:
  projectIndex: https://finp2p-docs.ownera.io/llms.txt
---

# Get asset balance

Get asset balance for specified owner

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Ledger Adapter Specification",
    "description": "This is the API specification for the Ledger Adapter with whom the FinP2P Router will interact in order to execute and query the underlying implementation.",
    "termsOfService": "https://ownera.io/terms/",
    "contact": {
      "email": "support@ownera.io"
    },
    "version": "0.28"
  },
  "tags": [
    {
      "name": "transactions",
      "description": "Transactions"
    }
  ],
  "paths": {
    "/assets/getBalance": {
      "post": {
        "deprecated": true,
        "tags": [
          "transactions"
        ],
        "summary": "Get asset balance",
        "description": "Get asset balance for specified owner",
        "operationId": "getAssetBalance",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetAssetBalanceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "successful operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssetBalanceResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIErrors"
                },
                "example": {
                  "errors": [
                    {
                      "code": 1002,
                      "message": "Invalid request format"
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIErrors"
                },
                "example": {
                  "errors": [
                    {
                      "code": 1100,
                      "message": "Resource not found"
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIErrors"
                },
                "example": {
                  "errors": [
                    {
                      "code": 2202,
                      "message": "Internal service failure"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "GetAssetBalanceRequest": {
        "type": "object",
        "required": [
          "owner"
        ],
        "properties": {
          "owner": {
            "$ref": "#/components/schemas/account"
          }
        }
      },
      "GetAssetBalanceResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/balance"
          }
        ]
      },
      "asset": {
        "allOf": [
          {
            "type": "object",
            "required": [
              "ledgerIdentifier"
            ],
            "properties": {
              "ledgerIdentifier": {
                "$ref": "#/components/schemas/ledgerAssetIdentifier"
              }
            }
          },
          {
            "$ref": "#/components/schemas/finp2pAssetBase"
          }
        ]
      },
      "account": {
        "type": "object",
        "required": [
          "asset",
          "finId"
        ],
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/asset"
          },
          "finId": {
            "$ref": "#/components/schemas/finId"
          },
          "ledgerAccount": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/walletLedgerAccount"
              },
              {
                "$ref": "#/components/schemas/caip10LedgerAccount"
              },
              {
                "$ref": "#/components/schemas/custodialLedgerAccount"
              }
            ],
            "discriminator": {
              "propertyName": "type",
              "mapping": {
                "walletAccount": "#/components/schemas/walletLedgerAccount",
                "caip10Account": "#/components/schemas/caip10LedgerAccount",
                "custodialAccount": "#/components/schemas/custodialLedgerAccount"
              }
            }
          }
        }
      },
      "walletLedgerAccount": {
        "type": "object",
        "required": [
          "type",
          "address"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "walletAccount"
            ]
          },
          "address": {
            "type": "string",
            "description": "address of the wallet",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "caip10LedgerAccount": {
        "type": "object",
        "required": [
          "type",
          "network",
          "address"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "caip10Account"
            ]
          },
          "network": {
            "type": "string",
            "description": "CAIP-2 chain_id, e.g. \"eip155:1\", \"solana:5eykt4...\", \"hedera:mainnet\" (the same token used by the CAIP-19 asset identifier network)",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "address": {
            "type": "string",
            "description": "CAIP-10 account_address (chain-native address)",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true,
            "maxLength": 128
          }
        }
      },
      "custodialLedgerAccount": {
        "type": "object",
        "required": [
          "type",
          "provider",
          "vaultAccountId"
        ],
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "custodialAccount"
            ]
          },
          "provider": {
            "type": "string",
            "description": "Custody provider discriminator, e.g. \"fireblocks\"",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "vaultAccountId": {
            "type": "string",
            "description": "Provider-internal account identifier (e.g. a Fireblocks vault account id)",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "assetId": {
            "type": "string",
            "description": "Optional. Narrows the custodial account to a specific asset/chain.",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "balance": {
        "type": "object",
        "required": [
          "asset",
          "balance"
        ],
        "properties": {
          "asset": {
            "$ref": "#/components/schemas/asset"
          },
          "balance": {
            "type": "string",
            "description": "the number of asset tokens",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "APIError": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer",
            "description": "Error code indicating the specific failure - for more information see [API Errors](./api-error-codes-reference).\n"
          },
          "message": {
            "type": "string",
            "description": "A descriptive message providing context about the error.",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "APIErrors": {
        "type": "object",
        "required": [
          "errors"
        ],
        "properties": {
          "errors": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/APIError"
            }
          }
        }
      },
      "finId": {
        "type": "string",
        "format": "finid",
        "description": "Existing owner hex representation of a secp256k1 public key 33 bytes compressed",
        "pattern": "^[0-9a-f]*$",
        "minLength": 64,
        "maxLength": 66,
        "x-autoMinLength": true
      },
      "ledgerAssetIdentifierTypeCAIP-19": {
        "type": "object",
        "required": [
          "assetIdentifierType",
          "tokenId"
        ],
        "properties": {
          "assetIdentifierType": {
            "type": "string",
            "enum": [
              "CAIP-19"
            ],
            "description": "Classification type standards"
          },
          "network": {
            "type": "string",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "tokenId": {
            "type": "string",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          },
          "standard": {
            "type": "string",
            "pattern": ".*\\S.*",
            "x-autoMinLength": true
          }
        }
      },
      "ledgerAssetIdentifier": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/ledgerAssetIdentifierTypeCAIP-19"
          }
        ],
        "discriminator": {
          "propertyName": "assetIdentifierType",
          "mapping": {
            "CAIP-19": "#/components/schemas/ledgerAssetIdentifierTypeCAIP-19"
          }
        }
      },
      "finp2pAssetBase": {
        "type": "object",
        "required": [
          "resourceId"
        ],
        "properties": {
          "resourceId": {
            "type": "string",
            "pattern": "^[^:](?:.+):102:(?:.+)",
            "description": "unique resource ID of the FinP2P asset"
          }
        }
      }
    }
  }
}
```