mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-05 05:15:48 +00:00
add hook param to tx common
This commit is contained in:
@@ -4,7 +4,13 @@
|
|||||||
import { TRANSACTION_TYPES } from '@transia/ripple-binary-codec'
|
import { TRANSACTION_TYPES } from '@transia/ripple-binary-codec'
|
||||||
|
|
||||||
import { ValidationError } from '../../errors'
|
import { ValidationError } from '../../errors'
|
||||||
import { Amount, IssuedCurrencyAmount, Memo, Signer } from '../common'
|
import {
|
||||||
|
Amount,
|
||||||
|
HookParameter,
|
||||||
|
IssuedCurrencyAmount,
|
||||||
|
Memo,
|
||||||
|
Signer,
|
||||||
|
} from '../common'
|
||||||
import { onlyHasFields } from '../utils'
|
import { onlyHasFields } from '../utils'
|
||||||
|
|
||||||
const MEMO_SIZE = 3
|
const MEMO_SIZE = 3
|
||||||
@@ -163,6 +169,10 @@ export interface BaseTransaction {
|
|||||||
* The network id of the transaction.
|
* The network id of the transaction.
|
||||||
*/
|
*/
|
||||||
NetworkID?: number
|
NetworkID?: number
|
||||||
|
/**
|
||||||
|
* The hook parameters of the transaction
|
||||||
|
*/
|
||||||
|
HookParameters?: HookParameter[]
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user