Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.23 KB

File metadata and controls

31 lines (24 loc) · 1.23 KB

SWEEP command

This command transfers all token balances and/or ownerships to a destination address

PARAMS

Name Type Description
VERSION String Broadcast Format Version
DESTINATION String address where token shall be swept
SWEEP_BALANCES String Indicates if address token balances should be swept (default=1)
SWEEP_OWNERSHIP String Indicates if address token balances should be swept (default=1)
MEMO String Optional memo to include

Formats

Version 0

  • VERSION|DESTINATION|SWEEP_BALANCES|SWEEP_OWNERSHIP|MEMO

Examples

bt:SWEEP|0|1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev|1|1
This example sweeps both token balances and ownership from the broadcasting address to 1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev
bt:SWEEP|0|1BoogrfDADPLQpq8LMASmWQUVYDp4t2hF9|0|1`
This example sweeps only token ownership from the broadcasting address to 1JDogZS6tQcSxwfxhv6XKKjcyicYA4Feev

Rules

Notes