Disclaimer: Leather does not control third-party integrations using this method. Developers must validate transaction parameters and recipients before requesting user signatures.
Request a transfer of STX tokens to a specified recipient using the user's connected Leather account.
Method name
stx_transferStx
Parameters
recipient
: Stacks address (c32 format) — requiredamount
: Number or string (in microSTX) — requiredmemo
: Optional string memo for the transaction
Examples
Example request
Example response
Use case
Use stx_transferStx
to initiate STX token transfers within your app—from peer-to-peer tips to app-native payments.
Sandbox
Try the stx_transferStx
method live in this CodeSandbox environment: 👉 Open Sandbox