Socket
Book a DemoInstallSign in
Socket

@stellar-expert/claimable-balance-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stellar-expert/claimable-balance-utils

Utilities for Stellar claimable balances

1.4.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

@stellar-expert/claimable-balance-utils

Utilities for Stellar claimable balances

Usage

getClaimableBalanceClaimStatus(claimant, pointInTime)

Detects the status of a claimable balance at any given point in time based on claim conditions.

  • claimant {Claimant} - Claimant condition with destination and predicate
  • pointInTime {String|Date} - Specific point in time (now by default)

Returns of 'available'|'pending'|'expired'|'unfeasible'

xdrParseClaimant(claimant)

Parses claimable balance condition and return formatted human-friendly predicate.

  • claimant {Claimant} - Claimant condition with destination and predicate

Returns {{predicate: String, destination: String}}

FAQs

Package last updated on 21 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.