Readonly
subscription
subscription: {
allocation: ((id, address) => Promise<undefined | Allocation>);
allocations: ((id, pagination?) => Promise<QueryAllocationsResponse>);
params: (() => Promise<undefined | Params>);
payout: ((id) => Promise<undefined | Payout>);
payouts: ((pagination?) => Promise<QueryPayoutsResponse>);
payoutsForAccount: ((address, pagination?) => Promise<QueryPayoutsForAccountResponse>);
payoutsForNode: ((address, pagination?) => Promise<QueryPayoutsForNodeResponse>);
subscription: ((id) => Promise<QuerySubscriptionResponse>);
subscriptions: ((pagination?) => Promise<QuerySubscriptionsResponse>);
subscriptionsForAccount: ((address, pagination?) => Promise<QuerySubscriptionsForAccountResponse>);
subscriptionsForNode: ((address, pagination?) => Promise<QuerySubscriptionsForNodeResponse>);
subscriptionsForPlan: ((id, pagination?) => Promise<QuerySubscriptionsForPlanResponse>);
}
Type declaration
allocation: ((id, address) => Promise<undefined | Allocation>)
- (id, address): Promise<undefined | Allocation>
Returns Promise<undefined | Allocation>
allocations: ((id, pagination?) => Promise<QueryAllocationsResponse>)
- (id, pagination?): Promise<QueryAllocationsResponse>
Returns Promise<QueryAllocationsResponse>
params: (() => Promise<undefined | Params>)
- (): Promise<undefined | Params>
Returns Promise<undefined | Params>
payout: ((id) => Promise<undefined | Payout>)
- (id): Promise<undefined | Payout>
Returns Promise<undefined | Payout>
payouts: ((pagination?) => Promise<QueryPayoutsResponse>)
- (pagination?): Promise<QueryPayoutsResponse>
Returns Promise<QueryPayoutsResponse>
payoutsForAccount: ((address, pagination?) => Promise<QueryPayoutsForAccountResponse>)
- (address, pagination?): Promise<QueryPayoutsForAccountResponse>
Returns Promise<QueryPayoutsForAccountResponse>
payoutsForNode: ((address, pagination?) => Promise<QueryPayoutsForNodeResponse>)
- (address, pagination?): Promise<QueryPayoutsForNodeResponse>
Returns Promise<QueryPayoutsForNodeResponse>
subscription: ((id) => Promise<QuerySubscriptionResponse>)
- (id): Promise<QuerySubscriptionResponse>
Returns Promise<QuerySubscriptionResponse>
subscriptions: ((pagination?) => Promise<QuerySubscriptionsResponse>)
- (pagination?): Promise<QuerySubscriptionsResponse>
Returns Promise<QuerySubscriptionsResponse>
subscriptionsForAccount: ((address, pagination?) => Promise<QuerySubscriptionsForAccountResponse>)
- (address, pagination?): Promise<QuerySubscriptionsForAccountResponse>
Returns Promise<QuerySubscriptionsForAccountResponse>
subscriptionsForNode: ((address, pagination?) => Promise<QuerySubscriptionsForNodeResponse>)
- (address, pagination?): Promise<QuerySubscriptionsForNodeResponse>
Returns Promise<QuerySubscriptionsForNodeResponse>
subscriptionsForPlan: ((id, pagination?) => Promise<QuerySubscriptionsForPlanResponse>)
- (id, pagination?): Promise<QuerySubscriptionsForPlanResponse>
Returns Promise<QuerySubscriptionsForPlanResponse>