Class: Client
Constructors
constructor
• new Client(«destructured»?
)
Parameters
Name | Type |
---|---|
«destructured» | Object |
› publicClient? | null | PublicClient |
› walletClient? | null | WalletClient |
Defined in
packages/sdk-viem/src/Client.ts:20
Accessors
chainName
• get
chainName(): undefined
| string
Returns
undefined
| string
Defined in
packages/sdk-viem/src/Client.ts:31
Methods
account
▸ account(): ChromaticAccount
Returns
Defined in
packages/sdk-viem/src/Client.ts:55
lens
▸ lens(): ChromaticLens
Returns
Defined in
packages/sdk-viem/src/Client.ts:35
market
▸ market(): ChromaticMarket
Returns
Defined in
packages/sdk-viem/src/Client.ts:43
marketFactory
▸ marketFactory(): ChromaticMarketFactory
Returns
Defined in
packages/sdk-viem/src/Client.ts:39
position
▸ position(): ChromaticPosition
Returns
Defined in
packages/sdk-viem/src/Client.ts:47
router
▸ router(): ChromaticRouter