- Preparing search index...
- The search index is not available
@premia/v3-sdk
Methods
Static
GetUser
- GetUser(subgraph, address): DocumentNode
-
Returns DocumentNode
Static
GetUserExtended
- GetUserExtended(subgraph, address): DocumentNode
-
Returns DocumentNode
Static
GetUserPortfolio
- GetUserPortfolio(subgraph, address): DocumentNode
-
Returns DocumentNode
Static
GetUserPortfolioExtended
- GetUserPortfolioExtended(subgraph, address): DocumentNode
-
Returns DocumentNode
Static
GetUserSnapshot
- GetUserSnapshot(subgraph, address, timestamp): DocumentNode
-
Parameters
-
-
address: string
-
timestamp: BigNumberish
Returns DocumentNode
Static
GetUserSnapshotExtended
- GetUserSnapshotExtended(subgraph, address, timestamp): DocumentNode
-
Parameters
-
-
address: string
-
timestamp: BigNumberish
Returns DocumentNode
Static
GetUserSnapshots
- GetUserSnapshots(subgraph, address, startTime, endTime, orderBy?, order?, first?, skip?): DocumentNode
-
Parameters
-
-
address: string
-
startTime: BigNumberish
-
endTime: BigNumberish
-
orderBy: string = 'timestamp'
-
order: string = 'asc'
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetUserSnapshotsExtended
- GetUserSnapshotsExtended(address, startTime, endTime, orderBy?, order?, first?, skip?): DocumentNode
-
Parameters
-
address: string
-
startTime: BigNumberish
-
endTime: BigNumberish
-
orderBy: string = 'timestamp'
-
order: string = 'asc'
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetUsers
- GetUsers(subgraph, addresses): DocumentNode
-
Returns DocumentNode
Static
GetUsersExtended
- GetUsersExtended(subgraph, addresses): DocumentNode
-
Returns DocumentNode
Static
snapshotId
- snapshotId(address, timestamp): string
-
Parameters
-
address: string
-
timestamp: BigNumberish
Returns string
Static
userId
- userId(address): string
-
Returns string