Skip to main content

sdk.subgraph.getcontractbytimestamp

Home > @openformat/sdk > Subgraph > getContractByTimestamp

Subgraph.getContractByTimestamp() method

Signature:

getContractByTimestamp({ appId, createdAt, type, }: {
appId: string;
createdAt: string;
type: string;
}): Promise<ContractResponse>;

Parameters

ParameterTypeDescription
{ appId, createdAt, type, }{ appId: string; createdAt: string; type: string; }

Returns:

Promise<[ContractResponse](./sdk.contractresponse.md)<!-- -->>