🔶 Interface
Github: packages/nftanvil_canisters/mo/type/account_interface.mo
import Account "mo:anvil/type/account_interface"
module {
...
     public type Interface = actor {
          add : shared (aid: Nft.AccountIdentifier, idx:Nft.TokenIndex) -> async ();
          rem : shared (aid: Nft.AccountIdentifier, idx:Nft.TokenIndex) -> async ();
          add_transaction : shared (aid: Nft.AccountIdentifier, tx: Nft.TransactionId) -> async ();
          meta : query (aid: Nft.AccountIdentifier) -> async ?AccountMeta;
     };
     public type AccountMeta = {
          info : ?AddressInfo;
          transactions : [Nft.TransactionId]
     };
     public type AddressInfo = {
          name : Text;
          avatar : TokenIdentifier;
          background : TokenIdentifier;
     };
     
...
}