Solv Protocol
  • Welcome to Solv
    • Introduction
    • State of Bitcoin Staking
    • The On-Chain Bitcoin Reserve
  • SOLV Token
    • SOLV Tokenomics
    • Claiming SOLV
      • Claiming SOLV from a Multi-sig Wallet
      • Claiming SOLV as Flexible Voucher Holders
    • Governance
  • Key Products
    • SolvBTC
    • SolvBTC LSTs
      • LST Suite
      • Yield Related Address
    • DeFi Vaults
    • Bitcoin Reserve Offerings
  • Staking Abstraction Layer (SAL)
    • Introduction
      • The Challenges with Bitcoin Staking
      • What is SAL?
    • Architecture
      • The Ecological View
        • The Staking Protocols
        • The LST Issuers
        • The Staking Guardians
        • The Yield Distributors
      • The Technical Architecture
        • The Staking Abstraction Matrix
        • LST Issuance Services
        • Staking Verification Services
        • Transaction Building Services
        • Yield Distribution Services
      • Diverse Yield Streams Accessible Through SAL
  • Security
    • Solv Guard
    • Smart Contract Governance
    • Smart Contract Audits
      • Audits
  • USER GUIDE
    • Deposit BTCB in Binance MegaDrop
    • Claim BABY as xSolvBTC Holders
  • Developer Guide
    • Core Components
      • Price Oracles
      • Cross-chain Bridge
    • Smart Contracts
      • Technical Architecture
      • Asset Storage & Representation
      • LST Oracle Mechanism
      • Contract Addresses
    • Integrations
      • SolvBTC and SolvBTC.LSTs
      • Data Services
        • SolvBTC/SolvBTC.LSTs storage pools
        • User Assets
      • SAL Services
    • Code Repo
  • Legal
    • Terms of Use
    • Privacy Policy
    • Cookie Policy
    • Disclaimer
Powered by GitBook
On this page
  • Query user SolvBTC/SolvBTC.LSTs asset list
  • Header
  • GraphQL Query

Was this helpful?

  1. Developer Guide
  2. Integrations
  3. Data Services

User Assets

PreviousSolvBTC/SolvBTC.LSTs storage poolsNextSAL Services

Last updated 1 month ago

Was this helpful?

Query user SolvBTC/SolvBTC.LSTs asset list

URL:

Method: POST

Header

Name
Type
Mandatory
Description

Authorization

string

Yes

use “test”

GraphQL Query

query WrappedAssets($filter: WrappedAssetFilter, $pagination:Pagination, $sort:Sort)
{
  wrappedAssets(filter:$filter,pagination:$pagination,sort:$sort) {
    totalCount
    wrappedAssets {
      chainId
      tokenAddress
      holder
      symbol
      balance
      mintTime
      lastUpdated
      decimals
      name
      usdValue
    }
  }
}

Variables

No.
Name
Mandatory
Type

1

filter

Yes

object

1.1

holder

Yes

string

user address

2

pagination

no

object

2.1

limit

no

number

2.2

offset

no

number

default to 0

3

sort

no

object

3.1

field

no

string

Field that you want to order by.

3.2

direction

no

string

ASC/DESC

Examples

{
 "filter":{ "holder":"0x1c565082bc869cbdcd0644eba6e556b448342f93"
 },
 "pagination":{
   "limit":10,
   "offset":0
 },
 "sort":{
   "field":"lastUpdated",
   "direction":"DESC"
 }
}

Response Examples

{
  "data": {
    "wrappedAssets": {
      "totalCount": 2,
      "wrappedAssets": [
        {
          "chainId": 56,
          "tokenAddress": "0x1346b618dc92810ec74163e4c27004c921d446a5",
          "holder": "0x1c565082bc869cbdcd0644eba6e556b448342f93",
          "symbol": "xSolvBTC",
          "balance": "70000000000000",
          "mintTime": 1726043603,
          "lastUpdated": 1728443816,
          "decimals": 18,
          "name": "SolvBTC Babylon",
          "usdValue": "4.3464633526591557"
        },
        {
          "chainId": 1,
          "tokenAddress": "0x7a56e1c57c7475ccf742a1832b028f0456652f97",
          "holder": "0x1c565082bc869cbdcd0644eba6e556b448342f93",
          "symbol": "SolvBTC",
          "balance": "30000000000000",
          "mintTime": 1724934971,
          "lastUpdated": 1728308015,
          "decimals": 18,
          "name": "Solv BTC",
          "usdValue": "1.8611302367842758"
        }
      ]
    }
  }
}
https://sft-api.com/graphql