分享 如何得到 pump.fun 的 website 和 twitter 信息

landtour · 2024年12月10日 · 47 次阅读

目前用

    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "jsonrpc": "2.0",
      "id": "text",
      "method": "getAsset",
      "params": {
        id:tokenid
      }
    }),
});

得到了

{
  jsonrpc: '2.0',
  result: {
    interface: 'FungibleToken',
    id: '8PgNV6MB7ofTbNEzbxCewmKDo2vgHjdqmv5UY77Vpump',
    content: {
      '$schema': 'https://schema.metaplex.com/nft1.0.json',
      json_uri: 'https://ipfs.io/ipfs/QmemDnC8QNB7RpW1ZMQe9iWzSkNYPh34iv4uScc3Wn8RKv',
      files: [Array],
      metadata: [Object],
      links: [Object]
    },
    authorities: [ [Object] ],
    compression: {
      eligible: false,
      compressed: false,
      data_hash: '',
      creator_hash: '',
      asset_hash: '',
      tree: '',
      seq: 0,
      leaf_id: 0
    },
    grouping: [],
    royalty: {
      royalty_model: 'creators',
      target: null,
      percent: 0,
      basis_points: 0,
      primary_sale_happened: false,
      locked: false
    },
    creators: [],
    ownership: {
      frozen: false,
      delegated: false,
      delegate: null,
      ownership_model: 'token',
      owner: ''
    },
    supply: null,
    mutable: false,
    burnt: false,
    token_info: {
      supply: 1000000000000000,
      token_program: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'
    }
  },
  id: 'text'
}

metadata 和 links 也并没有该 token 的 website 和 twitter 信息:

{
  description: 'DRAGCATTT ON SOL!',
  name: 'DRAGCATTT',
  symbol: 'DRAGCATTT',
  token_standard: 'Fungible'
}
{
  image: 'https://ipfs.io/ipfs/QmXcMK1dfM4RfhhyWn5xFRkak7xKSxpCydgoi28zzFpA1n'
}

那如何得到 pump 上 new token 的 website 和 twitter 信息呢?

暂无回复。
需要 登录 后方可回复, 如果你还没有账号请 注册新账号