Revoke Association
Revoke an association between accounts. Revoked associations are still visible.
The JSON and binary schema for revoking an association are identical to the schemas for creating an association.
To revoke an association, the sender
, assocationType
, recipient
, and hash
need to be the same as in the transaction that created the association.
JSON
id
andheight
should be omitted when broadcasting. These fields are set by the node.hash
is optional.Binary strings are base58 encoded.
timestamp
is in microseconds since epoch.fee
includes 8 digits, soLTO * 10^8
Binary schema
The binary data structure of the unsigned transaction.
Version 4 of the revoke anchor transaction is part of the Titanium release.
1
Transaction type
Byte (constant, value=17)
1
2
Version
Byte (constant, value=3)
1
3
Chain 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
Association type
Int
4
9
Recipient
Address (Array[Byte])
26
10
Subject length (N)
Short
2
11
Subject
Array[Byte]
N
Network id can be obtained by taking the 2nd byte from the sender address.
If the association doesn't have a hash, the hash length should be zero.
Each key type has a numeric id in addition to the reference from the JSON.
Integers (short, int, long) have a big endian byte order.
Last updated