[{"data":1,"prerenderedAt":1432},["ShallowReactive",2],{"navigation_docs":3,"-guides-crypto-staking":354,"-guides-crypto-staking-surround":1427},[4,14,146,163,170,176,183,248,255],{"title":5,"path":6,"page":7,"children":8},"Start here","\u002Fgetting-started",false,[9],{"title":10,"path":11,"stem":12,"icon":13},"Public products","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-compass",{"title":15,"path":16,"page":7,"children":17,"icon":61},"Belong CheckIn","\u002Fbelong-checkin",[18,22,27,32,37,42,47,52,57,62,67,71,76,81,86,91,96,100,105],{"title":19,"path":16,"stem":20,"icon":21},"Overview","3.belong-checkin\u002Findex","i-lucide-map-pin",{"title":23,"path":24,"stem":25,"icon":26},"App Features","\u002Fbelong-checkin\u002Fapp-features","3.belong-checkin\u002F1.app-features","i-lucide-list-checks",{"title":28,"path":29,"stem":30,"icon":31},"Telegram Bot","\u002Fbelong-checkin\u002Ftelegram-bot","3.belong-checkin\u002F10.telegram-bot","i-lucide-send",{"title":33,"path":34,"stem":35,"icon":36},"Apple Wallet","\u002Fbelong-checkin\u002Fapple-wallet","3.belong-checkin\u002F11.apple-wallet","i-lucide-ticket",{"title":38,"path":39,"stem":40,"icon":41},"Payments","\u002Fbelong-checkin\u002Fpayments-and-onramp","3.belong-checkin\u002F12.payments-and-onramp","i-lucide-credit-card",{"title":43,"path":44,"stem":45,"icon":46},"Sponsored Gas","\u002Fbelong-checkin\u002Fsponsored-gas","3.belong-checkin\u002F13.sponsored-gas","i-lucide-fuel",{"title":48,"path":49,"stem":50,"icon":51},"Fees & Staking","\u002Fbelong-checkin\u002Ffees-and-staking","3.belong-checkin\u002F14.fees-and-staking","i-lucide-percent",{"title":53,"path":54,"stem":55,"icon":56},"Connect AI Deploy","\u002Fbelong-checkin\u002Fconnect-ai-deploy","3.belong-checkin\u002F15.connect-ai-deploy","i-lucide-bot",{"title":58,"path":59,"stem":60,"icon":61},"QR Signage Examples","\u002Fbelong-checkin\u002Fvenue-qr-signage-examples","3.belong-checkin\u002F16.venue-qr-signage-examples","i-lucide-qr-code",{"title":63,"path":64,"stem":65,"icon":66},"Whitepaper","\u002Fbelong-checkin\u002Fwhitepaper","3.belong-checkin\u002F18.whitepaper","i-lucide-file-text",{"title":68,"path":69,"stem":70,"icon":61},"Check-In Modes","\u002Fbelong-checkin\u002Fcheck-in-modes","3.belong-checkin\u002F2.check-in-modes",{"title":72,"path":73,"stem":74,"icon":75},"Venue Quick Start","\u002Fbelong-checkin\u002Fvenue-quickstart","3.belong-checkin\u002F3.venue-quickstart","i-lucide-store",{"title":77,"path":78,"stem":79,"icon":80},"Customer Rewards","\u002Fbelong-checkin\u002Fcustomer_rewards_guide","3.belong-checkin\u002F4.customer_rewards_guide","i-lucide-gift",{"title":82,"path":83,"stem":84,"icon":85},"Promoter Earnings","\u002Fbelong-checkin\u002Fpromoter-earnings-guide","3.belong-checkin\u002F5.promoter-earnings-guide","i-lucide-wallet",{"title":87,"path":88,"stem":89,"icon":90},"Venue Partner","\u002Fbelong-checkin\u002Fvenue-partner","3.belong-checkin\u002F6.venue-partner","i-lucide-building",{"title":92,"path":93,"stem":94,"icon":95},"Event Creation","\u002Fbelong-checkin\u002Fevent-creation","3.belong-checkin\u002F7.event-creation","i-lucide-calendar-plus",{"title":97,"path":98,"stem":99,"icon":85},"Wallet & Sign-In","\u002Fbelong-checkin\u002Fwallet-and-auth","3.belong-checkin\u002F8.wallet-and-auth",{"title":101,"path":102,"stem":103,"icon":104},"AI & Voice","\u002Fbelong-checkin\u002Fai-and-voice","3.belong-checkin\u002F9.ai-and-voice","i-lucide-mic",{"title":106,"path":107,"page":7,"children":108},"Developer integration","\u002Fbelong-checkin\u002Fdeveloper",[109,112,117,122,126,131,136,141],{"title":15,"path":110,"stem":111,"icon":21},"\u002Fguides\u002Fcrypto\u002Fcheckin","2.guides\u002F1.crypto\u002FcheckIn",{"title":113,"path":114,"stem":115,"icon":116},"Integration Overview","\u002Fbelong-checkin\u002Fdeveloper\u002Fintegration-overview","3.belong-checkin\u002F19.developer\u002F1.integration-overview","i-lucide-plug",{"title":118,"path":119,"stem":120,"icon":121},"API Reference","\u002Fbelong-checkin\u002Fdeveloper\u002Fapi-reference","3.belong-checkin\u002F19.developer\u002F2.api-reference","i-lucide-book-open-text",{"title":123,"path":124,"stem":125,"icon":56},"MCP Tools","\u002Fbelong-checkin\u002Fdeveloper\u002Fmcp-tools","3.belong-checkin\u002F19.developer\u002F3.mcp-tools",{"title":127,"path":128,"stem":129,"icon":130},"Networks","\u002Fbelong-checkin\u002Fdeveloper\u002Fnetworks","3.belong-checkin\u002F19.developer\u002F4.networks","i-lucide-network",{"title":132,"path":133,"stem":134,"icon":135},"Enterprise Apps","\u002Fbelong-checkin\u002Fdeveloper\u002Fenterprise-whitelabel","3.belong-checkin\u002F19.developer\u002F5.enterprise-whitelabel","i-lucide-package",{"title":137,"path":138,"stem":139,"icon":140},"POS & Events","\u002Fbelong-checkin\u002Fdeveloper\u002Fwebhooks-and-pos","3.belong-checkin\u002F19.developer\u002F6.webhooks-and-pos","i-lucide-receipt",{"title":142,"path":143,"stem":144,"icon":145},"NFT Checkout","\u002Fbelong-checkin\u002Fdeveloper\u002Fnft-checkout","3.belong-checkin\u002F19.developer\u002F7.nft-checkout","i-lucide-shopping-cart",{"title":147,"path":148,"page":7,"children":149,"icon":152},"Belong Platform","\u002Fbelong-platform",[150,153,158],{"title":19,"path":148,"stem":151,"icon":152},"6.belong-platform\u002Findex","i-lucide-panels-top-left",{"title":154,"path":155,"stem":156,"icon":157},"Media Upload","\u002Fguides\u002Fmedia\u002Fcollection","2.guides\u002F2.media\u002Fcollection","i-lucide-image",{"title":159,"path":160,"stem":161,"icon":162},"Whitelabel","\u002Fguides\u002Fwhitelabel","2.guides\u002F5.whitelabel","i-lucide-badge-check",{"title":164,"path":165,"page":7,"children":166,"icon":169},"Belong Events","\u002Fbelong-events",[167],{"title":19,"path":165,"stem":168,"icon":169},"7.belong-events\u002Findex","i-lucide-calendar-days",{"title":171,"path":172,"page":7,"children":173,"icon":56},"LONG Events","\u002Flong-events",[174],{"title":19,"path":172,"stem":175,"icon":56},"8.long-events\u002Findex",{"title":177,"path":178,"page":7,"children":179,"icon":182},"Crypto Events","\u002Fcrypto-events",[180],{"title":19,"path":178,"stem":181,"icon":182},"9.crypto-events\u002Findex","i-lucide-globe",{"title":184,"path":185,"page":7,"children":186,"icon":189},"AI Deploy","\u002Fai-deploy\u002Foverview",[187,190,195,200,205,210,228,233,238,243],{"title":19,"path":185,"stem":188,"icon":189},"5.ai-deploy\u002F1.overview","i-lucide-rocket",{"title":191,"path":192,"stem":193,"icon":194},"Open Source","\u002Fai-deploy\u002Fopen-source","5.ai-deploy\u002F10.open-source","i-lucide-github",{"title":196,"path":197,"stem":198,"icon":199},"Quick Start","\u002Fai-deploy\u002Fquickstart","5.ai-deploy\u002F2.quickstart","i-lucide-zap",{"title":201,"path":202,"stem":203,"icon":204},"Cloud Providers","\u002Fai-deploy\u002Fcloud-providers","5.ai-deploy\u002F3.cloud-providers","i-lucide-cloud",{"title":206,"path":207,"stem":208,"icon":209},"AI Providers","\u002Fai-deploy\u002Fai-providers","5.ai-deploy\u002F4.ai-providers","i-lucide-brain",{"title":211,"path":212,"page":7,"children":213},"Channels","\u002Fai-deploy\u002Fchannels",[214,218,223],{"title":215,"path":216,"stem":217,"icon":31},"Telegram","\u002Fai-deploy\u002Fchannels\u002Ftelegram","5.ai-deploy\u002F5.channels\u002F1.telegram",{"title":219,"path":220,"stem":221,"icon":222},"WhatsApp","\u002Fai-deploy\u002Fchannels\u002Fwhatsapp","5.ai-deploy\u002F5.channels\u002F2.whatsapp","i-lucide-message-circle",{"title":224,"path":225,"stem":226,"icon":227},"Slack","\u002Fai-deploy\u002Fchannels\u002Fslack","5.ai-deploy\u002F5.channels\u002F3.slack","i-lucide-hash",{"title":229,"path":230,"stem":231,"icon":232},"Private Access","\u002Fai-deploy\u002Fprivate-access","5.ai-deploy\u002F6.private-access","i-lucide-shield",{"title":234,"path":235,"stem":236,"icon":237},"Troubleshooting","\u002Fai-deploy\u002Ftroubleshooting","5.ai-deploy\u002F7.troubleshooting","i-lucide-wrench",{"title":239,"path":240,"stem":241,"icon":242},"Enterprise & API","\u002Fai-deploy\u002Fenterprise-api","5.ai-deploy\u002F8.enterprise-api","i-lucide-server-cog",{"title":244,"path":245,"stem":246,"icon":247},"OVHcloud","\u002Fai-deploy\u002Fovhcloud","5.ai-deploy\u002F9.ovhcloud","i-lucide-cloud-cog",{"title":249,"path":250,"page":7,"children":251,"icon":254},"Hexagon MM","\u002Fhexagon-mm",[252],{"title":19,"path":250,"stem":253,"icon":254},"10.hexagon-mm\u002Findex","i-lucide-chart-no-axes-combined",{"title":256,"path":257,"page":7,"children":258,"icon":261},"Belong API & Docs","\u002Fdeveloper-platform",[259,262,282,311],{"title":19,"path":257,"stem":260,"icon":261},"11.developer-platform\u002Findex","i-lucide-code-xml",{"title":263,"path":6,"page":7,"children":264},"API, SDK & contracts",[265,269,273,277],{"title":266,"path":267,"stem":268,"icon":121},"API","\u002Fgetting-started\u002Fapi-docs","1.getting-started\u002F2.api-docs",{"title":270,"path":271,"stem":272,"icon":56},"MCP","\u002Fgetting-started\u002Fmcp","1.getting-started\u002F3.mcp",{"title":274,"path":275,"stem":276,"icon":261},"SDK","\u002Fgetting-started\u002Fsdk","1.getting-started\u002F4.sdk",{"title":278,"path":279,"stem":280,"icon":281},"Smart Contract","\u002Fgetting-started\u002Fcontracts","1.getting-started\u002F5.contracts","i-lucide-clock",{"title":283,"path":284,"page":7,"children":285},"Contract guides","\u002Fguides\u002Fcrypto",[286,291,294,298,303,307],{"title":287,"path":288,"stem":289,"icon":290},"EVM NFT Minting","\u002Fguides\u002Fcrypto\u002Fminting","2.guides\u002F1.crypto\u002Fminting","i-lucide-box",{"title":43,"path":292,"stem":293,"icon":85},"\u002Fguides\u002Fcrypto\u002Fsponsorship","2.guides\u002F1.crypto\u002Fsponsorship",{"title":295,"path":296,"stem":297,"icon":290},"LONG Staking","\u002Fguides\u002Fcrypto\u002Fstaking","2.guides\u002F1.crypto\u002Fstaking",{"title":299,"path":300,"stem":301,"icon":302},"Starknet NFT Minting","\u002Fguides\u002Fcrypto\u002Fstarknet","2.guides\u002F1.crypto\u002Fstarknet","i-lucide-circuit-board",{"title":304,"path":305,"stem":306,"icon":290},"Sui NFT Minting","\u002Fguides\u002Fcrypto\u002Fsui","2.guides\u002F1.crypto\u002Fsui",{"title":308,"path":309,"stem":310,"icon":281},"LONG Vesting","\u002Fguides\u002Fcrypto\u002Fvesting","2.guides\u002F1.crypto\u002Fvesting",{"title":312,"path":313,"page":7,"children":314},"MCP tool reference","\u002Fmcp",[315,318,322,326,330,334,338,342,346,350],{"title":19,"path":316,"stem":317,"icon":56},"\u002Fmcp\u002Foverview","4.mcp\u002Foverview",{"title":319,"path":320,"stem":321,"icon":56},"Addresses","\u002Fmcp\u002Ftools-addresses","4.mcp\u002Ftools-addresses",{"title":323,"path":324,"stem":325,"icon":56},"CheckIn","\u002Fmcp\u002Ftools-check-in","4.mcp\u002Ftools-check-In",{"title":327,"path":328,"stem":329,"icon":56},"Events","\u002Fmcp\u002Ftools-events","4.mcp\u002Ftools-events",{"title":331,"path":332,"stem":333,"icon":56},"Hubs","\u002Fmcp\u002Ftools-hubs","4.mcp\u002Ftools-hubs",{"title":335,"path":336,"stem":337,"icon":290},"Minting","\u002Fmcp\u002Ftools-minting","4.mcp\u002Ftools-minting",{"title":339,"path":340,"stem":341,"icon":56},"Notes","\u002Fmcp\u002Ftools-notes","4.mcp\u002Ftools-notes",{"title":343,"path":344,"stem":345,"icon":56},"Registration","\u002Fmcp\u002Ftools-registration","4.mcp\u002Ftools-registration",{"title":347,"path":348,"stem":349,"icon":56},"Starknet","\u002Fmcp\u002Ftools-starknet","4.mcp\u002Ftools-starknet",{"title":351,"path":352,"stem":353,"icon":281},"Vesting","\u002Fmcp\u002Ftools-vesting","4.mcp\u002Ftools-vesting",{"id":355,"title":356,"body":357,"description":1420,"extension":1421,"links":1422,"meta":1423,"navigation":1424,"path":296,"seo":1425,"stem":297,"__hash__":1426},"docs\u002F2.guides\u002F1.crypto\u002Fstaking.md","Staking Guide",{"type":358,"value":359,"toc":1404},"minimark",[360,370,374,378,389,392,396,419,421,425,438,440,444,449,627,629,633,757,759,763,892,894,898,1025,1027,1031,1158,1160,1164,1291,1293,1297,1300,1335,1339,1398,1400],[361,362],"doc-figure",{":height":363,":width":364,"alt":365,"caption":366,"placement":367,"source-url":368,"src":369},"450","800","Purple tokens and gift boxes beside Unlock Bigger Rewards with LONG.","LONG staking tiers determine the fee and reward benefits listed in this guide.","lead","https:\u002F\u002Ft.me\u002Fbelongnet\u002F201","\u002Fmedia\u002Fsocial\u002Flong-staking-rewards.webp",[371,372,19],"h2",{"id":373},"overview",[375,376,377],"p",{},"This guide provides frontend examples for performing staking operations with LONG tokens on EVM-compatible chains directly from the user's wallet.\nIt covers minting, depositing, withdrawing, redeeming, and emergency operations.",[375,379,380,384,385,388],{},[381,382,383],"strong",{},"Staking"," places LONG into a staking contract; withdrawing or redeeming follows the contract functions below. Start by matching the wallet network and token amount to the operation you intend to sign. For the customer-facing effect of staking on venue fees, see ",[386,387,48],"a",{"href":49},".",[390,391],"hr",{},[371,393,395],{"id":394},"important-note","Important Note",[375,397,398,399,403,404,407,408,411,412,415,416,388],{},"Throughout the examples below, ",[400,401,402],"code",{},"parseEther(\"\u003Camount>\")"," is used to convert token amounts into their on-chain ",[400,405,406],{},"uint256"," representation.\nAlthough the function name refers to “Ether”, ",[381,409,410],{},"it represents LONG tokens, not ETH",". For example, ",[400,413,414],{},"parseEther(\"0.5\")"," corresponds to ",[381,417,418],{},"0.5 LONG tokens",[390,420],{},[371,422,424],{"id":423},"process-flow","Process Flow",[426,427,428],"mermaid",{},[429,430,436],"pre",{"className":431,"code":433,"language":434,"meta":435},[432],"language-text","flowchart TD;\n\n    A[Start: User Connect] --> B[Staking Mint]\n    B --> C[Staking Deposit]\n    C --> D{Withdraw or Redeem?}\n    D --> E[Staking Withdraw]\n    D --> F[Staking Redeem]\n    E --> G[Emergency Functions]\n    F --> G\n    G --> H[End: Tokens Managed]\n\n","text","",[400,437,433],{"__ignoreMap":435},[390,439],{},[371,441,443],{"id":442},"usage-examples","Usage Examples",[445,446,448],"h3",{"id":447},"staking-mint","Staking Mint",[429,450,454],{"className":451,"code":452,"language":453,"meta":435,"style":435},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F*\n * mint(uint256 shares, address user)\n * The user mints sLONG shares by depositing LONG.\n * Note: parseEther(\"0.5\") means 0.5 LONG tokens (not ETH).\n *\u002F\nasync function stakingMint() {\n  \u002F\u002F Approve LONG token before mint\n  const transaction = prepareContractCall({\n    contract,\n    method: \"mint\",\n    params: [parseEther(\"0.5\"), \"0xUserAddress\"],\n  });\n}\n","ts",[400,455,456,465,471,477,483,489,510,516,539,548,569,610,621],{"__ignoreMap":435},[457,458,461],"span",{"class":459,"line":460},"line",1,[457,462,464],{"class":463},"sHwdD","\u002F*\n",[457,466,468],{"class":459,"line":467},2,[457,469,470],{"class":463}," * mint(uint256 shares, address user)\n",[457,472,474],{"class":459,"line":473},3,[457,475,476],{"class":463}," * The user mints sLONG shares by depositing LONG.\n",[457,478,480],{"class":459,"line":479},4,[457,481,482],{"class":463}," * Note: parseEther(\"0.5\") means 0.5 LONG tokens (not ETH).\n",[457,484,486],{"class":459,"line":485},5,[457,487,488],{"class":463}," *\u002F\n",[457,490,492,496,499,503,507],{"class":459,"line":491},6,[457,493,495],{"class":494},"spNyl","async",[457,497,498],{"class":494}," function",[457,500,502],{"class":501},"s2Zo4"," stakingMint",[457,504,506],{"class":505},"sMK4o","()",[457,508,509],{"class":505}," {\n",[457,511,513],{"class":459,"line":512},7,[457,514,515],{"class":463},"  \u002F\u002F Approve LONG token before mint\n",[457,517,519,522,526,529,532,536],{"class":459,"line":518},8,[457,520,521],{"class":494},"  const",[457,523,525],{"class":524},"sTEyZ"," transaction",[457,527,528],{"class":505}," =",[457,530,531],{"class":501}," prepareContractCall",[457,533,535],{"class":534},"swJcz","(",[457,537,538],{"class":505},"{\n",[457,540,542,545],{"class":459,"line":541},9,[457,543,544],{"class":524},"    contract",[457,546,547],{"class":505},",\n",[457,549,551,554,557,560,564,567],{"class":459,"line":550},10,[457,552,553],{"class":534},"    method",[457,555,556],{"class":505},":",[457,558,559],{"class":505}," \"",[457,561,563],{"class":562},"sfazB","mint",[457,565,566],{"class":505},"\"",[457,568,547],{"class":505},[457,570,572,575,577,580,583,585,587,590,592,595,598,600,603,605,608],{"class":459,"line":571},11,[457,573,574],{"class":534},"    params",[457,576,556],{"class":505},[457,578,579],{"class":534}," [",[457,581,582],{"class":501},"parseEther",[457,584,535],{"class":534},[457,586,566],{"class":505},[457,588,589],{"class":562},"0.5",[457,591,566],{"class":505},[457,593,594],{"class":534},")",[457,596,597],{"class":505},",",[457,599,559],{"class":505},[457,601,602],{"class":562},"0xUserAddress",[457,604,566],{"class":505},[457,606,607],{"class":534},"]",[457,609,547],{"class":505},[457,611,613,616,618],{"class":459,"line":612},12,[457,614,615],{"class":505},"  }",[457,617,594],{"class":534},[457,619,620],{"class":505},";\n",[457,622,624],{"class":459,"line":623},13,[457,625,626],{"class":505},"}\n",[390,628],{},[445,630,632],{"id":631},"staking-deposit","Staking Deposit",[429,634,636],{"className":451,"code":635,"language":453,"meta":435,"style":435},"\u002F*\n * deposit(uint256 assets, address user)\n * The user deposits LONG tokens and receives sLONG.\n * Note: parseEther(\"0.5\") means 0.5 LONG tokens (not ETH).\n *\u002F\nasync function stakingDeposit() {\n  \u002F\u002F Approve LONG token before deposit\n  const transaction = prepareContractCall({\n    contract,\n    method: \"deposit\",\n    params: [parseEther(\"0.5\"), \"0xUserAddress\"],\n  });\n}\n",[400,637,638,642,647,652,656,660,673,678,692,698,713,745,753],{"__ignoreMap":435},[457,639,640],{"class":459,"line":460},[457,641,464],{"class":463},[457,643,644],{"class":459,"line":467},[457,645,646],{"class":463}," * deposit(uint256 assets, address user)\n",[457,648,649],{"class":459,"line":473},[457,650,651],{"class":463}," * The user deposits LONG tokens and receives sLONG.\n",[457,653,654],{"class":459,"line":479},[457,655,482],{"class":463},[457,657,658],{"class":459,"line":485},[457,659,488],{"class":463},[457,661,662,664,666,669,671],{"class":459,"line":491},[457,663,495],{"class":494},[457,665,498],{"class":494},[457,667,668],{"class":501}," stakingDeposit",[457,670,506],{"class":505},[457,672,509],{"class":505},[457,674,675],{"class":459,"line":512},[457,676,677],{"class":463},"  \u002F\u002F Approve LONG token before deposit\n",[457,679,680,682,684,686,688,690],{"class":459,"line":518},[457,681,521],{"class":494},[457,683,525],{"class":524},[457,685,528],{"class":505},[457,687,531],{"class":501},[457,689,535],{"class":534},[457,691,538],{"class":505},[457,693,694,696],{"class":459,"line":541},[457,695,544],{"class":524},[457,697,547],{"class":505},[457,699,700,702,704,706,709,711],{"class":459,"line":550},[457,701,553],{"class":534},[457,703,556],{"class":505},[457,705,559],{"class":505},[457,707,708],{"class":562},"deposit",[457,710,566],{"class":505},[457,712,547],{"class":505},[457,714,715,717,719,721,723,725,727,729,731,733,735,737,739,741,743],{"class":459,"line":571},[457,716,574],{"class":534},[457,718,556],{"class":505},[457,720,579],{"class":534},[457,722,582],{"class":501},[457,724,535],{"class":534},[457,726,566],{"class":505},[457,728,589],{"class":562},[457,730,566],{"class":505},[457,732,594],{"class":534},[457,734,597],{"class":505},[457,736,559],{"class":505},[457,738,602],{"class":562},[457,740,566],{"class":505},[457,742,607],{"class":534},[457,744,547],{"class":505},[457,746,747,749,751],{"class":459,"line":612},[457,748,615],{"class":505},[457,750,594],{"class":534},[457,752,620],{"class":505},[457,754,755],{"class":459,"line":623},[457,756,626],{"class":505},[390,758],{},[445,760,762],{"id":761},"staking-withdraw","Staking Withdraw",[429,764,766],{"className":451,"code":765,"language":453,"meta":435,"style":435},"\u002F*\n * withdraw(uint256 assets, address receiver, address owner)\n * The user withdraws LONG by burning sLONG.\n * Note: parseEther(\"0.1\") means 0.1 LONG tokens (not ETH).\n *\u002F\nasync function stakingWithdraw() {\n  const transaction = prepareContractCall({\n    contract,\n    method: \"withdraw\",\n    params: [parseEther(\"0.1\"), \"0xUserAddress\", \"0xUserAddress\"],\n  });\n}\n",[400,767,768,772,777,782,787,791,804,818,824,839,880,888],{"__ignoreMap":435},[457,769,770],{"class":459,"line":460},[457,771,464],{"class":463},[457,773,774],{"class":459,"line":467},[457,775,776],{"class":463}," * withdraw(uint256 assets, address receiver, address owner)\n",[457,778,779],{"class":459,"line":473},[457,780,781],{"class":463}," * The user withdraws LONG by burning sLONG.\n",[457,783,784],{"class":459,"line":479},[457,785,786],{"class":463}," * Note: parseEther(\"0.1\") means 0.1 LONG tokens (not ETH).\n",[457,788,789],{"class":459,"line":485},[457,790,488],{"class":463},[457,792,793,795,797,800,802],{"class":459,"line":491},[457,794,495],{"class":494},[457,796,498],{"class":494},[457,798,799],{"class":501}," stakingWithdraw",[457,801,506],{"class":505},[457,803,509],{"class":505},[457,805,806,808,810,812,814,816],{"class":459,"line":512},[457,807,521],{"class":494},[457,809,525],{"class":524},[457,811,528],{"class":505},[457,813,531],{"class":501},[457,815,535],{"class":534},[457,817,538],{"class":505},[457,819,820,822],{"class":459,"line":518},[457,821,544],{"class":524},[457,823,547],{"class":505},[457,825,826,828,830,832,835,837],{"class":459,"line":541},[457,827,553],{"class":534},[457,829,556],{"class":505},[457,831,559],{"class":505},[457,833,834],{"class":562},"withdraw",[457,836,566],{"class":505},[457,838,547],{"class":505},[457,840,841,843,845,847,849,851,853,856,858,860,862,864,866,868,870,872,874,876,878],{"class":459,"line":550},[457,842,574],{"class":534},[457,844,556],{"class":505},[457,846,579],{"class":534},[457,848,582],{"class":501},[457,850,535],{"class":534},[457,852,566],{"class":505},[457,854,855],{"class":562},"0.1",[457,857,566],{"class":505},[457,859,594],{"class":534},[457,861,597],{"class":505},[457,863,559],{"class":505},[457,865,602],{"class":562},[457,867,566],{"class":505},[457,869,597],{"class":505},[457,871,559],{"class":505},[457,873,602],{"class":562},[457,875,566],{"class":505},[457,877,607],{"class":534},[457,879,547],{"class":505},[457,881,882,884,886],{"class":459,"line":571},[457,883,615],{"class":505},[457,885,594],{"class":534},[457,887,620],{"class":505},[457,889,890],{"class":459,"line":612},[457,891,626],{"class":505},[390,893],{},[445,895,897],{"id":896},"staking-redeem","Staking Redeem",[429,899,901],{"className":451,"code":900,"language":453,"meta":435,"style":435},"\u002F*\n * redeem(uint256 shares, address receiver, address owner)\n * The user redeems sLONG and receives LONG.\n * Note: parseEther(\"0.1\") means 0.1 LONG tokens (not ETH).\n *\u002F\nasync function stakingRedeem() {\n  const transaction = prepareContractCall({\n    contract,\n    method: \"redeem\",\n    params: [parseEther(\"0.1\"), \"0xUserAddress\", \"0xUserAddress\"],\n  });\n}\n",[400,902,903,907,912,917,921,925,938,952,958,973,1013,1021],{"__ignoreMap":435},[457,904,905],{"class":459,"line":460},[457,906,464],{"class":463},[457,908,909],{"class":459,"line":467},[457,910,911],{"class":463}," * redeem(uint256 shares, address receiver, address owner)\n",[457,913,914],{"class":459,"line":473},[457,915,916],{"class":463}," * The user redeems sLONG and receives LONG.\n",[457,918,919],{"class":459,"line":479},[457,920,786],{"class":463},[457,922,923],{"class":459,"line":485},[457,924,488],{"class":463},[457,926,927,929,931,934,936],{"class":459,"line":491},[457,928,495],{"class":494},[457,930,498],{"class":494},[457,932,933],{"class":501}," stakingRedeem",[457,935,506],{"class":505},[457,937,509],{"class":505},[457,939,940,942,944,946,948,950],{"class":459,"line":512},[457,941,521],{"class":494},[457,943,525],{"class":524},[457,945,528],{"class":505},[457,947,531],{"class":501},[457,949,535],{"class":534},[457,951,538],{"class":505},[457,953,954,956],{"class":459,"line":518},[457,955,544],{"class":524},[457,957,547],{"class":505},[457,959,960,962,964,966,969,971],{"class":459,"line":541},[457,961,553],{"class":534},[457,963,556],{"class":505},[457,965,559],{"class":505},[457,967,968],{"class":562},"redeem",[457,970,566],{"class":505},[457,972,547],{"class":505},[457,974,975,977,979,981,983,985,987,989,991,993,995,997,999,1001,1003,1005,1007,1009,1011],{"class":459,"line":550},[457,976,574],{"class":534},[457,978,556],{"class":505},[457,980,579],{"class":534},[457,982,582],{"class":501},[457,984,535],{"class":534},[457,986,566],{"class":505},[457,988,855],{"class":562},[457,990,566],{"class":505},[457,992,594],{"class":534},[457,994,597],{"class":505},[457,996,559],{"class":505},[457,998,602],{"class":562},[457,1000,566],{"class":505},[457,1002,597],{"class":505},[457,1004,559],{"class":505},[457,1006,602],{"class":562},[457,1008,566],{"class":505},[457,1010,607],{"class":534},[457,1012,547],{"class":505},[457,1014,1015,1017,1019],{"class":459,"line":571},[457,1016,615],{"class":505},[457,1018,594],{"class":534},[457,1020,620],{"class":505},[457,1022,1023],{"class":459,"line":612},[457,1024,626],{"class":505},[390,1026],{},[445,1028,1030],{"id":1029},"emergency-withdraw","Emergency Withdraw",[429,1032,1034],{"className":451,"code":1033,"language":453,"meta":435,"style":435},"\u002F*\n * emergencyWithdraw(uint256 assets, address receiver, address owner)\n * Emergency withdrawal in case of issues.\n * Note: parseEther(\"0.1\") means 0.1 LONG tokens (not ETH).\n *\u002F\nasync function emergencyWithdraw() {\n  const transaction = prepareContractCall({\n    contract,\n    method: \"emergencyWithdraw\",\n    params: [parseEther(\"0.1\"), \"0xUserAddress\", \"0xUserAddress\"],\n  });\n}\n",[400,1035,1036,1040,1045,1050,1054,1058,1071,1085,1091,1106,1146,1154],{"__ignoreMap":435},[457,1037,1038],{"class":459,"line":460},[457,1039,464],{"class":463},[457,1041,1042],{"class":459,"line":467},[457,1043,1044],{"class":463}," * emergencyWithdraw(uint256 assets, address receiver, address owner)\n",[457,1046,1047],{"class":459,"line":473},[457,1048,1049],{"class":463}," * Emergency withdrawal in case of issues.\n",[457,1051,1052],{"class":459,"line":479},[457,1053,786],{"class":463},[457,1055,1056],{"class":459,"line":485},[457,1057,488],{"class":463},[457,1059,1060,1062,1064,1067,1069],{"class":459,"line":491},[457,1061,495],{"class":494},[457,1063,498],{"class":494},[457,1065,1066],{"class":501}," emergencyWithdraw",[457,1068,506],{"class":505},[457,1070,509],{"class":505},[457,1072,1073,1075,1077,1079,1081,1083],{"class":459,"line":512},[457,1074,521],{"class":494},[457,1076,525],{"class":524},[457,1078,528],{"class":505},[457,1080,531],{"class":501},[457,1082,535],{"class":534},[457,1084,538],{"class":505},[457,1086,1087,1089],{"class":459,"line":518},[457,1088,544],{"class":524},[457,1090,547],{"class":505},[457,1092,1093,1095,1097,1099,1102,1104],{"class":459,"line":541},[457,1094,553],{"class":534},[457,1096,556],{"class":505},[457,1098,559],{"class":505},[457,1100,1101],{"class":562},"emergencyWithdraw",[457,1103,566],{"class":505},[457,1105,547],{"class":505},[457,1107,1108,1110,1112,1114,1116,1118,1120,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1144],{"class":459,"line":550},[457,1109,574],{"class":534},[457,1111,556],{"class":505},[457,1113,579],{"class":534},[457,1115,582],{"class":501},[457,1117,535],{"class":534},[457,1119,566],{"class":505},[457,1121,855],{"class":562},[457,1123,566],{"class":505},[457,1125,594],{"class":534},[457,1127,597],{"class":505},[457,1129,559],{"class":505},[457,1131,602],{"class":562},[457,1133,566],{"class":505},[457,1135,597],{"class":505},[457,1137,559],{"class":505},[457,1139,602],{"class":562},[457,1141,566],{"class":505},[457,1143,607],{"class":534},[457,1145,547],{"class":505},[457,1147,1148,1150,1152],{"class":459,"line":571},[457,1149,615],{"class":505},[457,1151,594],{"class":534},[457,1153,620],{"class":505},[457,1155,1156],{"class":459,"line":612},[457,1157,626],{"class":505},[390,1159],{},[445,1161,1163],{"id":1162},"emergency-redeem","Emergency Redeem",[429,1165,1167],{"className":451,"code":1166,"language":453,"meta":435,"style":435},"\u002F*\n * emergencyRedeem(uint256 shares, address receiver, address owner)\n * Emergency redemption for stuck positions.\n * Note: parseEther(\"0.1\") means 0.1 LONG tokens (not ETH).\n *\u002F\nasync function emergencyRedeem() {\n  const transaction = prepareContractCall({\n    contract,\n    method: \"emergencyRedeem\",\n    params: [parseEther(\"0.1\"), \"0xUserAddress\", \"0xUserAddress\"],\n  });\n}\n",[400,1168,1169,1173,1178,1183,1187,1191,1204,1218,1224,1239,1279,1287],{"__ignoreMap":435},[457,1170,1171],{"class":459,"line":460},[457,1172,464],{"class":463},[457,1174,1175],{"class":459,"line":467},[457,1176,1177],{"class":463}," * emergencyRedeem(uint256 shares, address receiver, address owner)\n",[457,1179,1180],{"class":459,"line":473},[457,1181,1182],{"class":463}," * Emergency redemption for stuck positions.\n",[457,1184,1185],{"class":459,"line":479},[457,1186,786],{"class":463},[457,1188,1189],{"class":459,"line":485},[457,1190,488],{"class":463},[457,1192,1193,1195,1197,1200,1202],{"class":459,"line":491},[457,1194,495],{"class":494},[457,1196,498],{"class":494},[457,1198,1199],{"class":501}," emergencyRedeem",[457,1201,506],{"class":505},[457,1203,509],{"class":505},[457,1205,1206,1208,1210,1212,1214,1216],{"class":459,"line":512},[457,1207,521],{"class":494},[457,1209,525],{"class":524},[457,1211,528],{"class":505},[457,1213,531],{"class":501},[457,1215,535],{"class":534},[457,1217,538],{"class":505},[457,1219,1220,1222],{"class":459,"line":518},[457,1221,544],{"class":524},[457,1223,547],{"class":505},[457,1225,1226,1228,1230,1232,1235,1237],{"class":459,"line":541},[457,1227,553],{"class":534},[457,1229,556],{"class":505},[457,1231,559],{"class":505},[457,1233,1234],{"class":562},"emergencyRedeem",[457,1236,566],{"class":505},[457,1238,547],{"class":505},[457,1240,1241,1243,1245,1247,1249,1251,1253,1255,1257,1259,1261,1263,1265,1267,1269,1271,1273,1275,1277],{"class":459,"line":550},[457,1242,574],{"class":534},[457,1244,556],{"class":505},[457,1246,579],{"class":534},[457,1248,582],{"class":501},[457,1250,535],{"class":534},[457,1252,566],{"class":505},[457,1254,855],{"class":562},[457,1256,566],{"class":505},[457,1258,594],{"class":534},[457,1260,597],{"class":505},[457,1262,559],{"class":505},[457,1264,602],{"class":562},[457,1266,566],{"class":505},[457,1268,597],{"class":505},[457,1270,559],{"class":505},[457,1272,602],{"class":562},[457,1274,566],{"class":505},[457,1276,607],{"class":534},[457,1278,547],{"class":505},[457,1280,1281,1283,1285],{"class":459,"line":571},[457,1282,615],{"class":505},[457,1284,594],{"class":534},[457,1286,620],{"class":505},[457,1288,1289],{"class":459,"line":612},[457,1290,626],{"class":505},[390,1292],{},[371,1294,1296],{"id":1295},"errors","Errors",[375,1298,1299],{},"MCP tools return errors in the standard JSON format:",[429,1301,1305],{"className":1302,"code":1303,"language":1304,"meta":435,"style":435},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"error\": \"STAKING_INSUFFICIENT_BALANCE\"\n}\n","json",[400,1306,1307,1311,1331],{"__ignoreMap":435},[457,1308,1309],{"class":459,"line":460},[457,1310,538],{"class":505},[457,1312,1313,1316,1319,1321,1323,1325,1328],{"class":459,"line":467},[457,1314,1315],{"class":505},"  \"",[457,1317,1318],{"class":494},"error",[457,1320,566],{"class":505},[457,1322,556],{"class":505},[457,1324,559],{"class":505},[457,1326,1327],{"class":562},"STAKING_INSUFFICIENT_BALANCE",[457,1329,1330],{"class":505},"\"\n",[457,1332,1333],{"class":459,"line":473},[457,1334,626],{"class":505},[445,1336,1338],{"id":1337},"common-error-codes","Common error codes",[1340,1341,1342,1355],"table",{},[1343,1344,1345],"thead",{},[1346,1347,1348,1352],"tr",{},[1349,1350,1351],"th",{},"Code",[1349,1353,1354],{},"Description",[1356,1357,1358,1368,1378,1388],"tbody",{},[1346,1359,1360,1365],{},[1361,1362,1363],"td",{},[400,1364,1327],{},[1361,1366,1367],{},"Not enough LONG tokens to complete the transaction.",[1346,1369,1370,1375],{},[1361,1371,1372],{},[400,1373,1374],{},"APPROVE_REQUIRED",[1361,1376,1377],{},"Token approval is missing or insufficient.",[1346,1379,1380,1385],{},[1361,1381,1382],{},[400,1383,1384],{},"EMERGENCY_ONLY",[1361,1386,1387],{},"Operation allowed only in emergency mode.",[1346,1389,1390,1395],{},[1361,1391,1392],{},[400,1393,1394],{},"INVALID_AMOUNT",[1361,1396,1397],{},"Provided amount is invalid (zero or exceeds limits).",[390,1399],{},[1401,1402,1403],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":435,"searchDepth":467,"depth":467,"links":1405},[1406,1407,1408,1409,1417],{"id":373,"depth":467,"text":19},{"id":394,"depth":467,"text":395},{"id":423,"depth":467,"text":424},{"id":442,"depth":467,"text":443,"children":1410},[1411,1412,1413,1414,1415,1416],{"id":447,"depth":473,"text":448},{"id":631,"depth":473,"text":632},{"id":761,"depth":473,"text":762},{"id":896,"depth":473,"text":897},{"id":1029,"depth":473,"text":1030},{"id":1162,"depth":473,"text":1163},{"id":1295,"depth":467,"text":1296,"children":1418},[1419],{"id":1337,"depth":473,"text":1338},"End-to-end staking operations on EVM chains for LONG tokens, executed directly from the user's wallet.","md",null,{},{"title":295,"icon":290},{"title":356,"description":1420},"McGUAfxiTQCSy34syjzHZEuUe6E6OLMkBCC_4-KiZEQ",[1428,1430],{"title":43,"path":292,"stem":293,"description":1429,"icon":85,"children":-1},"End-to-end sponsorship ledger, eligibility checks, and usage recording for sponsored EVM flows in Belong API.",{"title":299,"path":300,"stem":301,"description":1431,"icon":302,"children":-1},"End-to-end NFT minting on Starknet using MCP tools.",1795861629220]