seismic-viem / ShieldedPublicClient
Type Alias: ShieldedPublicClient<transport, chain, accountOrAddress, rpcSchema>
type ShieldedPublicClient<transport, chain, accountOrAddress, rpcSchema> =
Prettify<
Client<
transport,
chain,
accountOrAddress,
rpcSchema extends RpcSchema
? [...PublicRpcSchema, ...rpcSchema]
: PublicRpcSchema,
PublicActions<transport, chain> & ShieldedPublicActions
>
>Defined in: packages/seismic-viem/src/client.ts:36
This is the same as viem's public client, with a few notable differences:
getTeePublicKey: a new function specific to Seismic. It takes no parameters and returns a Promise that resolves to the network's public keygetStorageAtandgetTransaction: both of these will return an error since Seismic does not support these endpoints
Type Parameters
• transport extends Transport = Transport
• chain extends Chain | undefined = Chain | undefined
• accountOrAddress extends Account | undefined = undefined
• rpcSchema extends RpcSchema | undefined = undefined