@kaiachain/viem-ext
Version:
viem extension for kaia blockchain
25 lines (24 loc) • 533 B
TypeScript
import type { WalletRpcSchema } from 'viem';
export type CustomRpcSchema = [
...WalletRpcSchema,
{
Method: 'klay_sendRawTransaction';
Parameters: [string];
ReturnType: string;
},
{
Method: 'klay_sendTransaction';
Parameters: [object];
ReturnType: string;
},
{
Method: 'klay_gasPrice';
Parameters: [];
ReturnType: string;
},
{
Method: 'klay_estimateGas';
Parameters: [object];
ReturnType: string;
}
];