PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-xrp/dist/src/lib

Просмотр файла: transaction.d.ts

import { BaseKey, BaseTransaction, TransactionType } from '@bitgo/sdk-core';
import { BaseCoin as CoinConfig } from '@bitgo/statics';
import { TransactionExplanation, TxData, XrpTransaction } from './iface';
import { KeyPair } from './keyPair';
/**
 * XRP transaction.
 */
export declare class Transaction extends BaseTransaction {
    protected _xrpTransaction: XrpTransaction;
    protected _isMultiSig: boolean;
    constructor(coinConfig: Readonly<CoinConfig>);
    get xrpTransaction(): XrpTransaction;
    set xrpTransaction(tx: XrpTransaction);
    canSign(key: BaseKey): boolean;
    toJson(): TxData;
    getSignablePayload(): XrpTransaction;
    sign(keyPair: KeyPair | KeyPair[]): void;
    /** @inheritdoc */
    toBroadcastFormat(): string;
    explainTransaction(): TransactionExplanation;
    private explainPaymentTransaction;
    private explainAccountSetTransaction;
    private explainSignerListSetTransaction;
    private calculateIdFromRawTx;
    /**
     * Set the transaction type.
     *
     * @param {TransactionType} transactionType The transaction type to be set.
     */
    setTransactionType(transactionType: TransactionType): void;
    setMultiSigValue(isMultiSig: boolean): void;
    /**
     * Sets this transaction payload
     *
     * @param rawTransaction
     */
    fromRawTransaction(rawTransaction: string): void;
    /**
     * Load the input and output data on this transaction.
     */
    loadInputsAndOutputs(): void;
    /**
     * Groups and sorts the signers by account.
     * @param {Signer[]}signers1 - The first set of signers.
     * @param {Signer[]}signers2 - The second set of signers.
     * @returns The grouped and sorted signers.
     **/
    private concatAndSortSigners;
    /**
     * If presented in binary form, the Signers array must be sorted based on
     * the numeric value of the signer addresses, with the lowest value first.
     * (If submitted as JSON, the submit_multisigned method handles this automatically.)
     * https://xrpl.org/multi-signing.html.
     *
     * @param left - A Signer to compare with.
     * @param right - A second Signer to compare with.
     * @returns 1 if left \> right, 0 if left = right, -1 if left \< right, and null if left or right are NaN.
     */
    private compareSignersByAccount;
    private addressToBigNumber;
}
//# sourceMappingURL=transaction.d.ts.map

Выполнить команду


Для локальной разработки. Не используйте в интернете!