Readonly session
session: {
session: ((id) => Promise<undefined | Any>);
sessions: ((pagination?) => Promise<QuerySessionsResponse>);
sessionsForAccount: ((address, pagination?) => Promise<QuerySessionsForAccountResponse>);
sessionsForAllocation: ((id, address, pagination?) => Promise<QuerySessionsForAllocationResponse>);
sessionsForNode: ((address, pagination?) => Promise<QuerySessionsForNodeResponse>);
sessionsForSubscription: ((id, pagination?) => Promise<QuerySessionsForSubscriptionResponse>);
}
Type declaration
session: ((id) => Promise<undefined | Any>)
- (id): Promise<undefined | Any>
Returns Promise<undefined | Any>
sessions: ((pagination?) => Promise<QuerySessionsResponse>)
- (pagination?): Promise<QuerySessionsResponse>
Returns Promise<QuerySessionsResponse>
sessionsForAccount: ((address, pagination?) => Promise<QuerySessionsForAccountResponse>)
- (address, pagination?): Promise<QuerySessionsForAccountResponse>
Returns Promise<QuerySessionsForAccountResponse>
sessionsForAllocation: ((id, address, pagination?) => Promise<QuerySessionsForAllocationResponse>)
- (id, address, pagination?): Promise<QuerySessionsForAllocationResponse>
Returns Promise<QuerySessionsForAllocationResponse>
sessionsForNode: ((address, pagination?) => Promise<QuerySessionsForNodeResponse>)
- (address, pagination?): Promise<QuerySessionsForNodeResponse>
Returns Promise<QuerySessionsForNodeResponse>
sessionsForSubscription: ((id, pagination?) => Promise<QuerySessionsForSubscriptionResponse>)
- (id, pagination?): Promise<QuerySessionsForSubscriptionResponse>
Returns Promise<QuerySessionsForSubscriptionResponse>