sdk.subgraph
Home > @openformat/sdk > Subgraph
Subgraph class
Creates a new Subgraph instance
Signature:
export declare class Subgraph extends BaseContract
Extends: BaseContract
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(provider, appId, signer) | Constructs a new instance of the Subgraph class |
Methods
| Method | Modifiers | Description |
|---|---|---|
| getAppIdsByOwner({ owner }) | ||
| getContractByAddressOrName({ id, name, appId, }) | ||
| getContractByTimestamp({ appId, createdAt, type, }) | ||
| getERC721ByID({ id, name }) | ||
| rawRequest(document, variables) | Makes a raw request to the Open Format subgraph allowing you to pass your own Query or Mutation |