Cancel Lease
The cancel lease transaction allows you to stop leasing to a node for staking.
To cancel leasing, you need the id of the transaction that started the leasing. You can obtain a list of leases of an address via the /leasing/active/{address}
endpoint on the REST API.
Binary schema
The binary data structure of the unsigned transaction.
#
Field Name
Type
Length
1
Transaction type
Byte (constant, value=9)
1
2
Version
Byte (constant, value=3)
1
3
Network id
Byte
1
4
Timestamp
Long
8
5
Sender's key type
KeyType (Byte)
1
6
Sender's public key
PublicKey (Array[Byte])
32 | 33
7
Fee
Long
8
8
Lease id
Transaction (Array[Byte])
32
Last updated