Metaplex
API for the marketplace.

🔥 NFT_MP_initializeMarket

Initialize a market that can buy and sell NFT from
Parameters:
  • <string> - the account address to become the market manager
Results:
  • <object> - a JSON object containing:
    • market: <string> - the address of the market.
    • transaction: <object> - the transaction struct is to be signed with the market manager.
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_initializeMarket',
params: ['8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ'],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"market": "DvrXAsPw8X8vqFpgfVhWypDeM3sboiBs5iVn3FKNmLWy",
"transaction": {
"isPartialSigned": false,
"serialized": "RzU9o8Jk1KtrgR1uh7e4jFRhfYjvK2tyKVyWFFhvCceresDzC8kutbsxGMizCpaB7KUQLKW4nftg7cV3cWbksGmDsvJfuixghdkrfymSmjqHUVsfdqMbX9ri5GBGTGdtGeBJFCtTVQ5dTx1qevinXz2U2yndyqDHpZtRNGMj37h1xNPMbjwEoBMYciFPa7gfvJs3bogEDrJekUGExY6ksefrG71aPhWvaye1wv4K7vL5NrqnYt97RJLyVyb4fR3VAeiRjVLpJYzB3bn5G4rXJgaZQwo4L48cJLCtuYUmMRGFWKf3sWXajvsdPGG4nsVFPpAG6Q45Ujufc9JZuAWdFw4y9BEJeoustWkt1wSsrAbdjrtKWheZMLtyjq3TDycXijgPo1ZM61coxUCvMraFKH5HpA8UnrejJG2e3MCee96TV54uJbKjZY34Fn6X1uPpp9KQqg6bzScpmpKwKwBkbFXTVGybNWBQ1Htf9dCrfTSfn1JRUB1hfLUFaUNKHtjnU8DidyowmiV15Rp2C5rjqQAtjiwApYrWeHtP758PkJsgVYujGtiWR5ovTuEykgFVCa6L8QMhRAPc5zg3c8CfH",
"signers": []
}
},
"chainId": 103
}

🔥 NFT_MP_isMarketInitialized

Check the market is initialized
Parameters:
  • <string> - the account address to become the market manager.
Results:
  • <boolean> - the market is initialized or not.
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_initializeMarket',
params: ['8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ'],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"market": "DvrXAsPw8X8vqFpgfVhWypDeM3sboiBs5iVn3FKNmLWy",
"transaction": {
"isPartialSigned": false,
"serialized": "RzU9o8Jk1KtrgR1uh7e4jFRhfYjvK2tyKVyWFFhvCceresDzC8kutbsxGMizCpaB7KUQLKW4nftg7cV3cWbksGmDsvJfuixghdkrfymSmjqHUVsfdqMbX9ri5GBGTGdtGeBJFCtTVQ5dTx1qevinXz2U2yndyqDHpZtRNGMj37h1xNPMbjwEoBMYciFPa7gfvJs3bogEDrJekUGExY6ksefrG71aPhWvaye1wv4K7vL5NrqnYt97RJLyVyb4fR3VAeiRjVLpJYzB3bn5G4rXJgaZQwo4L48cJLCtuYUmMRGFWKf3sWXajvsdPGG4nsVFPpAG6Q45Ujufc9JZuAWdFw4y9BEJeoustWkt1wSsrAbdjrtKWheZMLtyjq3TDycXijgPo1ZM61coxUCvMraFKH5HpA8UnrejJG2e3MCee96TV54uJbKjZY34Fn6X1uPpp9KQqg6bzScpmpKwKwBkbFXTVGybNWBQ1Htf9dCrfTSfn1JRUB1hfLUFaUNKHtjnU8DidyowmiV15Rp2C5rjqQAtjiwApYrWeHtP758PkJsgVYujGtiWR5ovTuEykgFVCa6L8QMhRAPc5zg3c8CfH",
"signers": []
}
},
"chainId": 103
}

🔥 NFT_MP_setMarketCreator

Set an account become the creator of the market
Only verified creators can list NFT in the market.
Parameters:
  • <object> - a JSON object containing:
    • marketManager: <string> - the address of the market manager.
    • creator: <string> - the address of the creator.
    • activated: <boolean> - (optional, default true) set the creator is activated or not.
Results:
  • <object> - a JSON object containing:
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_initializeMarket',
params: ['8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ'],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"market": "DvrXAsPw8X8vqFpgfVhWypDeM3sboiBs5iVn3FKNmLWy",
"transaction": {
"isPartialSigned": false,
"serialized": "RzU9o8Jk1KtrgR1uh7e4jFRhfYjvK2tyKVyWFFhvCceresDzC8kutbsxGMizCpaB7KUQLKW4nftg7cV3cWbksGmDsvJfuixghdkrfymSmjqHUVsfdqMbX9ri5GBGTGdtGeBJFCtTVQ5dTx1qevinXz2U2yndyqDHpZtRNGMj37h1xNPMbjwEoBMYciFPa7gfvJs3bogEDrJekUGExY6ksefrG71aPhWvaye1wv4K7vL5NrqnYt97RJLyVyb4fR3VAeiRjVLpJYzB3bn5G4rXJgaZQwo4L48cJLCtuYUmMRGFWKf3sWXajvsdPGG4nsVFPpAG6Q45Ujufc9JZuAWdFw4y9BEJeoustWkt1wSsrAbdjrtKWheZMLtyjq3TDycXijgPo1ZM61coxUCvMraFKH5HpA8UnrejJG2e3MCee96TV54uJbKjZY34Fn6X1uPpp9KQqg6bzScpmpKwKwBkbFXTVGybNWBQ1Htf9dCrfTSfn1JRUB1hfLUFaUNKHtjnU8DidyowmiV15Rp2C5rjqQAtjiwApYrWeHtP758PkJsgVYujGtiWR5ovTuEykgFVCa6L8QMhRAPc5zg3c8CfH",
"signers": []
}
},
"chainId": 103
}

🔥 NFT_MP_isMarketCreatorActivated

Check the creator is activated in the market
Parameters:
  • <object> - a JSON object containing:
    • market: <string> - the address of the market.
    • creator: <string> - the address of the creator.
Results:
  • <boolean> - the creator is activated in the market or not.
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_isMarketCreatorActivated',
params: [
{
market: 'DvrXAsPw8X8vqFpgfVhWypDeM3sboiBs5iVn3FKNmLWy',
creator: 'HXYC1Rwj8RYEis2mLiw2zoTUFv8JRAgz6JSnnme8sNA5',
},
],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": false,
"chainId": 103
}

🔥 NFT_MP_list

List an NFT to the market
Parameters:
  • <object> - a JSON object containing:
    • market: <string> - the address of the market.
    • seller: <string> - the address of the seller to list the NFT.
    • mint: <string> - the mint address of the NFT.
    • price: <int> - the price of NFT, note that this price unit is lamports.
Results:
  • <object> - a JSON object containing:
    • auctionManager: <string> - the address of the auction manager.
    • transactions: <[object]> - the transaction struct array is to be signed with the seller
Request Example
Node.js
const axios = require('axios');
const { LAMPORTS_PER_SOL } = require('@solana/web3.js');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_list',
params: [
{
market: 'DvrXAsPw8X8vqFpgfVhWypDeM3sboiBs5iVn3FKNmLWy',
seller: '8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ',
mint: '29nPkoZPcSCnGhfKKvcPB29joUa7iRfcUSyWk3qoZB37',
instantSalePrice: 0.1 * LAMPORTS_PER_SOL,
},
],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"auctionManager": "5FCbwcy55sgGSVNZGmP7nemGfMtZ7ZtzgMvQH8h5YKQe",
"transactions": [
{
"isPartialSigned": true,
"serialized": "4vuRdbkK2txbJVMxYSmksWfiqXNVD5oZ3SvKJszkQ2aSeXcL5Y8c8isyyPdbEwNGDQZCp3F53bPUFurJpg1AzngP8aZFGF5BFDDQTH3MEmVgvXvUCJykuPvGxcwx3e1XLyymhpHZCBE8oZxCRZbiYwR9rLvvWgAjotJd7sv9xRKpRALESayrRtMUyU3RC5yYiy8eHTD18eFvEhNbFWRaS1E8wDQTqPhDPMPrFow8hsQASFbXgLq9si7SEirnMuSLDhABaph5iGWTYVM2K2RKk3TNZPKJA9MgtdRxDa1aD1SLhDjW45UJPubk5ezWSME2AUvy8REizYHAh9P4cPPZqwRJkiZrUY4izDw24Nd7iUzpcxx2H5ztXL4RvHXqECYusfGvAQN4CcZWNJu4sCvtkE5LwctcYMbe3UuLNXonPQkKJYZVSyYEjA1afMkdtTz4g8QKjbkAWqV7puQV1PBKauJAbf6GvVpoEsYLm1Z1V98kJ7guC8YaoPZWWcEznQX22dtgNPiv1dqzjRMhMj89NHts3MGF6vk",
"signers": [
"FkxE3Zk1eJLfbNFLmZ2uXBqeUZRSDC8SQY3ZuWcTqRh9ErgExxhRaZDFQhLvsbfG8P4ZpUc3vErbdXtG56kwpyA"
]
},
{
"isPartialSigned": true,
"serialized": "F3SsHpaGuY6KifCoDhoaf3dUMNGKbdRjBcoNSmRDCQNv7FaPRWMFDCyoFHdRweBXV4DAp8YBh8B7i9JTqvxzxMjnbXdXhe43r8EaBr821jg9gPCESvkditsFm6fA6MXkWNa6S6mVppjbQ7bNXftF7ZBKMPRordmYpLDzGeSZxUNYD51XjpkSHzrLN6t6Am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62zC1pxRhbfC1czxdum2VyBfCoLHF47K2oBycdp5VFUAoGb5PToRudqoizimN6Ed73XPXzVwLthL5gyYHQGtB9bRqyEtT6HoHzbkAePAHXsH6n5TJVKoqCCLEvdeS89ozUo2eQdxoeFpdjHHDkEQx32GsBiQzWMAsQ9AVfZkSukvs4vBZ7ciFvNac2uoMd1rmAciFDtqfXYdiyYRZkK2LdSugcGDPLcqMQVsCwvxXYGHbhohdkhA1UfLXronKzXkWGBQraoprG2jiRD",
"signers": [
"5znxZhDLsadGwDPR2keY44SFxyaSjkZhP8CxBgndSQVo9yF4iooGkGz4fx7xATasQARRt1YvPz4K1m2ddHEEjHpq"
]
},
{
"isPartialSigned": false,
"serialized": "CnZtHzPTaZUa75Jd96FzQqnyvjWLZVau6ikBB7Koc6ubULQY1htngEFfxBU8xxknyMZPb7HGCHzmPe81Qk6758ks93wsrm3sdsnjpdHacQ7qFrhnxREzm33Zg2QRx2yXXjAiKDTvayTirSYB63G14ViSSW53rPDs5zTYU85qsV1YJXvafSikedHUF2qurJtvFyCqgafv1BnDgDV2eU3ppgctbha7Bq9cS5bpn5VVwsEWXgDJnvukNEWV2D1UF82brEKouPrhtpKNq5MEqBE7PyRWLwhM8DubqQvm81ay7X9u7o3WtcoQCjtLcUTTMeboPzbsdmLbubnKi72evDov1ZT6DcahMniqUkTWWbRvdaoaRVQv3JM9koSPuYguJrEX7Jxm6Kn5xqw93HuXsvjEqKq5tozE2bZSpEUZPauuNxpTXegkiEq36qamjvZnT7CC9UPx67rLLDR2KfWFKJe2LvCQtWZjbqJegsVrXiPBMGvp5YHD3XSdq6G7Toh2FFEWDi7ewSYi4gAz9HQoQGCbivxE4hyuocmBYjbTXBbaHY6bMWKyv7aLoiuM7w9e3dHuViVd45v42nw3UMhht7PegH9e48NUysosiPLQ54dNXguY13zTQT9DMWZrRaw4EQPRcoFdubD4xE77zkZqZyMhUyy74gRtpADzsd4Lgws8kXstN9hcqj1L9vQqCU5KKkJPzfgQLSWZGtj85jv37JS3KDV1miZDLrkjmU3vLsUKYsTGUUFhKhYRXzLdyxwJ7zdppMacyGDTqL1PkCp5yVE2rrY89HJ4GGvyNngP7CmW1kGcwQBL2pt8sHCQvAiUJzAHzB7GLzVyrmyUJK8mAwExgKFHKUZmhvTF9LuadFifpm8ttgEtF4P5snjc64TomcRLufBwrbezQy8pv43GgDFNndtru9vVuvFmvq97eDjbc8DtxmhSTL4GZ815zpymiTy8A5uGHHKtS7S7u2vw4YKQX2VqELRYovKhLPEpwJueyLYofdFjT9kMyX6y5aruXN64H3XiASJdzN4HJzNb8dHm2PoJXyQMeDfCK9sqJ6tvC7QE3RbbdYYBH3VVrGR81g1kHSvARy5qwZPKgywPD4rMsVQRgoXqBLSg78War2TT1uUcC6tAkr1ycbHRLeZyLD1jjGx49oNgjzVXH31nxfMcLjMnRK9veZcgCH4ZvzsZDeyWHD28LsGqr3Ja8",
"signers": []
}
]
},
"chainId": 103
}

🔥 NFT_MP_unlist

Unlist an NFT from the market
Parameters:
  • <object> - a JSON object containing:
    • mint: <string> - the mint address of the NFT.
    • auctionManager: <string> - the address of the auction manager.
Results:
  • <object> - a JSON object containing:
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_unlist',
params: [
{
mint: 'ACzVqR5UQ2ZW267fPyDYWVrPBuw3JPpQQF6wFZFWCNPk',
auctionManager: 'F3xUt58CSnST6iLEV5HSSZFTuGjuiuzejXTGX7D4Q9Q5',
},
],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"transaction": {
"isPartialSigned": false,
"serialized": "3kzXxRTzH5SR7Y82QoNf1q4ccLD1Bjkx3BLsvMDhj1zbsr5x9gumbxYcyHPeWeSHQdW4TacHkL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Id": 103
}

🔥 NFT_MP_buy

Buy an NFT from the market
When the buyer buys the NFT, the seller needs to settle first to get the money.
See NFT_MP_settle​
Parameters:
  • <object> - a JSON object containing:
    • buyer: <string> - the address of the buyer.
    • mint: <string> - the mint address of the NFT.
    • auctionManager: <string> - the address of the auction manager.
Results:
  • <object> - a JSON object containing:
    • mintAssociatedTokenAccount: <string> - The address of the account where the buyer places the NFT
    • transactions: <[object]> - the transaction struct array is to be signed with the buyer
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_buy',
params: [
{
buyer: 'Bx5GU8y6oYtTE3ESL469YTjuto8zxPn2xTTvo6BBdt1V',
mint: '29nPkoZPcSCnGhfKKvcPB29joUa7iRfcUSyWk3qoZB37',
auctionManager: '5FCbwcy55sgGSVNZGmP7nemGfMtZ7ZtzgMvQH8h5YKQe',
},
],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"mintAssociatedTokenAccount": "H17mdhJP9XkRh9rULt4x4fXTd71LZnnk7Uui5jjjF1Nf",
"transactions": [
{
"isPartialSigned": true,
"serialized": "2BjJ642HjF4RpzaB5DqYZg5vVL4cdRjmjuErHfKARPD48SGR9WzxCorRBXmQTq3eWLusmwEuuJKHjXFo7dGMfAJMVu51MnF2Gqp9ZHQJWJFdUV1Ym22txMPJKA8hrb14yHGtXyWPtMHUzqLjNVWvSHE2HjG1DpXtnpVvEs6zyJeBCsEahpbAgDF7n842peqU1nFzgDWohUmo89fYVFvPVd5yWzRaKTTYzmb9APBhs9VeyTvyBSHFdEMdY7j51cu7SQ8f9Up2iuBSMZzmszZWwcMXUdn3Hx5T4F4Ludafra6G7uL1Jof2cKXHokLtRT39WooxK5MJGDZuGWoYAwx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G3n1NA6cKtfWSm7DhvE9c4xuSFaNqSEVSdaxNvBLJqswFsDGf775d2CKguQbM8FCK93H7kAx6MkYauWE5uw9SA12WNUnayGGjRs2wD1Dm3F7XcuPXiEV8Z5GxTBXLPLsuUHsRSHTuC7seSpkTMHjbM5a4WWMpGgPED2Vq8szyXhdAx3VRvdF35KzwqmRHoPhGX3Yi7P6rUK2FYvBSuPd4zAXn867B1VGN32rz9f91sb3gGsdNCdCN8jVd2jciisGEQXE1gVYe4wMS2cp8amtkFc7nM5U6VjSQY61Szr4axJdAefMwDHxBM3ptNEfgXYAKYEUYF3fv5CLd7Ad29DN7pM1gVMqUV7cWgn3WevdQNPjZZHoR",
"signers": [
"5huUaHpEmEK5MHSaTDovpeuyTfiWgwB97MxSA83paruJEYM3SpKWjq2QoxwkqDNpTyxDvxQS2X2zXXx4t3E85bsf",
"64XmQwvtNQ9mjLKcgKQEALKZrnP1kVhQrNvipxdB5CBURPcSRNx6bFST3EBJzTvt6CxnSsNKRan1SUYQ3NmRSo7"
]
}
]
},
"chainId": 103
}

🔥 NFT_MP_settle

Settle your NFT auction and transfer sol to your sol token account
Sol token account is not your native account.
It is a specially generated account for the auction, and all the sol obtained from the auction will be transferred to this account first.
If you want to withdraw from the sol token account to your native account, see NFT_MP_withdraw.
Parameters:
  • <object>
    • address: <string> - the account to settle.
    • mint: <string> - the mint address of the NFT.
    • auctionManager: <string> - the address of the auction manager.
Results:
  • <object> - a JSON object containing:
    • nativeMintAssociatedTokenAccount: <string> - the address of your sol token account.
    • transaction: <object> - the transaction struct is to be signed with the account to settle.
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_settle',
params: [
{
address: '8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ',
mint: '3iVDgUGC26AGLsigTT51pWzVZ3Cyo2wm7Snby3TEFdPx',
auctionManager: 'GCGah5TvzSgNDASdeaWTpBMxW8hsJkSp2T4ch6kv7F7k',
},
],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"nativeMintAssociatedTokenAccount": "BLXQ15eimFb7mqRmZ7t2PpDmfN8uAK5PZFX3aPnMEp7t",
"transaction": {
"isPartialSigned": false,
"serialized": "3rHPn4RF8fedoJPbkV1MMYdB8zEQRsGcXsHeq2EBxroyymhKKDXqxz7hjvfSfivhue42LgngLTbgRNwMqG2ZtJ7AhSzsWVBuve7f6hj34cxd89LNNuC16poUQNmh1xzdv7SnYhvAh9Te6WszmbkerWocRi84Um8EE73HRc4BSAew7jn9hGiTxE5b9EiGtxPaF2cy1fufurxuNMMpMXTGCSdP46avhc1gDqyk2X9BSqPzk748yrhMdXnjbXpcQ7h8bXPFRU6pKoYyRrbj6yCgk8ugFU4GahPfD3nm88SSDWF5BqgDqzZUoXm3qBN3dFV9ZHMNcHjfK3B9VP41nTKWRTXRaxmHrocwFw3qFo4zMgJWxJuQukLuUgpvCTyrWKbJfiMUxYF9Dm3Lk5YAALp4BDCtcGqVM3VUsvkcNzs7qxtwY8DUAcaYG5MDn3BPpmvCvV9rYZ9h9Dt3fjeG1C9pa37d13uw9pXymbmoXBoRUobbY7QZvtwayZipHcMYcT9XHauoLUrTrZZuYoZawruftLrmM3ShTriucJuCuCrb9WiLfK9L8WMFu1UYU6E95tf1ai64sByqAjyDW4P8RLZ5kUiTy9KUXWtUc5dnoWPWVjCjWqtaLn4kqWAhmD7Dz9tDtVo4cXMDzQJZxeKsBfVmQMSKQwigsdv7dL2JynWUQrbAwiPTPqEzMgJBpvL5VE4VwhrZM4QxFqjQvjVwj8ajj1cKR7A9ZV5Zmuw7fuMMBSgfReZZLfCRK7XMm8BwXJewvAZk9HqL8z61DuAze9oo21EfKeZiX8Gu5xqGmpRafukCtGj8WnmEfjQxdRi79V1dmNAjUgFFMQJwVriAG8dPCkJsVUf8wceZ82m9kb7AhxAhjqgzoj7AWiQ4uHa3xkeFFccCQPuyLsQbiY8SG61iv23NLsKQqeaFDDrsAKJgZd6osbGLhJcQqXCUHKim9b7yZVAyF3utL7s5nVrnkz6nmovCd7vkvuy3eLs2dikAd1h2GKaSnQoHcriitQWZdj4Da44gTnb74djbMP8UkEgDjcSKRThTLrwbdNDKjeLfNdwh31aejWxMBo2zjiMaEniefB7akP4s",
"signers": []
}
},
"chainId": 103
}

🔥 NFT_MP_withdraw

Withdraw from sol token account to native account
Parameters:
  • <string> - the address of the account to withdraw
Results:
  • <object> - a JSON object containing:
Request Example
Node.js
const axios = require('axios');
​
// chainId: 101 => mainnet; 102 => testnet; 103 => devnet;
const RPC_URL = 'https://api.particle.network/solana/rpc?chainId=103';
const auth = {
username: 'Your Project Id',
password: 'Your Project Server Key',
};
​
(async () => {
const response = await axios.post(
RPC_URL,
{
method: 'NFT_MP_withdraw',
params: ['8FE27ioQh3T7o22QsYVT5Re8NnHFqmFNbdqwiF3ywuZQ'],
},
{ auth },
);
​
console.log(response.data);
})();
Response Example
{
"jsonrpc": "2.0",
"id": 0,
"result": {
"transaction": {
"isPartialSigned": false,
"serialized": "CAjkGtNC7gbvxwJVCQR6oZNAhTh7sCuk11o83KzQT5NSs6D94j9CAZLicreu53UzQX29bPYt4NnJDsriZAQvRTvSHUxSYNoyA1c9xmAJcWp6TrGHEzoLYcP4d1A4qwNWrv8WBAoMFLVRznthGLGw4tyz8yY6dawmgTUgaMdepz7zBcvstrzWGWW5NLzKtwuJx31Vzp9MztL8iNQit4mccPjBBGLq7Lj4wBfza79o5XZRyYAkcLoK4QtLZggMu71yggn8QCfqbq3Ew8ssvtT8ZCt",
"signers": []
}
},
"chainId": 103
}
Copy link
On this page
🔥 NFT_MP_initializeMarket
🔥 NFT_MP_isMarketInitialized
🔥 NFT_MP_setMarketCreator
🔥 NFT_MP_isMarketCreatorActivated
🔥 NFT_MP_list
🔥 NFT_MP_unlist
🔥 NFT_MP_buy
🔥 NFT_MP_settle
🔥 NFT_MP_withdraw