PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-xrp/dist/src
Просмотр файла: ripple.d.ts
/**
* @hidden
*/
/**
*/
import * as rippleKeypairs from 'ripple-keypairs';
import * as xrpl from 'xrpl';
declare const _default: {
signWithPrivateKey: (txHex: any, privateKey: any, options: any) => {
signedTransaction: string;
id: string;
};
Client: typeof xrpl.Client;
ECDSA: typeof xrpl.ECDSA;
Wallet: typeof xrpl.Wallet;
walletFromSecretNumbers: typeof xrpl.walletFromSecretNumbers;
keyToRFC1751Mnemonic: typeof xrpl.keyToRFC1751Mnemonic;
rfc1751MnemonicToKey: typeof xrpl.rfc1751MnemonicToKey;
LedgerEntry: typeof xrpl.LedgerEntry;
setTransactionFlagsToNumber: typeof xrpl.setTransactionFlagsToNumber;
parseAccountRootFlags: typeof xrpl.parseAccountRootFlags;
validate: typeof xrpl.validate;
AccountSetAsfFlags: typeof xrpl.AccountSetAsfFlags;
AccountSetTfFlags: typeof xrpl.AccountSetTfFlags;
AMMDepositFlags: typeof xrpl.AMMDepositFlags;
AMMWithdrawFlags: typeof xrpl.AMMWithdrawFlags;
EnableAmendmentFlags: typeof xrpl.EnableAmendmentFlags;
NFTokenCreateOfferFlags: typeof xrpl.NFTokenCreateOfferFlags;
NFTokenMintFlags: typeof xrpl.NFTokenMintFlags;
OfferCreateFlags: typeof xrpl.OfferCreateFlags;
PaymentFlags: typeof xrpl.PaymentFlags;
PaymentChannelClaimFlags: typeof xrpl.PaymentChannelClaimFlags;
TrustSetFlags: typeof xrpl.TrustSetFlags;
XChainModifyBridgeFlags: typeof xrpl.XChainModifyBridgeFlags;
isCreatedNode(node: xrpl.Node): node is xrpl.CreatedNode;
isModifiedNode(node: xrpl.Node): node is xrpl.ModifiedNode;
isDeletedNode(node: xrpl.Node): node is xrpl.DeletedNode;
RIPPLED_API_V1: 1;
RIPPLED_API_V2: 2;
DEFAULT_API_VERSION: 2;
getBalanceChanges: typeof xrpl.getBalanceChanges;
dropsToXrp: typeof xrpl.dropsToXrp;
xrpToDrops: typeof xrpl.xrpToDrops;
hasNextPage: typeof xrpl.hasNextPage;
rippleTimeToISOTime: typeof xrpl.rippleTimeToISOTime;
isoTimeToRippleTime: typeof xrpl.isoTimeToRippleTime;
rippleTimeToUnixTime: typeof xrpl.rippleTimeToUnixTime;
unixTimeToRippleTime: typeof xrpl.unixTimeToRippleTime;
percentToQuality: typeof xrpl.percentToQuality;
decimalToQuality: typeof xrpl.decimalToQuality;
percentToTransferRate: typeof xrpl.percentToTransferRate;
decimalToTransferRate: typeof xrpl.decimalToTransferRate;
transferRateToDecimal: typeof xrpl.transferRateToDecimal;
qualityToDecimal: typeof xrpl.qualityToDecimal;
isValidSecret: typeof xrpl.isValidSecret;
isValidAddress: typeof xrpl.isValidAddress;
hashes: {
hashSignedTx: typeof import("xrpl/dist/npm/utils/hashes").hashSignedTx;
hashTx: typeof import("xrpl/dist/npm/utils/hashes").hashTx;
hashAccountRoot: typeof import("xrpl/dist/npm/utils/hashes").hashAccountRoot;
hashSignerListId: typeof import("xrpl/dist/npm/utils/hashes").hashSignerListId;
hashOfferId: typeof import("xrpl/dist/npm/utils/hashes").hashOfferId;
hashTrustline: typeof import("xrpl/dist/npm/utils/hashes").hashTrustline;
hashTxTree: typeof import("xrpl/dist/npm/utils/hashes").hashTxTree;
hashStateTree: typeof import("xrpl/dist/npm/utils/hashes").hashStateTree;
hashLedger: typeof import("xrpl/dist/npm/utils/hashes").hashLedger;
hashLedgerHeader: typeof import("xrpl/dist/npm/utils/hashes").hashLedgerHeader;
hashEscrow: typeof import("xrpl/dist/npm/utils/hashes").hashEscrow;
hashPaymentChannel: typeof import("xrpl/dist/npm/utils/hashes").hashPaymentChannel;
};
deriveKeypair: typeof rippleKeypairs.deriveKeypair;
deriveAddress: typeof rippleKeypairs.deriveAddress;
deriveXAddress: typeof xrpl.deriveXAddress;
signPaymentChannelClaim: typeof xrpl.signPaymentChannelClaim;
verifyKeypairSignature: typeof rippleKeypairs.verify;
verifyPaymentChannelClaim: typeof xrpl.verifyPaymentChannelClaim;
convertStringToHex: typeof xrpl.convertStringToHex;
convertHexToString: typeof xrpl.convertHexToString;
classicAddressToXAddress: typeof xrpl.classicAddressToXAddress;
xAddressToClassicAddress: typeof xrpl.xAddressToClassicAddress;
isValidXAddress: typeof xrpl.isValidXAddress;
isValidClassicAddress: typeof xrpl.isValidClassicAddress;
encodeSeed: typeof xrpl.encodeSeed;
decodeSeed: typeof rippleKeypairs.decodeSeed;
encodeAccountID: typeof xrpl.encodeAccountID;
decodeAccountID: typeof xrpl.decodeAccountID;
encodeNodePublic: typeof xrpl.encodeNodePublic;
decodeNodePublic: typeof xrpl.decodeNodePublic;
encodeAccountPublic: typeof xrpl.encodeAccountPublic;
decodeAccountPublic: typeof xrpl.decodeAccountPublic;
encodeXAddress: typeof xrpl.encodeXAddress;
decodeXAddress: typeof xrpl.decodeXAddress;
encode: typeof xrpl.encode;
decode: typeof xrpl.decode;
encodeForMultiSigning: typeof xrpl.encodeForMultiSigning;
encodeForSigning: typeof xrpl.encodeForSigning;
encodeForSigningClaim: typeof xrpl.encodeForSigningClaim;
getNFTokenID: typeof xrpl.getNFTokenID;
parseNFTokenID: typeof xrpl.parseNFTokenID;
getXChainClaimID: typeof xrpl.getXChainClaimID;
XrplError: typeof xrpl.XrplError;
UnexpectedError: typeof xrpl.UnexpectedError;
ConnectionError: typeof xrpl.ConnectionError;
RippledError: typeof xrpl.RippledError;
NotConnectedError: typeof xrpl.NotConnectedError;
DisconnectedError: typeof xrpl.DisconnectedError;
RippledNotInitializedError: typeof xrpl.RippledNotInitializedError;
TimeoutError: typeof xrpl.TimeoutError;
ResponseFormatError: typeof xrpl.ResponseFormatError;
ValidationError: typeof xrpl.ValidationError;
NotFoundError: typeof xrpl.NotFoundError;
XRPLFaucetError: typeof xrpl.XRPLFaucetError;
verifySignature: typeof xrpl.verifySignature;
multisign: typeof xrpl.multisign;
};
export = _default;
//# sourceMappingURL=ripple.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!