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
- Authentication
- Stats
- Farms
- Tokens
- Pools (V1)
- Pools and Positions (V2)
- SaucerSwap V1
- SaucerSwap V2
- Staking Operations
- WHBAR
- ๐ Contract Deployments
- ๐ก๏ธ Audits
- ๐ Bug Bounty
- ๐พ Github
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[]
.
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.