Open ism opened 1 month ago
@ism you tried the API ?
There is also transaction endpoint, which takes only wallet address ?
@ism Without trying or proofs ... whats the sense ?
@ism The scripts uses the pumpapi API , used by many degens.
i am sorry, my bad. i did not expect their official API would accept private key as parameter to request. this is asking for troubles!
I made a second look. Is it official API?
In FAQ i see this https://docs.pumpapi.fun/faqs#do-i-need-to-provide-my-private-keys-to-use-the-pumpapi
Do I need to provide my private keys to use the PumpAPI?
No, you do not need to provide your private keys to make any API requests. We prioritize security and do not require sensitive information to access our API.
in requests i see this: payload = { "trade_type": args.trade_type, "mint": args.mint, "amount": args.amount, "slippage": args.slippage, "priorityFee": args.priority_fee, "userPrivateKey": args.private_key }
Can you clarify on that? Why do you need user private API key? You can sign transaction locally and submit to chain.
@ism Private key is required to sign the tx and send it with private fast API.
For users who can't land their tx to the chain , & instead of spamming , they could directly the endpoint. + Its very simple to integrate.
There is also /transaction endpoint which returns a encoded transaction, to sign locally and send. It doesn't require private key.
But its more difficult to integrate.
read title