Skip to main content
Package: @blend-money/sdk-typesGitHub · npm

Install

  • pnpm
  • npm
  • yarn
pnpm add @blend-money/sdk-types

Highlights

  • Core primitives: Hex, ChainId, Txn, ActionPlan
  • Domain: Token, TokenAmount, VaultConfig, YieldSummary, BalanceSummary
  • Zero runtime; ESM types only

Example

import type { Token, VaultConfig, ActionPlan } from "@blend-money/sdk-types";

const usdc: Token = {
  address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  symbol: "USDC",
  decimals: 6,
  chainId: 1,
};

References

  • Repo: https://github.com/BlendMoney/sdkspackages/sdk-types
  • Readme: packages/sdk-types/README.md
I