Nest Detect Balance
Read all Nest vault token balances and pUSD balance for a wallet on Plume Network (chain 98866). Uses RPC multicall for efficient batch reading. Returns token balances in both raw (wei) and human-readable formats. Ideal for: portfolio tracking, rebalancing workflows, vault balance monitoring.
카탈로그 액션 블록체인 데이터 지갑
Plume Network(체인 98866)에서 지갑의 모든 Nest 볼트 토큰 잔고와 pUSD 잔고를 읽습니다. 효율적인 배치 읽기를 위해 RPC 멀티콜을 사용합니다. 토큰 잔고를 원시(wei) 및 인간이 읽기 쉬운 형식으로 모두 반환합니다. 포트폴리오 추적, 리밸런싱 워크플로우, 볼트 잔고 모니터링에 이상적입니다.
한눈에 보기
| 필드 | 값 |
|---|---|
| 액션 ID | nest-detect-balance |
| 카테고리 | 블록체인 데이터 |
| 커넥터 | wallet |
| 가스 필요 | 없음 |
| 자금 이동 | 선언되지 않음 |
| 태그 | defi, plume, nest, balance, vault, read, rebalancing |
페이로드 스키마
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
includeZeroBalances | boolean | 아니오 | 출력에 잔고가 0인 토큰을 포함할지 여부 (기본값: true). |
결과 스키마
| 필드 | 유형 | 필수 | 설명 |
|---|---|---|---|
walletAddress | string | 예 | 조회된 지갑 주소. |
balances | array | 예 | 토큰 잔고 배열. |
totalValuePusd | string | 예 | pUSD 단위 총 포트폴리오 가치 (인간이 읽기 쉬운 형식). |
nativeBalance | string | 아니오 | 인간이 읽기 쉬운 단위의 네이티브 PLUME 토큰 잔고 (가스 추정을 위해). |
예시
json{ "type": "nest-detect-balance", "payload": { "includeZeroBalances": true }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/nest-detect-balance/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "includeZeroBalances": true }}'
페이로드 필드는 값이 트리거, 이전 노드 또는 재사용 가능한 워크플로우 속성에서 가져와야 하는 경우 {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, {{$props.asset}}와 같은 워크플로우 표현식을 사용할 수 있습니다.
