mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
11 lines
224 B
TypeScript
11 lines
224 B
TypeScript
import * as assert from 'assert'
|
|
|
|
function parseOrderCancellation(tx: any): Object {
|
|
assert(tx.TransactionType === 'OfferCancel')
|
|
return {
|
|
orderSequence: tx.OfferSequence
|
|
}
|
|
}
|
|
|
|
export default parseOrderCancellation
|