post/getCompressedBalanceByOwner

Request

  • Base URL: https://devnet.helius-rpc.com?api-key=<api_key>
  • URL: https://devnet.helius-rpc.com?api-key=<api_key>/getCompressedBalanceByOwner
  • Auth: none declared

Request body

id'test-account' required

An ID to identify the request.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

method'getCompressedBalanceByOwner' required

The name of the method to invoke.

Example request

{
  "params": {
    "owner": "111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr"
  }
}

Response

id'test-account' required

An ID to identify the response.

jsonrpc'2.0' required

The version of the JSON-RPC protocol.

Example response

{
  "result": {
    "context": {
      "slot": 100
    },
    "value": 100
  }
}

Changes

    • ○

      the request property default value changed from 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj to 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr

    • ○

      the request property default value changed from 111FJo4zLAGU9nzTWa6EnbV4VAmtG4FR8kcokrtZYr to 111111131h1vYVSYuKP6AhS86fbRdMw9XHiZAvAaj