safe-apps-sdk
Version:
SDK developed to integrate third-party apps with Safe app.
11 lines (10 loc) • 581 B
TypeScript
import { GatewayTransactionDetails, SendTransactionsParams, Communicator, SendTransactionsResponse, EIP712TypedData, SignMessageResponse } from '../types';
declare class TXs {
private readonly communicator;
constructor(communicator: Communicator);
getBySafeTxHash(safeTxHash: string): Promise<GatewayTransactionDetails>;
signMessage(message: string): Promise<SignMessageResponse>;
signTypedMessage(typedData: EIP712TypedData): Promise<SignMessageResponse>;
send({ txs, params }: SendTransactionsParams): Promise<SendTransactionsResponse>;
}
export { TXs };