@rsksmart/ipfs-cpinner-client-types
Version:
RIF Identity - IPFS Centralized Pinner Provider Types
18 lines • 528 B
TypeScript
export interface Web3Provider {
request(args: {
method: 'eth_accounts';
}): Promise<string[]>;
request(args: {
method: 'personal_sign';
params: [data: string, account: string];
}): Promise<string>;
request(args: {
method: 'eth_getEncryptionPublicKey';
params: [account: string];
}): Promise<string>;
request(args: {
method: 'eth_decrypt';
params: [cipher: string, account: string];
}): Promise<string>;
}
//# sourceMappingURL=types.d.ts.map