Home
Roadmap
Contact
- 📞 Contact
Get Started
- ❓ FAQ
- 🌐 Hedera Guide
- 🎓 SaucerSwap Tutorials
Protocol
- ⚖️ SaucerSwap V1
- 🌊 SaucerSwap V2
- 🥩 Single-Sided Staking
- 🏊♂️ Community Pools
Governance
Tokenomics
Developer
- 🔮 Developer Resources
- REST API
- SaucerSwap V1
- SaucerSwap V2
- Staking Operations
- WHBAR
- 📜 Contract Deployments
- 🛡️ Audits
- 🐞 Bug Bounty
- 👾 Github
Resources
Archive
- 🗃️ Proto-Governance
- 🦕 Old Tokenomics
- 🔁 Liquidity Migration
Pools and Positions (V2)
Get all liquidity positions by account id
GET
/
v2
/
nfts
/
{accountId}
/
positions
Copy
Ask AI
curl --request GET \
--url https://api.saucerswap.finance/v2/nfts/{accountId}/positions \
--header 'x-api-key: <x-api-key>'
Copy
Ask AI
[
{
"tokenSN": 160,
"accountId": "0.0.12345",
"deleted": false,
"createdAt": "1697779560.762467685",
"updatedAt": "1698287867.747005303",
"token0": {
"decimals": 8,
"icon": "/images/tokens/hbar.png",
"id": "0.0.59042",
"name": "WHBAR [new]",
"price": "100000000",
"priceUsd": 0.0598982,
"symbol": "HBAR",
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "Hedera is a public, open source, proof-of-stake network, with native cryptocurrency HBAR...",
"website": "https://hedera.com/",
"twitterHandle": "hedera"
},
"token1": {
"decimals": 6,
"icon": "/images/tokens/sauce.png",
"id": "0.0.61266",
"name": "SAUCE",
"price": "24609831",
"priceUsd": 0.0147408436767304,
"symbol": "SAUCE",
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera...",
"website": "https://www.saucerswap.finance/",
"twitterHandle": "SaucerSwapLabs"
},
"fee": 3000,
"tickUpper": -1620,
"tickLower": -2820,
"liquidity": "3249809842",
"feeGrowthInside0LastX128": "2546890053379859378523505791149585",
"feeGrowthInside1LastX128": "1232345435623984092384092380932840",
"tokensOwed0": "10",
"tokensOwed1": "20"
}
]
Hedera Network | Base URL |
---|---|
Mainnet | https://api.saucerswap.finance |
Testnet | https://test-api.saucerswap.finance |
Previewnet | Not supported |
Headers
API key for authentication. The demo api key provided is globally rate limited. Do not use in production.
Path Parameters
Hedera account id (shard.realm.num)
Example:
"0.0.12345"
Response
200 - application/json
Successful response
The response is of type object[]
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://api.saucerswap.finance/v2/nfts/{accountId}/positions \
--header 'x-api-key: <x-api-key>'
Copy
Ask AI
[
{
"tokenSN": 160,
"accountId": "0.0.12345",
"deleted": false,
"createdAt": "1697779560.762467685",
"updatedAt": "1698287867.747005303",
"token0": {
"decimals": 8,
"icon": "/images/tokens/hbar.png",
"id": "0.0.59042",
"name": "WHBAR [new]",
"price": "100000000",
"priceUsd": 0.0598982,
"symbol": "HBAR",
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "Hedera is a public, open source, proof-of-stake network, with native cryptocurrency HBAR...",
"website": "https://hedera.com/",
"twitterHandle": "hedera"
},
"token1": {
"decimals": 6,
"icon": "/images/tokens/sauce.png",
"id": "0.0.61266",
"name": "SAUCE",
"price": "24609831",
"priceUsd": 0.0147408436767304,
"symbol": "SAUCE",
"dueDiligenceComplete": true,
"isFeeOnTransferToken": false,
"description": "SaucerSwap is an open source and non-custodial AMM protocol native to Hedera...",
"website": "https://www.saucerswap.finance/",
"twitterHandle": "SaucerSwapLabs"
},
"fee": 3000,
"tickUpper": -1620,
"tickLower": -2820,
"liquidity": "3249809842",
"feeGrowthInside0LastX128": "2546890053379859378523505791149585",
"feeGrowthInside1LastX128": "1232345435623984092384092380932840",
"tokensOwed0": "10",
"tokensOwed1": "20"
}
]
Assistant
Responses are generated using AI and may contain mistakes.