We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to adapt a sale from an auction.
sale
auction
My app crashed on await nftFixedPriceV3.getSaleData() with Error: Exit code: -256
await nftFixedPriceV3.getSaleData()
Error: Exit code: -256
What is my mistake?
export enum ENDPOINT { MAINNET = 'https://mainnet-v4.tonhubapi.com', TESTNET = 'https://sandbox-v4.tonhubapi.com', }
let keypair = await mnemonicToPrivateKey(seed.split(" ")); let client = new TonClient4({endpoint: ENDPOINT.TESTNET}) let wallet = await createSender(keypair, client) let defaultConfig: NftFixPriceSaleV3Data = { isComplete: false, fullPrice: toNano(price), nftAddress: Address.parse(nftAddress), nftOwnerAddress: Address.parse(ownerAddress), royaltyAddress: Address.parse(ownerAddress), royaltyAmount: toNano(price), marketplaceAddress: Address.parse(marketAddress), marketplaceFeeAddress: Address.parse(marketFeeAddress), marketplaceFee: toNano('0.05'), createdAt: moment().unix(), canDeployByExternal: true, } const nftFixedPriceV3 = client.open( await NftFixedPriceV3.createFromConfig(defaultConfig) ) await nftFixedPriceV3.sendDeploy(wallet, toNano('0.05')) const data = await nftFixedPriceV3.getSaleData() console.log(data);
Also about marketFeeAddress and marketFeeAddress. Where can I get them?
marketFeeAddress
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to adapt a
sale
from anauction
.My app crashed on
await nftFixedPriceV3.getSaleData()
withError: Exit code: -256
What is my mistake?
Also about
marketFeeAddress
andmarketFeeAddress
. Where can I get them?The text was updated successfully, but these errors were encountered: