Retrieves a single contract that you've imported or deployed. You need to provide the contract's ID instead of the on-chain address.
Represents the input for fetching a contract.
The contract's ID.
1const response = await client.getContract({
2 id: '39c7146d-d240-45c3-9402-8d817a633b17',
3})
4console.log(response.data)