ft_auth

@mount("ft4.ft_auth") operation ft_auth(account_id: byte_array, auth_descriptor_id: byte_array)(source)

For an operation to be authorized by an FT signer, this operation must be called beforehand.

The transaction must then contain

  • ft_auth

  • the operation that is being authorized

with nothing else inbetween them. Other operations may be added before and after these two. The whole transaction must be signed by all the signers that are required by the auth descriptor.

Throws if the next operation is blacklisted or this is the last operation in the transaction

Parameters

account_id

The ID of the account that is calling the next operation

auth_descriptor_id

The ID of the auth descriptor that is authorizing the operation

See also

core.auth._auth_handler

for more details on operation authorization