stx_transferStx
A helper method to transfer STX.
Method name
stx_transferStx
Request a transfer of STX tokens to a specified recipient.
Parameters
Parameter
Description
Required
Type
recipient
Stacks c32-encoded address of the recipient
✅
string
amount
Amount of STX to transfer (BigInt constructor compatible)
✅
number | string
memo
Optional memo for the transaction (defaults to an empty string)
❌
string
Example request
Example response
Last updated