Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@leather.io/rpc

Package Overview
Dependencies
Maintainers
2
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leather.io/rpc

RPC types package for Leather

npmnpm
Version
2.21.9
Version published
Weekly downloads
1.5K
-15.04%
Maintainers
2
Weekly downloads
 
Created
Source

@leather.io/rpc

This package provides Typescript typings Leather developers can use when interacting with the LeatherProvider global object.

Consuming as global object

In your Typescript project, import LeatherProvider and declare it as a global type.

import { LeatherProvider } from '@leather.io/rpc';

declare global {
  interface Window {
    LeatherProvider?: LeatherProvider;
  }
}

SIP-30 Support

Method
stx_getAddresses🟢 Yes
stx_getAccounts🔴 No
stx_getNetworks🔴 No
stx_transferStx🟢 Yes
stx_transferSip10Ft🟢 Yes
stx_transferSip9Nft🟢 Yes
stx_callContract🟠 Yes Hex-encoded Clarity values only
stx_deployContract🟠 Yes Hex-encoded Clarity values only
stx_signTransaction🟠 Yes Hex-encoded Clarity values only
stx_signMessage🟠 Yes Hex-encoded Clarity values only
stx_signStructuredMessage🟠 Yes Hex-encoded Clarity values only
stx_updateProfile🔴 No
stx_accountChange (event)🔴 No
stx_networkChange (event)🔴 No

FAQs

Package last updated on 09 Feb 2026

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