# [Ride v4 and v3] ExchangeTransaction
⚠️ This is the documentation for the Standard library version 4 and 3. We recommend to use version 6. Go to version 6
Structure of an exchange transaction.
# Fields
# | Name | Data type | Description |
---|---|---|---|
1 | buyOrder | Order | Token purchase order |
2 | sellOrder | Order | Token sell order |
3 | price | Int | Price of exchanging token |
4 | amount | Int | Amount of exchanging tokens |
5 | buyMatcherFee | Int | Matcher's purchase fee |
6 | sellMatcherFee | Int | Matcher's sell fee |
7 | id | ByteVector | Transaction ID |
8 | fee | Int | Transaction fee |
9 | timestamp | Int | Transaction timestamp |
10 | version | Int | Transaction version |
11 | sender | Address | Address of a transaction sender |
12 | senderPublicKey | ByteVector | Account public key of a sender |
13 | bodyBytes | ByteVector | Transaction body bytes |
14 | proofs | List[ByteVector] | Array of proofs |