stellar-plus
Version:
beta version of stellar-plus, an all-in-one sdk for the Stellar blockchain
11 lines (10 loc) • 454 B
TypeScript
import { Transaction } from '@stellar/stellar-sdk';
import { AccountHandler, AccountHandlerPayload } from '../../../../stellar-plus/account/account-handler/types';
import { TransactionXdr } from '../../../../stellar-plus/types';
export type DefaultAccountHandler = AccountHandler & {
sign(tx: Transaction): TransactionXdr;
getSecretKey(): string;
};
export type DefaultAccountHandlerPayload = AccountHandlerPayload & {
secretKey?: string;
};