pumpdotfun-sdk icon indicating copy to clipboard operation
pumpdotfun-sdk copied to clipboard

how to provide banner image in metadata,

Open praveenyadav3011 opened this issue 6 months ago • 3 comments

there is new option for banner image on pump fun. i am not sure how to provide banner image in metadata, for example on this token EuWQZRaZBPJYzxFvhxeTvf25AmvLGaza9VFsYCUdpump banner image https://pump.mypinata.cloud/ipfs/bafybeiccfyhxqy5g56k3w2gvouhvvd54dmbg3rzfvz5cffdb3m3fps4zsa?img-width=1500&img-dpr=2&img-onerror=redirect

i did not find any option in meta data for provide banner image, also, does anyone know, please help.

praveenyadav3011 avatar Jun 12 '25 02:06 praveenyadav3011

did you find a solution?

annanem avatar Jun 13 '25 19:06 annanem

this sdk does not support banners, only logos. You should check on others solutions of creating token.

Dufal avatar Jun 17 '25 11:06 Dufal

yes, i already found that the banner is sent by POST request. haven't tested it yet, but it should be something like this:

 const res = await fetch('https://frontend-api-v3.pump.fun/coins/add-banner', {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({
        mint: mintAddress,
        banner: bannerIpfsUrl,
      }),

annanem avatar Jun 17 '25 14:06 annanem