getContractInfo

Function: getContractInfo()

function getContractInfo<ThrowOnError>(options: OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & GetContractInfoData & Pick<RequestOptions<ThrowOnError>, "headers">): RequestResult<GetContractInfoResponse, ErrorResponse, ThrowOnError>

Defined in: packages/api/src/client/sdk.gen.ts:26

Retrieve contract info
Retrieves detailed information about a contract.

Type Parameters

ThrowOnError extends boolean = false

Parameters

options

OmitKeys<RequestOptions<ThrowOnError>, "body" | "url"> & GetContractInfoData & Pick<RequestOptions<ThrowOnError>, "headers">

Returns

RequestResult<GetContractInfoResponse, ErrorResponse, ThrowOnError>