Options for reclaiming tokens accidentally sent directly to the contract address via OnboardingBridgeSDK.reclaimTokens.
Admin only. Intended as an emergency recovery mechanism — reclaims the contract's raw token balance minus any accrued fees for that asset.
await sdk.reclaimTokens( { asset: 'CD...', amount: '1000000', to: 'G...safeAddress' }, adminKeypair,); Copy
await sdk.reclaimTokens( { asset: 'CD...', amount: '1000000', to: 'G...safeAddress' }, adminKeypair,);
Amount to reclaim, in the token's smallest unit.
Token contract address to reclaim from.
Destination G-address that will receive the reclaimed tokens.
Options for reclaiming tokens accidentally sent directly to the contract address via OnboardingBridgeSDK.reclaimTokens.
Admin only. Intended as an emergency recovery mechanism — reclaims the contract's raw token balance minus any accrued fees for that asset.
Example