Actions: ipfs/ipfs-docs
Fetching IPFS Metadata
const tokenURI = await agencyBudgetDPA.tokenURI(tokenId);
// Returns: "https://emerald-certain-muskox-778.mypinata.cloud/ipfs/Qm..."
const response = await fetch(tokenURI);
const metadata = await response.json();
console.log(metadata);
/*
{
"name": "Department of Agriculture - Bureau of Fisheries - Personnel Services",
"description": "Personnel Services for Department of Agriculture amounting to ₱1,234,567,890",
"image": "https://emerald-certain-muskox-778.mypinata.cloud/ipfs/Qm...",
"attributes": [
{ "trait_type": "Type", "value": "Departmental Budget" },
{ "trait_type": "Department Code", "value": "01" },
{ "trait_type": "Amount", "value": 1234567890 },
...
Close empty issues and templates
#453:
Issue #2327
opened
by
cindylhiam01-jpg
trackingDetails: privacyStatement.publicnode,
},
{
url: "https://rpc.ankr.com/eth/c4cc6a8c87ec30258076de433ab2cf3d834228aae3fc4d76087873e4fea11635",
tracking: "yes",
trackingDetails: privacyStatement.ankr,
},
{
url: "wss://ethereum-rpc.publicnode.com",
tracking: "none",
trackingDetails: privacyStatement.publicnode,
},
{
url: "https://1rpc.io/eth",
tracking: "none",
trackingDetails: privacyStatement.onerpc,
},
{
url: "https://rpc.builder0x69.io/",
tracking: "none",
trackingDetails: privacyStatement.builder0x69,
},
{
url: "https://rpc.mevblocker.io",
tracking: "none",
trackingDetails: privacyStatement.MEVBlockerRPC,
},
{
url: "https://rpc.flashbots.net/",
tracking: "none",
Close empty issues and templates
#450:
Issue #2324
opened
by
cindylhiam01-jpg
You can’t perform that action at this time.