Features
- esm or commonjs
- first class support for coinbase smart wallet and paymasters
- ens name resolution
- small bundle size and minimal dependencies
- gas estimation and calldata generation for every transaction
Installation
Import
The SDK is built for both esm and commonjs environmentsesm
cjs
Transmissions Client
The SDK provides a client that can be used to interact with the transmissions protocol. The client is initialized with a configuration object and provides 2 sub-clients for uplink and downlink interactions. The uplink client is used to write data to the protocol, while the downlink client is used to read data from the protocol subgraph.Usage
Returns
Parameters
chainId
- type:
8453 | 84532
publicClient (optional)
- type:
PublicClient<Transport, Chain>
walletClient (optional)
- type:
WalletClient<Transport, Chain, Account>
apiConfig (optional)
- type:
ApiConfig
paymasterConfig (optional)
- type:
PaymasterConfig