get_subscription_details

@mount("ft4.get_subscription_details") query get_subscription_details(account_id: byte_array): (asset_id: byte_array, period_millis: integer, last_payment: integer)(source)

Returns details about the subscription of the specified account, including the asset ID, the total duration of the subscription and the timestamp of the last payment.

Throws if the account does not exist.

Throws "MISSING SUBSCRIPTION" if no subscription was found for the account.