手数料の収集
移行の前後で、プラットフォーム手数料とクリエイター手数料を請求します。
手数料の概要
ステージ
手数料の種類
誰が得るか
請求方法
ボンディングカーブの手数料回収
プラットフォーム手数料の回収
プラットフォームボールトからの請求
import { TxVersion } from '@raydium-io/raydium-sdk-v2'
import { initSdk } from './config'
import { PublicKey } from '@solana/web3.js'
import { NATIVE_MINT } from '@solana/spl-token'
const claimPlatformFees = async () => {
const raydium = await initSdk()
const { execute } = await raydium.launchpad.claimVaultPlatformFee({
platformId: new PublicKey('your-platform-id'),
mintB: NATIVE_MINT,
claimFeeWallet: raydium.ownerPubKey, // optional, defaults to signer
txVersion: TxVersion.V0,
})
const { txId } = await execute({ sendAndConfirm: true })
console.log('Platform fees claimed:', txId)
}複数の引用トークンからの請求
すべてのプールからの請求(従来の方法)
クリエイターの手数料回収
ボンディングカーブ手数料の請求
複数の引用トークンからの請求
移行後の LP 手数料回収
LP 手数料の請求
Fee Key NFT の理解
プロパティ
詳細
CPMM クリエイター手数料
手数料蓄積のタイムライン
ボンディングカーブフェーズ
移行後フェーズ
ベストプラクティス
最終更新
役に立ちましたか?