@hashgraphonline/standards-sdk
Version:
The Hashgraph Online Standards SDK provides a complete implementation of the Hashgraph Consensus Standards (HCS), giving developers all the tools needed to build applications on Hedera.
14 lines • 1.1 kB
TypeScript
import { proto } from '@hashgraph/proto';
import { AccountAmount, TokenAmount, CryptoDeleteData, CryptoCreateAccountData, CryptoUpdateAccountData, CryptoApproveAllowanceData, CryptoDeleteAllowanceData } from '../transaction-parser-types';
export declare class CryptoParser {
static parseCryptoTransfers(cryptoTransfer: proto.ICryptoTransferTransactionBody, result: {
transfers: AccountAmount[];
tokenTransfers: TokenAmount[];
}): void;
static parseCryptoDelete(body: proto.ICryptoDeleteTransactionBody): CryptoDeleteData | undefined;
static parseCryptoCreateAccount(body: proto.ICryptoCreateTransactionBody): CryptoCreateAccountData | undefined;
static parseCryptoUpdateAccount(body: proto.ICryptoUpdateTransactionBody): CryptoUpdateAccountData | undefined;
static parseCryptoApproveAllowance(body: proto.ICryptoApproveAllowanceTransactionBody): CryptoApproveAllowanceData | undefined;
static parseCryptoDeleteAllowance(body: proto.ICryptoDeleteAllowanceTransactionBody): CryptoDeleteAllowanceData | undefined;
}
//# sourceMappingURL=crypto-parser.d.ts.map