@compass-labs/api-sdk 2.2.59-rc.0 → 2.2.60-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/codeSamples_typescript.yaml +21 -21
  2. package/dist/commonjs/lib/config.d.ts +2 -2
  3. package/dist/commonjs/lib/config.js +2 -2
  4. package/dist/esm/lib/config.d.ts +2 -2
  5. package/dist/esm/lib/config.js +2 -2
  6. package/docs/models/components/approvetransferrequest.md +2 -2
  7. package/docs/models/components/createaccountrequest.md +4 -4
  8. package/docs/models/components/depositforburnrequest.md +2 -2
  9. package/docs/models/components/earnmanagerequest.md +2 -2
  10. package/docs/models/components/earnswaprequest.md +2 -2
  11. package/docs/models/components/earntransferrequest.md +2 -2
  12. package/docs/models/components/globalmarketsperpsapprovebuilderfeerequest.md +2 -2
  13. package/docs/models/components/globalmarketsperpscancelorderrequest.md +2 -2
  14. package/docs/models/components/globalmarketsperpsdepositrequest.md +2 -2
  15. package/docs/models/components/globalmarketsperpsdepositsponsorpreparerequest.md +2 -2
  16. package/docs/models/components/globalmarketsperpslimitorderrequest.md +2 -2
  17. package/docs/models/components/globalmarketsperpsmarketorderrequest.md +2 -2
  18. package/docs/models/components/globalmarketsperpswithdrawrequest.md +2 -2
  19. package/docs/models/components/v2bundlerequest.md +2 -2
  20. package/docs/models/operations/v2creditbalancesrequest.md +2 -2
  21. package/docs/models/operations/v2creditpositionsrequest.md +2 -2
  22. package/docs/models/operations/v2earnbalancesrequest.md +2 -2
  23. package/docs/models/operations/v2earnpositionsallrequest.md +2 -2
  24. package/docs/models/operations/v2earnpositionsrequest.md +2 -2
  25. package/docs/models/operations/v2globalmarketsperpsactivityrequest.md +2 -2
  26. package/docs/models/operations/v2globalmarketsperpspositionsrequest.md +2 -2
  27. package/docs/sdks/bridge/README.md +2 -2
  28. package/docs/sdks/credit/README.md +4 -4
  29. package/docs/sdks/earn/README.md +18 -18
  30. package/docs/sdks/gassponsorship/README.md +2 -2
  31. package/docs/sdks/globalmarketsperps/README.md +18 -18
  32. package/examples/node_modules/tsx/dist/cli.cjs +1 -1
  33. package/examples/node_modules/tsx/dist/cli.mjs +1 -1
  34. package/examples/node_modules/tsx/dist/esm/api/index.cjs +1 -1
  35. package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -1
  36. package/examples/node_modules/tsx/dist/esm/index.cjs +1 -1
  37. package/examples/node_modules/tsx/dist/esm/index.mjs +1 -1
  38. package/examples/node_modules/tsx/dist/loader.cjs +1 -1
  39. package/examples/node_modules/tsx/dist/loader.mjs +1 -1
  40. package/examples/node_modules/tsx/dist/package-Bj47PlGH.mjs +1 -0
  41. package/examples/node_modules/tsx/dist/package-DMqO70yR.cjs +1 -0
  42. package/examples/node_modules/tsx/dist/register-CKju0f8h.cjs +2 -0
  43. package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +2 -0
  44. package/examples/node_modules/tsx/dist/repl.cjs +1 -1
  45. package/examples/node_modules/tsx/dist/repl.mjs +1 -1
  46. package/examples/node_modules/tsx/package.json +1 -1
  47. package/examples/package-lock.json +3 -3
  48. package/openapi_prepped_for_speakeasy.json +37 -37
  49. package/package.json +1 -1
  50. package/src/lib/config.ts +2 -2
  51. package/examples/node_modules/tsx/dist/package-CGdS2_oX.cjs +0 -1
  52. package/examples/node_modules/tsx/dist/package-DyJMwVU5.mjs +0 -1
  53. package/examples/node_modules/tsx/dist/register-CHVGxKtC.cjs +0 -2
  54. package/examples/node_modules/tsx/dist/register-D_B8UL5H.mjs +0 -2
@@ -488,7 +488,7 @@ actions:
488
488
  "x-codeSamples":
489
489
  - "lang": "typescript"
490
490
  "label": "Typescript (SDK)"
491
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.bridge.cctpBurn({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"arbitrum\",\n amount: \"3\",\n destinationChain: \"base\",\n gasSponsorship: true,\n transferMode: \"standard\",\n });\n\n console.log(result);\n}\n\nrun();"
491
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.bridge.cctpBurn({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"arbitrum\",\n amount: \"3\",\n destinationChain: \"base\",\n gasSponsorship: true,\n transferMode: \"standard\",\n });\n\n console.log(result);\n}\n\nrun();"
492
492
  - target: $["paths"]["/v2/cctp/mint"]["post"]
493
493
  update:
494
494
  "x-codeSamples":
@@ -500,7 +500,7 @@ actions:
500
500
  "x-codeSamples":
501
501
  - "lang": "typescript"
502
502
  "label": "Typescript (SDK)"
503
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditBalances({\n chain: \"base\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
503
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditBalances({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
504
504
  - target: $["paths"]["/v2/credit/borrow"]["post"]
505
505
  update:
506
506
  "x-codeSamples":
@@ -524,7 +524,7 @@ actions:
524
524
  "x-codeSamples":
525
525
  - "lang": "typescript"
526
526
  "label": "Typescript (SDK)"
527
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditPositions({\n chain: \"base\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
527
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.credit.creditPositions({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
528
528
  - target: $["paths"]["/v2/credit/repay"]["post"]
529
529
  update:
530
530
  "x-codeSamples":
@@ -548,25 +548,25 @@ actions:
548
548
  "x-codeSamples":
549
549
  - "lang": "typescript"
550
550
  "label": "Typescript (SDK)"
551
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnBalances({\n chain: \"base\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
551
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnBalances({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
552
552
  - target: $["paths"]["/v2/earn/bundle"]["post"]
553
553
  update:
554
554
  "x-codeSamples":
555
555
  - "lang": "typescript"
556
556
  "label": "Typescript (SDK)"
557
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnBundle({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"ethereum\",\n actions: [\n {\n body: {\n actionType: \"V2_TRANSFER_FROM_EOA\",\n token: \"USDC\",\n amount: \"100\",\n permit2Signature: \"0x...\",\n permit2Nonce: 1706000000,\n permit2Deadline: 1706001800,\n },\n },\n {\n body: {\n actionType: \"V2_SWAP\",\n tokenIn: \"USDC\",\n tokenOut: \"AUSD\",\n amountIn: \"100\",\n slippage: \"0.5\",\n },\n },\n {\n body: {\n actionType: \"V2_MANAGE\",\n venue: {\n type: \"VAULT\",\n vaultAddress: \"0x1B4cd53a1A8e5F50aB6320EF34E5fB4D3df7B6f6\",\n },\n action: \"DEPOSIT\",\n amount: \"100\",\n },\n },\n ],\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
557
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnBundle({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"ethereum\",\n actions: [\n {\n body: {\n actionType: \"V2_TRANSFER_FROM_EOA\",\n token: \"USDC\",\n amount: \"100\",\n permit2Signature: \"0x...\",\n permit2Nonce: 1706000000,\n permit2Deadline: 1706001800,\n },\n },\n {\n body: {\n actionType: \"V2_SWAP\",\n tokenIn: \"USDC\",\n tokenOut: \"AUSD\",\n amountIn: \"100\",\n slippage: \"0.5\",\n },\n },\n {\n body: {\n actionType: \"V2_MANAGE\",\n venue: {\n type: \"VAULT\",\n vaultAddress: \"0x1B4cd53a1A8e5F50aB6320EF34E5fB4D3df7B6f6\",\n },\n action: \"DEPOSIT\",\n amount: \"100\",\n },\n },\n ],\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
558
558
  - target: $["paths"]["/v2/earn/create_account"]["post"]
559
559
  update:
560
560
  "x-codeSamples":
561
561
  - "lang": "typescript"
562
562
  "label": "Typescript (SDK)"
563
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnCreateAccount({\n chain: \"base\",\n sender: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
563
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnCreateAccount({\n chain: \"base\",\n sender: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
564
564
  - target: $["paths"]["/v2/earn/manage"]["post"]
565
565
  update:
566
566
  "x-codeSamples":
567
567
  - "lang": "typescript"
568
568
  "label": "Typescript (SDK)"
569
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnManage({\n venue: {\n type: \"VAULT\",\n vaultAddress: \"0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A\",\n },\n action: \"DEPOSIT\",\n amount: \"0.01\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"base\",\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
569
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnManage({\n venue: {\n type: \"VAULT\",\n vaultAddress: \"0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A\",\n },\n action: \"DEPOSIT\",\n amount: \"0.01\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"base\",\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
570
570
  - target: $["paths"]["/v2/earn/pendle_markets"]["get"]
571
571
  update:
572
572
  "x-codeSamples":
@@ -578,25 +578,25 @@ actions:
578
578
  "x-codeSamples":
579
579
  - "lang": "typescript"
580
580
  "label": "Typescript (SDK)"
581
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnPositions({\n chain: \"base\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
581
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnPositions({\n chain: \"base\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
582
582
  - target: $["paths"]["/v2/earn/positions_all"]["get"]
583
583
  update:
584
584
  "x-codeSamples":
585
585
  - "lang": "typescript"
586
586
  "label": "Typescript (SDK)"
587
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnPositionsAll({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
587
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnPositionsAll({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
588
588
  - target: $["paths"]["/v2/earn/swap"]["post"]
589
589
  update:
590
590
  "x-codeSamples":
591
591
  - "lang": "typescript"
592
592
  "label": "Typescript (SDK)"
593
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnSwap({\n tokenIn: \"USDC\",\n tokenOut: \"USDT\",\n amountIn: \"0.01\",\n slippage: \"0.5\",\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"base\",\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
593
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnSwap({\n tokenIn: \"USDC\",\n tokenOut: \"USDT\",\n amountIn: \"0.01\",\n slippage: \"0.5\",\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"base\",\n gasSponsorship: false,\n });\n\n console.log(result);\n}\n\nrun();"
594
594
  - target: $["paths"]["/v2/earn/transfer"]["post"]
595
595
  update:
596
596
  "x-codeSamples":
597
597
  - "lang": "typescript"
598
598
  "label": "Typescript (SDK)"
599
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnTransfer({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"base\",\n token: \"USDC\",\n amount: \"0.01\",\n action: \"DEPOSIT\",\n });\n\n console.log(result);\n}\n\nrun();"
599
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.earn.earnTransfer({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"base\",\n token: \"USDC\",\n amount: \"0.01\",\n action: \"DEPOSIT\",\n });\n\n console.log(result);\n}\n\nrun();"
600
600
  - target: $["paths"]["/v2/earn/vaults"]["get"]
601
601
  update:
602
602
  "x-codeSamples":
@@ -608,7 +608,7 @@ actions:
608
608
  "x-codeSamples":
609
609
  - "lang": "typescript"
610
610
  "label": "Typescript (SDK)"
611
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.gasSponsorship.gasSponsorshipApproveTransfer({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n chain: \"base\",\n token: \"USDT\",\n });\n\n console.log(result);\n}\n\nrun();"
611
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.gasSponsorship.gasSponsorshipApproveTransfer({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n chain: \"base\",\n token: \"USDT\",\n });\n\n console.log(result);\n}\n\nrun();"
612
612
  - target: $["paths"]["/v2/gas_sponsorship/prepare"]["post"]
613
613
  update:
614
614
  "x-codeSamples":
@@ -620,19 +620,19 @@ actions:
620
620
  "x-codeSamples":
621
621
  - "lang": "typescript"
622
622
  "label": "Typescript (SDK)"
623
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsActivity({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
623
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsActivity({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
624
624
  - target: $["paths"]["/v2/global_markets_perps/approve_builder_fee"]["post"]
625
625
  update:
626
626
  "x-codeSamples":
627
627
  - "lang": "typescript"
628
628
  "label": "Typescript (SDK)"
629
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsApproveBuilderFee({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n builder: {\n address: \"0x88806A71D74AD0a510B350545C9AE490912F0888\",\n maxFeeRate: \"0.01%\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
629
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsApproveBuilderFee({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n builder: {\n address: \"0x88806A71D74AD0a510B350545C9AE490912F0888\",\n maxFeeRate: \"0.01%\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
630
630
  - target: $["paths"]["/v2/global_markets_perps/cancel_order"]["post"]
631
631
  update:
632
632
  "x-codeSamples":
633
633
  - "lang": "typescript"
634
634
  "label": "Typescript (SDK)"
635
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsCancelOrder({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n asset: \"AAPL\",\n orderId: 12345,\n });\n\n console.log(result);\n}\n\nrun();"
635
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsCancelOrder({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n asset: \"AAPL\",\n orderId: 12345,\n });\n\n console.log(result);\n}\n\nrun();"
636
636
  - target: $["paths"]["/v2/global_markets_perps/candles"]["get"]
637
637
  update:
638
638
  "x-codeSamples":
@@ -644,13 +644,13 @@ actions:
644
644
  "x-codeSamples":
645
645
  - "lang": "typescript"
646
646
  "label": "Typescript (SDK)"
647
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsDeposit({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n amount: \"100.0\",\n });\n\n console.log(result);\n}\n\nrun();"
647
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsDeposit({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n amount: \"100.0\",\n });\n\n console.log(result);\n}\n\nrun();"
648
648
  - target: $["paths"]["/v2/global_markets_perps/deposit/sponsor_prepare"]["post"]
649
649
  update:
650
650
  "x-codeSamples":
651
651
  - "lang": "typescript"
652
652
  "label": "Typescript (SDK)"
653
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsDepositSponsorPrepare({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n amountRaw: 100000000,\n deadline: 1747097383,\n signature: \"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n sender: \"0x4A83b4413CF41C3244027e1590E35a0F48403F0c\",\n });\n\n console.log(result);\n}\n\nrun();"
653
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsDepositSponsorPrepare({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n amountRaw: 100000000,\n deadline: 1747097383,\n signature: \"0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\",\n sender: \"0x4A83b4413CF41C3244027e1590E35a0F48403F0c\",\n });\n\n console.log(result);\n}\n\nrun();"
654
654
  - target: $["paths"]["/v2/global_markets_perps/enable_unified_account"]["post"]
655
655
  update:
656
656
  "x-codeSamples":
@@ -674,13 +674,13 @@ actions:
674
674
  "x-codeSamples":
675
675
  - "lang": "typescript"
676
676
  "label": "Typescript (SDK)"
677
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsLimitOrder({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n asset: \"AAPL\",\n side: \"buy\",\n size: \"10.0\",\n price: \"190.00\",\n timeInForce: \"gtc\",\n reduceOnly: false,\n });\n\n console.log(result);\n}\n\nrun();"
677
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsLimitOrder({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n asset: \"AAPL\",\n side: \"buy\",\n size: \"10.0\",\n price: \"190.00\",\n timeInForce: \"gtc\",\n reduceOnly: false,\n });\n\n console.log(result);\n}\n\nrun();"
678
678
  - target: $["paths"]["/v2/global_markets_perps/market_order"]["post"]
679
679
  update:
680
680
  "x-codeSamples":
681
681
  - "lang": "typescript"
682
682
  "label": "Typescript (SDK)"
683
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsMarketOrder({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n asset: \"AAPL\",\n side: \"buy\",\n size: \"10.0\",\n slippagePercent: 1,\n reduceOnly: false,\n });\n\n console.log(result);\n}\n\nrun();"
683
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsMarketOrder({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n asset: \"AAPL\",\n side: \"buy\",\n size: \"10.0\",\n slippagePercent: 1,\n reduceOnly: false,\n });\n\n console.log(result);\n}\n\nrun();"
684
684
  - target: $["paths"]["/v2/global_markets_perps/opportunities"]["get"]
685
685
  update:
686
686
  "x-codeSamples":
@@ -692,13 +692,13 @@ actions:
692
692
  "x-codeSamples":
693
693
  - "lang": "typescript"
694
694
  "label": "Typescript (SDK)"
695
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsPositions({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n });\n\n console.log(result);\n}\n\nrun();"
695
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsPositions({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n });\n\n console.log(result);\n}\n\nrun();"
696
696
  - target: $["paths"]["/v2/global_markets_perps/withdraw"]["post"]
697
697
  update:
698
698
  "x-codeSamples":
699
699
  - "lang": "typescript"
700
700
  "label": "Typescript (SDK)"
701
- "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsWithdraw({\n owner: \"0x01E62835dd7F52173546A325294762143eE4a882\",\n amount: \"100.0\",\n });\n\n console.log(result);\n}\n\nrun();"
701
+ "source": "import { CompassApiSDK } from \"@compass-labs/api-sdk\";\n\nconst compassApiSDK = new CompassApiSDK({\n apiKeyAuth: \"<YOUR_API_KEY_HERE>\",\n});\n\nasync function run() {\n const result = await compassApiSDK.globalMarketsPerps.globalMarketsPerpsWithdraw({\n owner: \"0x06A9aF046187895AcFc7258450B15397CAc67400\",\n amount: \"100.0\",\n });\n\n console.log(result);\n}\n\nrun();"
702
702
  - target: $["paths"]["/v2/tokenized_equities/create_account"]["post"]
703
703
  update:
704
704
  "x-codeSamples":
@@ -32,7 +32,7 @@ export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "0.0.1";
34
34
  readonly sdkVersion: "2.0.0";
35
- readonly genVersion: "2.889.1";
36
- readonly userAgent: "speakeasy-sdk/typescript 2.0.0 2.889.1 0.0.1 @compass-labs/api-sdk";
35
+ readonly genVersion: "2.893.0";
36
+ readonly userAgent: "speakeasy-sdk/typescript 2.0.0 2.893.0 0.0.1 @compass-labs/api-sdk";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -32,7 +32,7 @@ exports.SDK_METADATA = {
32
32
  language: "typescript",
33
33
  openapiDocVersion: "0.0.1",
34
34
  sdkVersion: "2.0.0",
35
- genVersion: "2.889.1",
36
- userAgent: "speakeasy-sdk/typescript 2.0.0 2.889.1 0.0.1 @compass-labs/api-sdk",
35
+ genVersion: "2.893.0",
36
+ userAgent: "speakeasy-sdk/typescript 2.0.0 2.893.0 0.0.1 @compass-labs/api-sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -32,7 +32,7 @@ export declare const SDK_METADATA: {
32
32
  readonly language: "typescript";
33
33
  readonly openapiDocVersion: "0.0.1";
34
34
  readonly sdkVersion: "2.0.0";
35
- readonly genVersion: "2.889.1";
36
- readonly userAgent: "speakeasy-sdk/typescript 2.0.0 2.889.1 0.0.1 @compass-labs/api-sdk";
35
+ readonly genVersion: "2.893.0";
36
+ readonly userAgent: "speakeasy-sdk/typescript 2.0.0 2.893.0 0.0.1 @compass-labs/api-sdk";
37
37
  };
38
38
  //# sourceMappingURL=config.d.ts.map
@@ -28,7 +28,7 @@ export const SDK_METADATA = {
28
28
  language: "typescript",
29
29
  openapiDocVersion: "0.0.1",
30
30
  sdkVersion: "2.0.0",
31
- genVersion: "2.889.1",
32
- userAgent: "speakeasy-sdk/typescript 2.0.0 2.889.1 0.0.1 @compass-labs/api-sdk",
31
+ genVersion: "2.893.0",
32
+ userAgent: "speakeasy-sdk/typescript 2.0.0 2.893.0 0.0.1 @compass-labs/api-sdk",
33
33
  };
34
34
  //# sourceMappingURL=config.js.map
@@ -6,7 +6,7 @@
6
6
  import { ApproveTransferRequest } from "@compass-labs/api-sdk/models/components";
7
7
 
8
8
  let value: ApproveTransferRequest = {
9
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
9
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
10
10
  chain: "base",
11
11
  token: "USDT",
12
12
  };
@@ -16,7 +16,7 @@ let value: ApproveTransferRequest = {
16
16
 
17
17
  | Field | Type | Required | Description | Example |
18
18
  | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
19
- | `owner` | *string* | :heavy_check_mark: | The wallet address that owns the Earn Account. | 0x01E62835dd7F52173546A325294762143eE4a882 |
19
+ | `owner` | *string* | :heavy_check_mark: | The wallet address that owns the Earn Account. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
20
20
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
21
21
  | `token` | *string* | :heavy_check_mark: | The token you would like to transfer with gas sponsorship. | USDT |
22
22
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If set to `true`, EIP-712 signature data will be returned that must be signed by the `owner` and submitted to the `/gas_sponsorship/prepare` endpoint. | false |
@@ -9,8 +9,8 @@ import { CreateAccountRequest } from "@compass-labs/api-sdk/models/components";
9
9
 
10
10
  let value: CreateAccountRequest = {
11
11
  chain: "base",
12
- sender: "0x01E62835dd7F52173546A325294762143eE4a882",
13
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
12
+ sender: "0x06A9aF046187895AcFc7258450B15397CAc67400",
13
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
14
14
  };
15
15
  ```
16
16
 
@@ -19,6 +19,6 @@ let value: CreateAccountRequest = {
19
19
  | Field | Type | Required | Description | Example |
20
20
  | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
21
21
  | `chain` | [components.CreateAccountRequestChain](../../models/components/createaccountrequestchain.md) | :heavy_check_mark: | N/A | base |
22
- | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x01E62835dd7F52173546A325294762143eE4a882 |
22
+ | `sender` | *string* | :heavy_check_mark: | The address of the transaction sender. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
23
23
  | `estimateGas` | *boolean* | :heavy_minus_sign: | Determines whether to estimate gas costs for transactions, also verifying that the transaction can be successfully executed. | true |
24
- | `owner` | *string* | :heavy_check_mark: | The address that will own and control the compass account | 0x01E62835dd7F52173546A325294762143eE4a882 |
24
+ | `owner` | *string* | :heavy_check_mark: | The address that will own and control the compass account | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
@@ -6,7 +6,7 @@
6
6
  import { DepositForBurnRequest } from "@compass-labs/api-sdk/models/components";
7
7
 
8
8
  let value: DepositForBurnRequest = {
9
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
9
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
10
10
  chain: "arbitrum",
11
11
  amount: "3",
12
12
  destinationChain: "base",
@@ -19,7 +19,7 @@ let value: DepositForBurnRequest = {
19
19
 
20
20
  | Field | Type | Required | Description | Example |
21
21
  | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
22
- | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Product Account. | 0x01E62835dd7F52173546A325294762143eE4a882 |
22
+ | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Product Account. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
23
23
  | `chain` | [components.DepositForBurnRequestChain](../../models/components/depositforburnrequestchain.md) | :heavy_check_mark: | The source chain where USDC will be burned. | arbitrum |
24
24
  | `amount` | *components.DepositForBurnRequestAmount* | :heavy_check_mark: | The amount of USDC to bridge (in token units, e.g., 100.5 for 100.5 USDC). | 3 |
25
25
  | `destinationChain` | [components.DestinationChain](../../models/components/destinationchain.md) | :heavy_check_mark: | The destination chain where USDC will be minted. | base |
@@ -16,7 +16,7 @@ let value: EarnManageRequest = {
16
16
  },
17
17
  action: "DEPOSIT",
18
18
  amount: "0.01",
19
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
19
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
20
20
  chain: "base",
21
21
  gasSponsorship: false,
22
22
  };
@@ -31,6 +31,6 @@ let value: EarnManageRequest = {
31
31
  | `action` | [components.EarnManageRequestAction](../../models/components/earnmanagerequestaction.md) | :heavy_check_mark: | Whether you are depositing into or withdrawing from the given Earn `venue`. | DEPOSIT |
32
32
  | `amount` | *components.EarnManageRequestAmount* | :heavy_check_mark: | Amount of the underlying asset to act on (deposit or withdraw). For VAULT, this is the vault's underlying token; for AAVE, this is the Aave reserve asset; for PENDLE_PT, this is the amount of `token` to spend (DEPOSIT) or PT to sell (WITHDRAW). Provide as a decimal in token units (not wei); must be > 0. | 0.01 |
33
33
  | `fee` | [components.Fee](../../models/components/fee.md) | :heavy_minus_sign: | Optional fee configuration. If provided, a fee will be applied to the transaction amount and sent to the specified recipient address. The fee can be specified as a percentage of the transaction amount, as a fixed token amount, or as a percentage of realized profit (PERFORMANCE). | |
34
- | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Earn Account. | 0x01E62835dd7F52173546A325294762143eE4a882 |
34
+ | `owner` | *string* | :heavy_check_mark: | The primary wallet address that owns and controls the Earn Account. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
35
35
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
36
36
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If set to `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`). | false |
@@ -14,7 +14,7 @@ let value: EarnSwapRequest = {
14
14
  tokenOut: "USDT",
15
15
  amountIn: "0.01",
16
16
  slippage: "0.5",
17
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
17
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
18
18
  chain: "base",
19
19
  gasSponsorship: false,
20
20
  };
@@ -29,6 +29,6 @@ let value: EarnSwapRequest = {
29
29
  | `tokenOut` | *string* | :heavy_check_mark: | Token to buy (output). Provide a token symbol from a limited set (e.g., 'USDT') or any token address. | USDT |
30
30
  | `amountIn` | *components.EarnSwapRequestAmountIn* | :heavy_check_mark: | Human-readable amount of `token_in` to swap (token units, not wei). | 0.01 |
31
31
  | `slippage` | *components.EarnSwapRequestSlippage* | :heavy_minus_sign: | Maximum slippage tolerance as a percentage (e.g., 0.5 = 0.5%). | 0.5 |
32
- | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x01E62835dd7F52173546A325294762143eE4a882 |
32
+ | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
33
33
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
34
34
  | `gasSponsorship` | *boolean* | :heavy_minus_sign: | Optionally request gas sponsorship. If `true`, EIP-712 typed data will be returned that must be signed by the `owner` and submitted to the 'Prepare gas-sponsored transaction' endpoint (`/gas_sponsorship/prepare`). | false |
@@ -6,7 +6,7 @@
6
6
  import { EarnTransferRequest } from "@compass-labs/api-sdk/models/components";
7
7
 
8
8
  let value: EarnTransferRequest = {
9
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
9
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
10
10
  chain: "base",
11
11
  token: "USDC",
12
12
  amount: "0.01",
@@ -18,7 +18,7 @@ let value: EarnTransferRequest = {
18
18
 
19
19
  | Field | Type | Required | Description | Example |
20
20
  | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
21
- | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x01E62835dd7F52173546A325294762143eE4a882 |
21
+ | `owner` | *string* | :heavy_check_mark: | The owner's wallet address. | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
22
22
  | `chain` | [components.Chain](../../models/components/chain.md) | :heavy_check_mark: | The chain to use. | |
23
23
  | `token` | *string* | :heavy_check_mark: | The token you would like to transfer. | USDC |
24
24
  | `amount` | *components.EarnTransferRequestAmount* | :heavy_check_mark: | The amount of 'token' to transfer. | 0.01 |
@@ -8,7 +8,7 @@ Request to approve builder fees before trading on the global markets perps DEX.
8
8
  import { GlobalMarketsPerpsApproveBuilderFeeRequest } from "@compass-labs/api-sdk/models/components";
9
9
 
10
10
  let value: GlobalMarketsPerpsApproveBuilderFeeRequest = {
11
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
11
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
12
12
  builder: {
13
13
  address: "0x88806A71D74AD0a510B350545C9AE490912F0888",
14
14
  maxFeeRate: "0.01%",
@@ -20,5 +20,5 @@ let value: GlobalMarketsPerpsApproveBuilderFeeRequest = {
20
20
 
21
21
  | Field | Type | Required | Description | Example |
22
22
  | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
23
- | `owner` | *string* | :heavy_check_mark: | User's EOA address | 0x01E62835dd7F52173546A325294762143eE4a882 |
23
+ | `owner` | *string* | :heavy_check_mark: | User's EOA address | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
24
24
  | `builder` | [components.Builder](../../models/components/builder.md) | :heavy_check_mark: | Builder address + max fee rate the end-user authorizes. | |
@@ -8,7 +8,7 @@ Request to cancel an open order on a global markets perps market.
8
8
  import { GlobalMarketsPerpsCancelOrderRequest } from "@compass-labs/api-sdk/models/components";
9
9
 
10
10
  let value: GlobalMarketsPerpsCancelOrderRequest = {
11
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
11
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
12
12
  asset: "AAPL",
13
13
  orderId: 12345,
14
14
  };
@@ -18,7 +18,7 @@ let value: GlobalMarketsPerpsCancelOrderRequest = {
18
18
 
19
19
  | Field | Type | Required | Description | Example |
20
20
  | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
21
- | `owner` | *string* | :heavy_check_mark: | Owner of the global markets perps product account | 0x01E62835dd7F52173546A325294762143eE4a882 |
21
+ | `owner` | *string* | :heavy_check_mark: | Owner of the global markets perps product account | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
22
22
  | `asset` | *string* | :heavy_check_mark: | Asset ticker symbol (e.g. AAPL, GOLD, EUR) | AAPL |
23
23
  | `orderId` | *number* | :heavy_minus_sign: | Hyperliquid order ID to cancel | 12345 |
24
24
  | `clientOrderId` | *number* | :heavy_minus_sign: | Client order ID to cancel (alternative to order_id) | |
@@ -8,7 +8,7 @@ Request to deposit USDC from Arbitrum into the user's global markets perps accou
8
8
  import { GlobalMarketsPerpsDepositRequest } from "@compass-labs/api-sdk/models/components";
9
9
 
10
10
  let value: GlobalMarketsPerpsDepositRequest = {
11
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
11
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
12
12
  amount: "100.0",
13
13
  };
14
14
  ```
@@ -17,5 +17,5 @@ let value: GlobalMarketsPerpsDepositRequest = {
17
17
 
18
18
  | Field | Type | Required | Description | Example |
19
19
  | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ |
20
- | `owner` | *string* | :heavy_check_mark: | The user's EOA address on Arbitrum | 0x01E62835dd7F52173546A325294762143eE4a882 |
20
+ | `owner` | *string* | :heavy_check_mark: | The user's EOA address on Arbitrum | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
21
21
  | `amount` | *string* | :heavy_check_mark: | USDC amount to deposit (human-readable, e.g. '1000.0') | 100.0 |
@@ -12,7 +12,7 @@ Compass does not hold gas keys (non-custodial).
12
12
  import { GlobalMarketsPerpsDepositSponsorPrepareRequest } from "@compass-labs/api-sdk/models/components";
13
13
 
14
14
  let value: GlobalMarketsPerpsDepositSponsorPrepareRequest = {
15
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
15
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
16
16
  amountRaw: 100000000,
17
17
  deadline: 1747097383,
18
18
  signature:
@@ -25,7 +25,7 @@ let value: GlobalMarketsPerpsDepositSponsorPrepareRequest = {
25
25
 
26
26
  | Field | Type | Required | Description | Example |
27
27
  | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
28
- | `owner` | *string* | :heavy_check_mark: | The user's EOA address on Arbitrum (the permit signer). | 0x01E62835dd7F52173546A325294762143eE4a882 |
28
+ | `owner` | *string* | :heavy_check_mark: | The user's EOA address on Arbitrum (the permit signer). | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
29
29
  | `amountRaw` | *number* | :heavy_check_mark: | USDC amount in raw 6-decimal units, as returned by /deposit. | 100000000 |
30
30
  | `deadline` | *number* | :heavy_check_mark: | Permit deadline (unix seconds), as returned in the permit.message from /deposit. | 1747097383 |
31
31
  | `signature` | *string* | :heavy_check_mark: | The user's EIP-2612 permit signature (65-byte hex, 0x-prefixed or raw). | 0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
@@ -8,7 +8,7 @@ Request to place a limit order on a global markets perps market.
8
8
  import { GlobalMarketsPerpsLimitOrderRequest } from "@compass-labs/api-sdk/models/components";
9
9
 
10
10
  let value: GlobalMarketsPerpsLimitOrderRequest = {
11
- owner: "0x01E62835dd7F52173546A325294762143eE4a882",
11
+ owner: "0x06A9aF046187895AcFc7258450B15397CAc67400",
12
12
  asset: "AAPL",
13
13
  side: "buy",
14
14
  size: "10.0",
@@ -22,7 +22,7 @@ let value: GlobalMarketsPerpsLimitOrderRequest = {
22
22
 
23
23
  | Field | Type | Required | Description | Example |
24
24
  | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
25
- | `owner` | *string* | :heavy_check_mark: | Owner of the global markets perps product account | 0x01E62835dd7F52173546A325294762143eE4a882 |
25
+ | `owner` | *string* | :heavy_check_mark: | Owner of the global markets perps product account | 0x06A9aF046187895AcFc7258450B15397CAc67400 |
26
26
  | `asset` | *string* | :heavy_check_mark: | Asset ticker symbol (e.g. AAPL, GOLD, EUR) | AAPL |
27
27
  | `side` | *string* | :heavy_check_mark: | Order side: 'buy' or 'sell' | buy |
28
28
  | `size` | *string* | :heavy_check_mark: | Number of contracts (human-readable) | 10.0 |