Function: assertApproveOnly()
assertApproveOnly(
tx,publishedAt):void
Defined in: @meddleware/sealed-storage-client/src/controller.ts:286
An approve PTB holds only seal_approve* calls to the policy package (the key servers reject anything else; checking here fails fast and keeps a misbehaving provider from building more).
Parameters
tx
Transaction
publishedAt
string
Returns
void
Throws
if the PTB is empty or holds any other command or target.