PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-apt/src/lib
Просмотр файла: iface.ts
import {
TransactionExplanation as BaseTransactionExplanation,
TransactionRecipient,
TransactionType as BitGoTransactionType,
} from '@bitgo/sdk-core';
export interface AptTransactionExplanation extends BaseTransactionExplanation {
sender?: string;
type?: BitGoTransactionType;
}
/**
* The transaction data returned from the toJson() function of a transaction
*/
export interface TxData {
id: string;
sender: string;
/** @deprecated - use `recipients`. */
recipient: TransactionRecipient;
recipients: TransactionRecipient[];
sequenceNumber: number;
maxGasAmount: number;
gasUnitPrice: number;
gasUsed: number;
expirationTime: number;
feePayer: string;
assetId: string;
}
export interface RecipientsValidationResult {
recipients: {
deserializedAddresses: string[];
deserializedAmounts: Uint8Array[];
};
isValid: boolean;
}
Выполнить команду
Для локальной разработки. Не используйте в интернете!