@mount("ft4.get_allowed_assets") query get_allowed_assets(sender_blockchain_rid: byte_array, sender_id: byte_array, recipient_id: byte_array): list<(asset_id: byte_array, min_amount: big_integer)>?

Retrieves a list of assets that are allowed for account creation on this chain, given the parameters of the transfer that is going to register one.

Parameters

  • sender_blockchain_rid — the RID of the blockchain assets will come from
  • sender_id — the ID of the sender account
  • recipient_id — the ID of the account that will be registered

Returns

null if all assets are allowed or a list of tuples (asset_id, min_amount) otherwise

© 2024 Chromia