Learn how to send and receive payments between Spark wallets
sprt1pgssyuuuhnrrdjswal5c3s3rafw9w3y5dd4cjy3duxlf7hjzkp0rqx6dj6mrhu
Checkout Spark Addresses for more details.
Code Sample:
getBalance()
method.
getBalance()
method returns a Promise resolving to an object containing:
balance
: A bigint
representing the total amount in satoshistokenBalances
: A Map of token balances, where each entry contains:
bigint
representing the token amount along with some token information