Overview
Retrieve information about the state of ACTUS Protocol assets using GraphQL
The easiest way to access on-chain information about ACTUS Protocol Assets is to use GraphQL via The Graph. We have set up subgraphs for the Rinkeby Testnet deployment of ACTUS Protocol. You can use the interface from The Graph to test your queries.
In addition to the below queries, you can find some executable examples in the The Graph interface. You can also use the The Graph website to test your queries.

Endpoint
The GraphQL endpoint is
Method: POST
Get Asset IDs
Receive the first 5 asset IDs
{
assets(first: 5) {
assetId
}
}
Get Asset Data
Get asset data for a specific asset ID
{
assets(
where:
{
assetId: "0x0ac2f5b794130c2cea06ff17ef82b3915b44428afbf9ae7a47793dd917ee622c"
})
{
assetId
engine
actor
ownership {
creatorObligor
creatorBeneficiary
counterpartyObligor
counterpartyBeneficiary
}
schedule{
events
}
state {
statusDate
}
}
}
Last updated