Docs
chromia.com

Function

subscriptionDetails

  • subscriptionDetails(
        accountId: BufferId,
    ): QueryObject<
        { asset_id: Buffer; last_payment: number; period_millis: number },
        { account_id: Buffer },
    >

    Creates a query object for the get_subscription_details - query

    Parameters

    • accountId: BufferId

      the id of the account to fetch subscription details for

    Returns QueryObject<
        { asset_id: Buffer; last_payment: number; period_millis: number },
        { account_id: Buffer },
    >