Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
store_product_v1_metadata · Boson Protocol
Skip to content

store_product_v1_metadata

Stores a ProductV1 metadata object to IPFS. Call before create_offer to get metadataUri and metadataHash. Returns: { metadataUri: 'ipfs://...', metadataHash: '0x...' }.

Category: Offer management. Returns unsigned tx? Likely yes — sign locally and broadcast via send_signed_transaction or a meta-tx relay.

Input schema

FieldTypeRequiredDescription
schemaUrlstringyes
typePRODUCT_V1yes
uuidstringyes
namestringyes
descriptionstringyes
externalUrlstringyes
licenseUrlstringyes
youtubeUrlstringno
conditionstringno
imagestringyes
imageDatastringno
animationUrlstringno
attributesobject[]yes
productobjectyes
variationsobject[]no
sellerobjectyes
shippingobjectyes
exchangePolicyobjectyes
productOverridesobjectno
configIdstringyesBoson/Fermion Protocol deployment identifier. Format: '<env>-<chainId>-<index>' e.g. 'production-137-0' (Polygon mainnet), 'testing-80002-0' (Amoy testnet). Call get_config_ids to list all valid values for this server.
signerAddressstringyesEthereum address that will sign and send this transaction. Must match the wallet that will sign the returned transaction locally.

Related