[][src]Function eosio_cdt::has_transaction_authority

pub fn has_transaction_authority<T, K, L>(
    trx: T,
    public_keys: K,
    permission_levels: L
) -> Result<bool, WriteError> where
    T: AsRef<Transaction>,
    K: AsRef<[PublicKey]>,
    L: AsRef<[PermissionLevel]>, 

Checks if a transaction is authorized by a provided set of keys and permissions

Errors

Returns Err if there as a problem serializing the public keys or permission levels.