embeddable-nfts icon indicating copy to clipboard operation
embeddable-nfts copied to clipboard

I can't list the embed stored in an array or external API

Open alexmdcampo opened this issue 3 years ago • 2 comments

I can't list the embed stored in an array or external API

<nft-card contractAddress='{{date.contract}}' tokenId='{{data.token}}'> </nft-card>

[
   {
      "objectId":"M7jZ8OjC8j",
      "Nome":"Everthon",
      "contrato":"0x495f947276749ce646f68ac8c248420045cb7b5e",
      "token":"78495829787498492412723056243079961224868456392339058028291878295268482875393",
      "status":true,
      "rede":"opensea",
      "createdAt":"2021-08-23T11:54:17.248Z",
      "updatedAt":"2021-08-23T11:54:17.248Z"
   },
   {
      "objectId":"ltLbr24JCk",
      "Nome":"Paulinho",
      "contrato":"0x629a673a8242c2ac4b7b8c5d8735fbeac21a6205",
      "token":"16649640577943836210073419105215064703381732888531537205139611154943039406321",
      "rede":"opensea",
      "status":true,
      "createdAt":"2021-08-23T13:10:17.138Z",
      "updatedAt":"2021-08-23T13:10:17.138Z"
   }
]

localhost_8100_payments(Pixel 2 XL) (3)

alexmdcampo avatar Aug 23 '21 16:08 alexmdcampo

Looking at your object looks like you have a contrato property instead of contract. Could this be the reason why it's not working?

picsoung avatar Aug 29 '21 22:08 picsoung

Looking at your object looks like you have a contrato property instead of contract. Could this be the reason why it's not working?

I get contrato from my array send the object in contractAddress tag

adjusting to the same name i get error.

alexmdcampo avatar Aug 30 '21 22:08 alexmdcampo