sdk.openformatsdk.getcontract
Home > @openformat/sdk > OpenFormatSDK > getContract
OpenFormatSDK.getContract() method
Signature:
getContract({ contractAddress, type, }: GetContractParameters): Promise<OpenFormatContract>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| { contractAddress, type, } | GetContractParameters |
Returns:
Promise<[OpenFormatContract](./sdk.openformatcontract.md)<!-- -->>