Resolve the accounts a mint's transfer hook needs, in the order Token-2022 expects them appended
to a transfer instruction: the resolved extra accounts, then the hook program, then its metadata
account. Returns an empty array when the mint has no transfer hook, and throws
ACCOUNT_NOT_FOUND when it has one whose accounts cannot be resolved (no extra-account-meta list,
or an entry that points at something missing), as the Rust crate does.
Resolve the accounts a mint's transfer hook needs, in the order Token-2022 expects them appended to a transfer instruction: the resolved extra accounts, then the hook program, then its metadata account. Returns an empty array when the mint has no transfer hook, and throws ACCOUNT_NOT_FOUND when it has one whose accounts cannot be resolved (no extra-account-meta list, or an entry that points at something missing), as the Rust crate does.