wallet-sdk-js
Version:
22 lines (21 loc) • 593 B
TypeScript
import { ChainId, CoinType, TronLinkRequestAccountsResponseCode, WalletProtocol } from '../const';
export interface IWalletsParams {
provider: any;
coinType: CoinType;
walletProtocol: WalletProtocol;
chainId?: ChainId;
}
export interface ISendTrxParams {
to: string;
value: string;
data: string;
}
export interface IConnectRes {
coinType: CoinType;
chainId: ChainId | undefined;
address: string | undefined;
}
export interface ITronLinkRequestAccountsResponse {
code: TronLinkRequestAccountsResponseCode;
message: string;
}