@base-org/account
Version:
Base Account SDK
23 lines • 591 B
TypeScript
import { SerializedEthereumRpcError } from '../error/utils.js';
export type RPCResponseNativeCurrency = {
name?: string;
symbol?: string;
decimal?: number;
};
export type RPCResponse = {
result: {
value: unknown;
} | {
error: SerializedEthereumRpcError;
};
data?: {
chains?: {
[key: number]: string;
};
capabilities?: Record<`0x${string}`, Record<string, unknown>>;
nativeCurrencies?: {
[key: number]: RPCResponseNativeCurrency;
};
};
};
//# sourceMappingURL=RPCResponse.d.ts.map