1+ import { BigNumber } from 'bignumber.js'
12import { Client } from '../client'
23import { Page } from '../page'
34import { Query } from '../query'
@@ -49,15 +50,15 @@ export class TransactionBuilder {
4950 *
5051 * @param {Object } params - Action parameters.
5152 * @param {String } params.flavorId - ID of flavor to be issued.
52- * @param {String } params.amount - Amount of the flavor to be issued.
53+ * @param {Number|BigNumber } params.amount - Amount of the flavor to be issued.
5354 * @param {String } params.destinationAccountId - Account ID specifying the
5455 * account controlling the flavor.
5556 * @param {Object } params.tokenTags - Tags to add to the receiving tokens.
5657 * @param {Object } params.actionTags - Tags to add to the action.
5758 */
5859 public issue ( params : {
5960 flavorId : string
60- amount : number
61+ amount : number | BigNumber
6162 destinationAccountId : string
6263 tokenTags ?: object
6364 actionTags ?: object
@@ -73,15 +74,15 @@ export class TransactionBuilder {
7374 * @param {String } params.sourceAccountId - Account ID specifying the account
7475 * controlling the flavor.
7576 * @param {String } params.flavorId - ID of flavor to be retired.
76- * @param {Number } params.amount - Amount of the flavor to be retired.
77+ * @param {Number|BigNumber } params.amount - Amount of the flavor to be retired.
7778 * @param {String } params.filter - Token filter string, see {@link https://dashboard.seq.com/docs/filters}.
7879 * @param {Array<String|Number> } params.filterParams - Parameter values for filter string (if needed).
7980 * @param {Object } params.actionTags - Tags to add to the action.
8081 */
8182 public retire ( params : {
8283 sourceAccountId : string
8384 flavorId : string
84- amount : number
85+ amount : number | BigNumber
8586 filter ?: string
8687 filterParams ?: object
8788 actionTags ?: object
@@ -98,7 +99,7 @@ export class TransactionBuilder {
9899 * @param {String } params.sourceAccountId - Account ID specifying the account
99100 * controlling the flavor.
100101 * @param {String } params.flavorId - ID of flavor to be transferred.
101- * @param {Integer } params.amount - Amount of the flavor to be transferred.
102+ * @param {Number|BigNumber } params.amount - Amount of the flavor to be transferred.
102103 * @param {String } params.destinationAccountId - Account ID specifying the
103104 * account controlling the flavor.
104105 * @param {String } params.filter - Token filter string, see {@link https://dashboard.seq.com/docs/filters}.
@@ -109,7 +110,7 @@ export class TransactionBuilder {
109110 public transfer ( params : {
110111 sourceAccountId : string
111112 flavorId : string
112- amount : number
113+ amount : number | BigNumber
113114 destinationAccountId : string
114115 filter ?: string
115116 filterParams ?: object
0 commit comments