@distilled.cloud/coinbase 0.26.1 → 0.28.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.
- package/lib/operations/addEndUserEvmAccount.d.ts +13 -20
- package/lib/operations/addEndUserEvmAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserEvmAccount.js +1 -3
- package/lib/operations/addEndUserEvmAccount.js.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.d.ts +15 -24
- package/lib/operations/addEndUserEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserEvmSmartAccount.js +1 -3
- package/lib/operations/addEndUserEvmSmartAccount.js.map +1 -1
- package/lib/operations/addEndUserSolanaAccount.d.ts +14 -21
- package/lib/operations/addEndUserSolanaAccount.d.ts.map +1 -1
- package/lib/operations/addEndUserSolanaAccount.js +2 -4
- package/lib/operations/addEndUserSolanaAccount.js.map +1 -1
- package/lib/operations/createDelegationForEndUserAccount.d.ts +34 -0
- package/lib/operations/createDelegationForEndUserAccount.d.ts.map +1 -0
- package/lib/operations/createDelegationForEndUserAccount.js +44 -0
- package/lib/operations/createDelegationForEndUserAccount.js.map +1 -0
- package/lib/operations/createDepositDestination.d.ts +34 -0
- package/lib/operations/createDepositDestination.d.ts.map +1 -0
- package/lib/operations/createDepositDestination.js +50 -0
- package/lib/operations/createDepositDestination.js.map +1 -0
- package/lib/operations/createEndUser.d.ts +99 -84
- package/lib/operations/createEndUser.d.ts.map +1 -1
- package/lib/operations/createEndUser.js +71 -5
- package/lib/operations/createEndUser.js.map +1 -1
- package/lib/operations/createEvmAccount.d.ts +15 -24
- package/lib/operations/createEvmAccount.d.ts.map +1 -1
- package/lib/operations/createEvmAccount.js +1 -3
- package/lib/operations/createEvmAccount.js.map +1 -1
- package/lib/operations/createEvmEip7702Delegation.d.ts +11 -17
- package/lib/operations/createEvmEip7702Delegation.d.ts.map +1 -1
- package/lib/operations/createEvmEip7702Delegation.js +0 -2
- package/lib/operations/createEvmEip7702Delegation.js.map +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts +14 -23
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js +0 -2
- package/lib/operations/createEvmEip7702DelegationWithEndUserAccount.js.map +1 -1
- package/lib/operations/createEvmSmartAccount.d.ts +16 -26
- package/lib/operations/createEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/createEvmSmartAccount.js +1 -3
- package/lib/operations/createEvmSmartAccount.js.map +1 -1
- package/lib/operations/createEvmSwapQuote.d.ts +69 -24
- package/lib/operations/createEvmSwapQuote.d.ts.map +1 -1
- package/lib/operations/createEvmSwapQuote.js +59 -4
- package/lib/operations/createEvmSwapQuote.js.map +1 -1
- package/lib/operations/createFoundationAccount.d.ts +26 -0
- package/lib/operations/createFoundationAccount.d.ts.map +1 -0
- package/lib/operations/createFoundationAccount.js +32 -0
- package/lib/operations/createFoundationAccount.js.map +1 -0
- package/lib/operations/createOnrampOrder.d.ts +51 -93
- package/lib/operations/createOnrampOrder.d.ts.map +1 -1
- package/lib/operations/createOnrampOrder.js +2 -2
- package/lib/operations/createOnrampOrder.js.map +1 -1
- package/lib/operations/createOnrampSession.d.ts +36 -67
- package/lib/operations/createOnrampSession.d.ts.map +1 -1
- package/lib/operations/createOnrampSession.js +0 -2
- package/lib/operations/createOnrampSession.js.map +1 -1
- package/lib/operations/createPolicy.d.ts +17 -28
- package/lib/operations/createPolicy.d.ts.map +1 -1
- package/lib/operations/createPolicy.js +1 -3
- package/lib/operations/createPolicy.js.map +1 -1
- package/lib/operations/createSolanaAccount.d.ts +15 -24
- package/lib/operations/createSolanaAccount.d.ts.map +1 -1
- package/lib/operations/createSolanaAccount.js +1 -3
- package/lib/operations/createSolanaAccount.js.map +1 -1
- package/lib/operations/createSpendPermission.d.ts +40 -72
- package/lib/operations/createSpendPermission.d.ts.map +1 -1
- package/lib/operations/createSpendPermission.js +2 -3
- package/lib/operations/createSpendPermission.js.map +1 -1
- package/lib/operations/createTransfer.d.ts +178 -0
- package/lib/operations/createTransfer.d.ts.map +1 -0
- package/lib/operations/createTransfer.js +244 -0
- package/lib/operations/createTransfer.js.map +1 -0
- package/lib/operations/createWebhookSubscription.d.ts +46 -105
- package/lib/operations/createWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/createWebhookSubscription.js +68 -45
- package/lib/operations/createWebhookSubscription.js.map +1 -1
- package/lib/operations/deletePolicy.d.ts +8 -10
- package/lib/operations/deletePolicy.d.ts.map +1 -1
- package/lib/operations/deletePolicy.js +3 -4
- package/lib/operations/deletePolicy.js.map +1 -1
- package/lib/operations/deleteWebhookSubscription.d.ts +7 -9
- package/lib/operations/deleteWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/deleteWebhookSubscription.js +0 -2
- package/lib/operations/deleteWebhookSubscription.js.map +1 -1
- package/lib/operations/executeFundTransfer.d.ts +103 -0
- package/lib/operations/executeFundTransfer.d.ts.map +1 -0
- package/lib/operations/executeFundTransfer.js +152 -0
- package/lib/operations/executeFundTransfer.js.map +1 -0
- package/lib/operations/exportEvmAccount.d.ts +11 -16
- package/lib/operations/exportEvmAccount.d.ts.map +1 -1
- package/lib/operations/exportEvmAccount.js +1 -3
- package/lib/operations/exportEvmAccount.js.map +1 -1
- package/lib/operations/exportEvmAccountByName.d.ts +11 -16
- package/lib/operations/exportEvmAccountByName.d.ts.map +1 -1
- package/lib/operations/exportEvmAccountByName.js +1 -3
- package/lib/operations/exportEvmAccountByName.js.map +1 -1
- package/lib/operations/exportSolanaAccount.d.ts +11 -16
- package/lib/operations/exportSolanaAccount.d.ts.map +1 -1
- package/lib/operations/exportSolanaAccount.js +1 -3
- package/lib/operations/exportSolanaAccount.js.map +1 -1
- package/lib/operations/exportSolanaAccountByName.d.ts +11 -16
- package/lib/operations/exportSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/exportSolanaAccountByName.js +1 -3
- package/lib/operations/exportSolanaAccountByName.js.map +1 -1
- package/lib/operations/getBalanceByAsset.d.ts +29 -0
- package/lib/operations/getBalanceByAsset.d.ts.map +1 -0
- package/lib/operations/getBalanceByAsset.js +34 -0
- package/lib/operations/getBalanceByAsset.js.map +1 -0
- package/lib/operations/getDelegationForEndUser.d.ts +10 -15
- package/lib/operations/getDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/getDelegationForEndUser.js +0 -2
- package/lib/operations/getDelegationForEndUser.js.map +1 -1
- package/lib/operations/getDelegationForEndUserAccount.d.ts +23 -0
- package/lib/operations/getDelegationForEndUserAccount.d.ts.map +1 -0
- package/lib/operations/getDelegationForEndUserAccount.js +33 -0
- package/lib/operations/getDelegationForEndUserAccount.js.map +1 -0
- package/lib/operations/getDepositDestinationById.d.ts +32 -0
- package/lib/operations/getDepositDestinationById.d.ts.map +1 -0
- package/lib/operations/getDepositDestinationById.js +52 -0
- package/lib/operations/getDepositDestinationById.js.map +1 -0
- package/lib/operations/getEndUser.d.ts +64 -68
- package/lib/operations/getEndUser.d.ts.map +1 -1
- package/lib/operations/getEndUser.js +36 -4
- package/lib/operations/getEndUser.js.map +1 -1
- package/lib/operations/getEvmAccount.d.ts +14 -22
- package/lib/operations/getEvmAccount.d.ts.map +1 -1
- package/lib/operations/getEvmAccount.js +1 -3
- package/lib/operations/getEvmAccount.js.map +1 -1
- package/lib/operations/getEvmAccountByName.d.ts +14 -22
- package/lib/operations/getEvmAccountByName.d.ts.map +1 -1
- package/lib/operations/getEvmAccountByName.js +1 -3
- package/lib/operations/getEvmAccountByName.js.map +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts +14 -22
- package/lib/operations/getEvmEip7702DelegationOperationById.d.ts.map +1 -1
- package/lib/operations/getEvmEip7702DelegationOperationById.js +1 -3
- package/lib/operations/getEvmEip7702DelegationOperationById.js.map +1 -1
- package/lib/operations/getEvmSmartAccount.d.ts +15 -24
- package/lib/operations/getEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/getEvmSmartAccount.js +1 -3
- package/lib/operations/getEvmSmartAccount.js.map +1 -1
- package/lib/operations/getEvmSmartAccountByName.d.ts +15 -24
- package/lib/operations/getEvmSmartAccountByName.d.ts.map +1 -1
- package/lib/operations/getEvmSmartAccountByName.js +1 -3
- package/lib/operations/getEvmSmartAccountByName.js.map +1 -1
- package/lib/operations/getEvmSwapPrice.d.ts +49 -24
- package/lib/operations/getEvmSwapPrice.d.ts.map +1 -1
- package/lib/operations/getEvmSwapPrice.js +39 -4
- package/lib/operations/getEvmSwapPrice.js.map +1 -1
- package/lib/operations/getFoundationAccountById.d.ts +23 -0
- package/lib/operations/getFoundationAccountById.d.ts.map +1 -0
- package/lib/operations/getFoundationAccountById.js +29 -0
- package/lib/operations/getFoundationAccountById.js.map +1 -0
- package/lib/operations/getOnrampOrderById.d.ts +30 -55
- package/lib/operations/getOnrampOrderById.d.ts.map +1 -1
- package/lib/operations/getOnrampOrderById.js +0 -2
- package/lib/operations/getOnrampOrderById.js.map +1 -1
- package/lib/operations/getOnrampUserLimits.d.ts +16 -27
- package/lib/operations/getOnrampUserLimits.d.ts.map +1 -1
- package/lib/operations/getOnrampUserLimits.js +0 -2
- package/lib/operations/getOnrampUserLimits.js.map +1 -1
- package/lib/operations/getPaymentMethod.d.ts +53 -0
- package/lib/operations/getPaymentMethod.d.ts.map +1 -0
- package/lib/operations/getPaymentMethod.js +61 -0
- package/lib/operations/getPaymentMethod.js.map +1 -0
- package/lib/operations/getPolicyById.d.ts +15 -24
- package/lib/operations/getPolicyById.d.ts.map +1 -1
- package/lib/operations/getPolicyById.js +1 -3
- package/lib/operations/getPolicyById.js.map +1 -1
- package/lib/operations/getSQLGrammar.d.ts +6 -5
- package/lib/operations/getSQLGrammar.d.ts.map +1 -1
- package/lib/operations/getSQLGrammar.js +2 -3
- package/lib/operations/getSQLGrammar.js.map +1 -1
- package/lib/operations/getSQLSchema.d.ts +21 -36
- package/lib/operations/getSQLSchema.d.ts.map +1 -1
- package/lib/operations/getSQLSchema.js +2 -4
- package/lib/operations/getSQLSchema.js.map +1 -1
- package/lib/operations/getSolanaAccount.d.ts +14 -22
- package/lib/operations/getSolanaAccount.d.ts.map +1 -1
- package/lib/operations/getSolanaAccount.js +1 -3
- package/lib/operations/getSolanaAccount.js.map +1 -1
- package/lib/operations/getSolanaAccountByName.d.ts +14 -22
- package/lib/operations/getSolanaAccountByName.d.ts.map +1 -1
- package/lib/operations/getSolanaAccountByName.js +1 -3
- package/lib/operations/getSolanaAccountByName.js.map +1 -1
- package/lib/operations/getTransferById.d.ts +99 -0
- package/lib/operations/getTransferById.d.ts.map +1 -0
- package/lib/operations/getTransferById.js +146 -0
- package/lib/operations/getTransferById.js.map +1 -0
- package/lib/operations/getUserOperation.d.ts +31 -54
- package/lib/operations/getUserOperation.d.ts.map +1 -1
- package/lib/operations/getUserOperation.js +2 -3
- package/lib/operations/getUserOperation.js.map +1 -1
- package/lib/operations/getWebhookSubscription.d.ts +25 -46
- package/lib/operations/getWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/getWebhookSubscription.js +30 -7
- package/lib/operations/getWebhookSubscription.js.map +1 -1
- package/lib/operations/importEndUser.d.ts +94 -74
- package/lib/operations/importEndUser.d.ts.map +1 -1
- package/lib/operations/importEndUser.js +71 -5
- package/lib/operations/importEndUser.js.map +1 -1
- package/lib/operations/importEvmAccount.d.ts +16 -26
- package/lib/operations/importEvmAccount.d.ts.map +1 -1
- package/lib/operations/importEvmAccount.js +1 -3
- package/lib/operations/importEvmAccount.js.map +1 -1
- package/lib/operations/importSolanaAccount.d.ts +15 -24
- package/lib/operations/importSolanaAccount.d.ts.map +1 -1
- package/lib/operations/importSolanaAccount.js +1 -3
- package/lib/operations/importSolanaAccount.js.map +1 -1
- package/lib/operations/index.d.ts +40 -0
- package/lib/operations/index.d.ts.map +1 -1
- package/lib/operations/index.js +40 -0
- package/lib/operations/index.js.map +1 -1
- package/lib/operations/initiateOnrampVerification.d.ts +24 -0
- package/lib/operations/initiateOnrampVerification.d.ts.map +1 -0
- package/lib/operations/initiateOnrampVerification.js +30 -0
- package/lib/operations/initiateOnrampVerification.js.map +1 -0
- package/lib/operations/listBalances.d.ts +34 -0
- package/lib/operations/listBalances.d.ts.map +1 -0
- package/lib/operations/listBalances.js +38 -0
- package/lib/operations/listBalances.js.map +1 -0
- package/lib/operations/listDataTokenBalances.d.ts +24 -43
- package/lib/operations/listDataTokenBalances.d.ts.map +1 -1
- package/lib/operations/listDataTokenBalances.js +0 -2
- package/lib/operations/listDataTokenBalances.js.map +1 -1
- package/lib/operations/listDepositDestinations.d.ts +45 -0
- package/lib/operations/listDepositDestinations.d.ts.map +1 -0
- package/lib/operations/listDepositDestinations.js +62 -0
- package/lib/operations/listDepositDestinations.js.map +1 -0
- package/lib/operations/listEndUsers.d.ts +68 -77
- package/lib/operations/listEndUsers.d.ts.map +1 -1
- package/lib/operations/listEndUsers.js +47 -3
- package/lib/operations/listEndUsers.js.map +1 -1
- package/lib/operations/listEvmAccounts.d.ts +17 -29
- package/lib/operations/listEvmAccounts.d.ts.map +1 -1
- package/lib/operations/listEvmAccounts.js +0 -2
- package/lib/operations/listEvmAccounts.js.map +1 -1
- package/lib/operations/listEvmSmartAccounts.d.ts +18 -31
- package/lib/operations/listEvmSmartAccounts.d.ts.map +1 -1
- package/lib/operations/listEvmSmartAccounts.js +0 -2
- package/lib/operations/listEvmSmartAccounts.js.map +1 -1
- package/lib/operations/listEvmTokenBalances.d.ts +24 -43
- package/lib/operations/listEvmTokenBalances.d.ts.map +1 -1
- package/lib/operations/listEvmTokenBalances.js +0 -2
- package/lib/operations/listEvmTokenBalances.js.map +1 -1
- package/lib/operations/listFoundationAccounts.d.ts +30 -0
- package/lib/operations/listFoundationAccounts.d.ts.map +1 -0
- package/lib/operations/listFoundationAccounts.js +36 -0
- package/lib/operations/listFoundationAccounts.js.map +1 -0
- package/lib/operations/listPaymentMethods.d.ts +63 -0
- package/lib/operations/listPaymentMethods.d.ts.map +1 -0
- package/lib/operations/listPaymentMethods.js +73 -0
- package/lib/operations/listPaymentMethods.js.map +1 -0
- package/lib/operations/listPolicies.d.ts +19 -33
- package/lib/operations/listPolicies.d.ts.map +1 -1
- package/lib/operations/listPolicies.js +0 -2
- package/lib/operations/listPolicies.js.map +1 -1
- package/lib/operations/listSolanaAccounts.d.ts +18 -30
- package/lib/operations/listSolanaAccounts.d.ts.map +1 -1
- package/lib/operations/listSolanaAccounts.js +1 -3
- package/lib/operations/listSolanaAccounts.js.map +1 -1
- package/lib/operations/listSolanaTokenBalances.d.ts +23 -41
- package/lib/operations/listSolanaTokenBalances.d.ts.map +1 -1
- package/lib/operations/listSolanaTokenBalances.js +0 -2
- package/lib/operations/listSolanaTokenBalances.js.map +1 -1
- package/lib/operations/listSpendPermissions.d.ts +29 -53
- package/lib/operations/listSpendPermissions.d.ts.map +1 -1
- package/lib/operations/listSpendPermissions.js +0 -2
- package/lib/operations/listSpendPermissions.js.map +1 -1
- package/lib/operations/listTokensForAccount.d.ts +12 -19
- package/lib/operations/listTokensForAccount.d.ts.map +1 -1
- package/lib/operations/listTokensForAccount.js +0 -2
- package/lib/operations/listTokensForAccount.js.map +1 -1
- package/lib/operations/listTransfers.d.ts +153 -0
- package/lib/operations/listTransfers.d.ts.map +1 -0
- package/lib/operations/listTransfers.js +205 -0
- package/lib/operations/listTransfers.js.map +1 -0
- package/lib/operations/listWebhookSubscriptionEvents.d.ts +26 -47
- package/lib/operations/listWebhookSubscriptionEvents.d.ts.map +1 -1
- package/lib/operations/listWebhookSubscriptionEvents.js +0 -2
- package/lib/operations/listWebhookSubscriptionEvents.js.map +1 -1
- package/lib/operations/listWebhookSubscriptions.d.ts +28 -53
- package/lib/operations/listWebhookSubscriptions.d.ts.map +1 -1
- package/lib/operations/listWebhookSubscriptions.js +29 -6
- package/lib/operations/listWebhookSubscriptions.js.map +1 -1
- package/lib/operations/listX402DiscoveryMerchant.d.ts +69 -0
- package/lib/operations/listX402DiscoveryMerchant.d.ts.map +1 -0
- package/lib/operations/listX402DiscoveryMerchant.js +92 -0
- package/lib/operations/listX402DiscoveryMerchant.js.map +1 -0
- package/lib/operations/listX402DiscoveryResources.d.ts +67 -0
- package/lib/operations/listX402DiscoveryResources.d.ts.map +1 -0
- package/lib/operations/listX402DiscoveryResources.js +90 -0
- package/lib/operations/listX402DiscoveryResources.js.map +1 -0
- package/lib/operations/lookupEndUser.d.ts +93 -0
- package/lib/operations/lookupEndUser.d.ts.map +1 -0
- package/lib/operations/lookupEndUser.js +116 -0
- package/lib/operations/lookupEndUser.js.map +1 -0
- package/lib/operations/postX402DiscoveryMcp.d.ts +26 -0
- package/lib/operations/postX402DiscoveryMcp.d.ts.map +1 -0
- package/lib/operations/postX402DiscoveryMcp.js +32 -0
- package/lib/operations/postX402DiscoveryMcp.js.map +1 -0
- package/lib/operations/prepareAndSendUserOperation.d.ts +39 -68
- package/lib/operations/prepareAndSendUserOperation.d.ts.map +1 -1
- package/lib/operations/prepareAndSendUserOperation.js +3 -3
- package/lib/operations/prepareAndSendUserOperation.js.map +1 -1
- package/lib/operations/prepareUserOperation.d.ts +40 -70
- package/lib/operations/prepareUserOperation.d.ts.map +1 -1
- package/lib/operations/prepareUserOperation.js +3 -3
- package/lib/operations/prepareUserOperation.js.map +1 -1
- package/lib/operations/requestEvmFaucet.d.ts +11 -17
- package/lib/operations/requestEvmFaucet.d.ts.map +1 -1
- package/lib/operations/requestEvmFaucet.js +0 -2
- package/lib/operations/requestEvmFaucet.js.map +1 -1
- package/lib/operations/requestLimitsUpgrade.d.ts +29 -0
- package/lib/operations/requestLimitsUpgrade.d.ts.map +1 -0
- package/lib/operations/requestLimitsUpgrade.js +35 -0
- package/lib/operations/requestLimitsUpgrade.js.map +1 -0
- package/lib/operations/requestSolanaFaucet.d.ts +10 -15
- package/lib/operations/requestSolanaFaucet.d.ts.map +1 -1
- package/lib/operations/requestSolanaFaucet.js +0 -2
- package/lib/operations/requestSolanaFaucet.js.map +1 -1
- package/lib/operations/revokeDelegationForEndUser.d.ts +10 -11
- package/lib/operations/revokeDelegationForEndUser.d.ts.map +1 -1
- package/lib/operations/revokeDelegationForEndUser.js +2 -2
- package/lib/operations/revokeDelegationForEndUser.js.map +1 -1
- package/lib/operations/revokeDelegationForEndUserAccount.d.ts +34 -0
- package/lib/operations/revokeDelegationForEndUserAccount.d.ts.map +1 -0
- package/lib/operations/revokeDelegationForEndUserAccount.js +44 -0
- package/lib/operations/revokeDelegationForEndUserAccount.js.map +1 -0
- package/lib/operations/revokeSpendPermission.d.ts +33 -58
- package/lib/operations/revokeSpendPermission.d.ts.map +1 -1
- package/lib/operations/revokeSpendPermission.js +2 -3
- package/lib/operations/revokeSpendPermission.js.map +1 -1
- package/lib/operations/runSQLQuery.d.ts +30 -53
- package/lib/operations/runSQLQuery.d.ts.map +1 -1
- package/lib/operations/runSQLQuery.js +6 -10
- package/lib/operations/runSQLQuery.js.map +1 -1
- package/lib/operations/searchX402Resources.d.ts +83 -0
- package/lib/operations/searchX402Resources.d.ts.map +1 -0
- package/lib/operations/searchX402Resources.js +106 -0
- package/lib/operations/searchX402Resources.js.map +1 -0
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts +20 -33
- package/lib/operations/sendEvmAssetWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendEvmAssetWithEndUserAccount.js +1 -2
- package/lib/operations/sendEvmAssetWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendEvmTransaction.d.ts +12 -18
- package/lib/operations/sendEvmTransaction.d.ts.map +1 -1
- package/lib/operations/sendEvmTransaction.js +4 -3
- package/lib/operations/sendEvmTransaction.js.map +1 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts +15 -24
- package/lib/operations/sendEvmTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js +1 -3
- package/lib/operations/sendEvmTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts +18 -31
- package/lib/operations/sendSolanaAssetWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js +0 -2
- package/lib/operations/sendSolanaAssetWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendSolanaTransaction.d.ts +12 -18
- package/lib/operations/sendSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/sendSolanaTransaction.js +1 -3
- package/lib/operations/sendSolanaTransaction.js.map +1 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts +16 -26
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js +1 -3
- package/lib/operations/sendSolanaTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/sendUserOperation.d.ts +32 -56
- package/lib/operations/sendUserOperation.d.ts.map +1 -1
- package/lib/operations/sendUserOperation.js +2 -3
- package/lib/operations/sendUserOperation.js.map +1 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts +44 -78
- package/lib/operations/sendUserOperationWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/sendUserOperationWithEndUserAccount.js +3 -3
- package/lib/operations/sendUserOperationWithEndUserAccount.js.map +1 -1
- package/lib/operations/settleX402Payment.d.ts +239 -30
- package/lib/operations/settleX402Payment.d.ts.map +1 -1
- package/lib/operations/settleX402Payment.js +280 -5
- package/lib/operations/settleX402Payment.js.map +1 -1
- package/lib/operations/signEvmHash.d.ts +11 -16
- package/lib/operations/signEvmHash.d.ts.map +1 -1
- package/lib/operations/signEvmHash.js +1 -3
- package/lib/operations/signEvmHash.js.map +1 -1
- package/lib/operations/signEvmMessage.d.ts +11 -16
- package/lib/operations/signEvmMessage.d.ts.map +1 -1
- package/lib/operations/signEvmMessage.js +1 -3
- package/lib/operations/signEvmMessage.js.map +1 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts +14 -22
- package/lib/operations/signEvmMessageWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signEvmMessageWithEndUserAccount.js +1 -3
- package/lib/operations/signEvmMessageWithEndUserAccount.js.map +1 -1
- package/lib/operations/signEvmTransaction.d.ts +11 -16
- package/lib/operations/signEvmTransaction.d.ts.map +1 -1
- package/lib/operations/signEvmTransaction.js +1 -3
- package/lib/operations/signEvmTransaction.js.map +1 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts +14 -22
- package/lib/operations/signEvmTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signEvmTransactionWithEndUserAccount.js +1 -3
- package/lib/operations/signEvmTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/signEvmTypedData.d.ts +19 -33
- package/lib/operations/signEvmTypedData.d.ts.map +1 -1
- package/lib/operations/signEvmTypedData.js +0 -2
- package/lib/operations/signEvmTypedData.js.map +1 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts +25 -44
- package/lib/operations/signEvmTypedDataWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js +1 -3
- package/lib/operations/signEvmTypedDataWithEndUserAccount.js.map +1 -1
- package/lib/operations/signSolanaMessage.d.ts +11 -16
- package/lib/operations/signSolanaMessage.d.ts.map +1 -1
- package/lib/operations/signSolanaMessage.js +1 -3
- package/lib/operations/signSolanaMessage.js.map +1 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts +14 -22
- package/lib/operations/signSolanaMessageWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signSolanaMessageWithEndUserAccount.js +1 -3
- package/lib/operations/signSolanaMessageWithEndUserAccount.js.map +1 -1
- package/lib/operations/signSolanaTransaction.d.ts +11 -16
- package/lib/operations/signSolanaTransaction.d.ts.map +1 -1
- package/lib/operations/signSolanaTransaction.js +1 -3
- package/lib/operations/signSolanaTransaction.js.map +1 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts +14 -22
- package/lib/operations/signSolanaTransactionWithEndUserAccount.d.ts.map +1 -1
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js +1 -3
- package/lib/operations/signSolanaTransactionWithEndUserAccount.js.map +1 -1
- package/lib/operations/submitDepositTravelRule.d.ts +52 -0
- package/lib/operations/submitDepositTravelRule.d.ts.map +1 -0
- package/lib/operations/submitDepositTravelRule.js +58 -0
- package/lib/operations/submitDepositTravelRule.js.map +1 -0
- package/lib/operations/submitOnrampVerification.d.ts +26 -0
- package/lib/operations/submitOnrampVerification.d.ts.map +1 -0
- package/lib/operations/submitOnrampVerification.js +35 -0
- package/lib/operations/submitOnrampVerification.js.map +1 -0
- package/lib/operations/supportedX402PaymentKinds.d.ts +15 -27
- package/lib/operations/supportedX402PaymentKinds.d.ts.map +1 -1
- package/lib/operations/supportedX402PaymentKinds.js +4 -4
- package/lib/operations/supportedX402PaymentKinds.js.map +1 -1
- package/lib/operations/updateEvmAccount.d.ts +16 -26
- package/lib/operations/updateEvmAccount.d.ts.map +1 -1
- package/lib/operations/updateEvmAccount.js +1 -3
- package/lib/operations/updateEvmAccount.js.map +1 -1
- package/lib/operations/updateEvmSmartAccount.d.ts +16 -26
- package/lib/operations/updateEvmSmartAccount.d.ts.map +1 -1
- package/lib/operations/updateEvmSmartAccount.js +1 -3
- package/lib/operations/updateEvmSmartAccount.js.map +1 -1
- package/lib/operations/updatePolicy.d.ts +17 -28
- package/lib/operations/updatePolicy.d.ts.map +1 -1
- package/lib/operations/updatePolicy.js +1 -3
- package/lib/operations/updatePolicy.js.map +1 -1
- package/lib/operations/updateSolanaAccount.d.ts +16 -26
- package/lib/operations/updateSolanaAccount.d.ts.map +1 -1
- package/lib/operations/updateSolanaAccount.js +1 -3
- package/lib/operations/updateSolanaAccount.js.map +1 -1
- package/lib/operations/updateWebhookSubscription.d.ts +33 -69
- package/lib/operations/updateWebhookSubscription.d.ts.map +1 -1
- package/lib/operations/updateWebhookSubscription.js +54 -7
- package/lib/operations/updateWebhookSubscription.js.map +1 -1
- package/lib/operations/validateEndUserAccessToken.d.ts +64 -67
- package/lib/operations/validateEndUserAccessToken.d.ts.map +1 -1
- package/lib/operations/validateEndUserAccessToken.js +36 -3
- package/lib/operations/validateEndUserAccessToken.js.map +1 -1
- package/lib/operations/validateX402Resource.d.ts +64 -0
- package/lib/operations/validateX402Resource.d.ts.map +1 -0
- package/lib/operations/validateX402Resource.js +92 -0
- package/lib/operations/validateX402Resource.js.map +1 -0
- package/lib/operations/verifyX402Payment.d.ts +236 -24
- package/lib/operations/verifyX402Payment.d.ts.map +1 -1
- package/lib/operations/verifyX402Payment.js +266 -5
- package/lib/operations/verifyX402Payment.js.map +1 -1
- package/package.json +2 -2
- package/src/operations/addEndUserEvmAccount.ts +11 -5
- package/src/operations/addEndUserEvmSmartAccount.ts +14 -7
- package/src/operations/addEndUserSolanaAccount.ts +12 -8
- package/src/operations/createDelegationForEndUserAccount.ts +60 -0
- package/src/operations/createDepositDestination.ts +85 -0
- package/src/operations/createEndUser.ts +150 -7
- package/src/operations/createEvmAccount.ts +16 -5
- package/src/operations/createEvmEip7702Delegation.ts +17 -6
- package/src/operations/createEvmEip7702DelegationWithEndUserAccount.ts +20 -6
- package/src/operations/createEvmSmartAccount.ts +17 -6
- package/src/operations/createEvmSwapQuote.ts +128 -5
- package/src/operations/createFoundationAccount.ts +51 -0
- package/src/operations/createOnrampOrder.ts +59 -4
- package/src/operations/createOnrampSession.ts +41 -4
- package/src/operations/createPolicy.ts +18 -5
- package/src/operations/createSolanaAccount.ts +16 -5
- package/src/operations/createSpendPermission.ts +61 -6
- package/src/operations/createTransfer.ts +461 -0
- package/src/operations/createWebhookSubscription.ts +144 -49
- package/src/operations/deletePolicy.ts +8 -5
- package/src/operations/deleteWebhookSubscription.ts +6 -6
- package/src/operations/executeFundTransfer.ts +282 -0
- package/src/operations/exportEvmAccount.ts +12 -5
- package/src/operations/exportEvmAccountByName.ts +10 -7
- package/src/operations/exportSolanaAccount.ts +10 -5
- package/src/operations/exportSolanaAccountByName.ts +10 -7
- package/src/operations/getBalanceByAsset.ts +58 -0
- package/src/operations/getDelegationForEndUser.ts +9 -6
- package/src/operations/getDelegationForEndUserAccount.ts +47 -0
- package/src/operations/getDepositDestinationById.ts +89 -0
- package/src/operations/getEndUser.ts +86 -6
- package/src/operations/getEvmAccount.ts +15 -5
- package/src/operations/getEvmAccountByName.ts +15 -5
- package/src/operations/getEvmEip7702DelegationOperationById.ts +20 -7
- package/src/operations/getEvmSmartAccount.ts +16 -5
- package/src/operations/getEvmSmartAccountByName.ts +14 -7
- package/src/operations/getEvmSwapPrice.ts +86 -5
- package/src/operations/getFoundationAccountById.ts +48 -0
- package/src/operations/getOnrampOrderById.ts +36 -4
- package/src/operations/getOnrampUserLimits.ts +17 -4
- package/src/operations/getPaymentMethod.ts +106 -0
- package/src/operations/getPolicyById.ts +14 -5
- package/src/operations/getSQLGrammar.ts +7 -4
- package/src/operations/getSQLSchema.ts +25 -6
- package/src/operations/getSolanaAccount.ts +15 -5
- package/src/operations/getSolanaAccountByName.ts +13 -7
- package/src/operations/getTransferById.ts +274 -0
- package/src/operations/getUserOperation.ts +44 -5
- package/src/operations/getWebhookSubscription.ts +73 -11
- package/src/operations/importEndUser.ts +147 -7
- package/src/operations/importEvmAccount.ts +17 -5
- package/src/operations/importSolanaAccount.ts +16 -5
- package/src/operations/index.ts +40 -0
- package/src/operations/initiateOnrampVerification.ts +46 -0
- package/src/operations/listBalances.ts +66 -0
- package/src/operations/listDataTokenBalances.ts +20 -5
- package/src/operations/listDepositDestinations.ts +109 -0
- package/src/operations/listEndUsers.ts +102 -5
- package/src/operations/listEvmAccounts.ts +18 -4
- package/src/operations/listEvmSmartAccounts.ts +19 -4
- package/src/operations/listEvmTokenBalances.ts +20 -4
- package/src/operations/listFoundationAccounts.ts +62 -0
- package/src/operations/listPaymentMethods.ts +130 -0
- package/src/operations/listPolicies.ts +20 -4
- package/src/operations/listSolanaAccounts.ts +19 -5
- package/src/operations/listSolanaTokenBalances.ts +15 -6
- package/src/operations/listSpendPermissions.ts +36 -4
- package/src/operations/listTokensForAccount.ts +11 -4
- package/src/operations/listTransfers.ts +355 -0
- package/src/operations/listWebhookSubscriptionEvents.ts +25 -6
- package/src/operations/listWebhookSubscriptions.ts +78 -10
- package/src/operations/listX402DiscoveryMerchant.ts +174 -0
- package/src/operations/listX402DiscoveryResources.ts +171 -0
- package/src/operations/lookupEndUser.ts +188 -0
- package/src/operations/postX402DiscoveryMcp.ts +56 -0
- package/src/operations/prepareAndSendUserOperation.ts +65 -7
- package/src/operations/prepareUserOperation.ts +66 -5
- package/src/operations/requestEvmFaucet.ts +12 -4
- package/src/operations/requestLimitsUpgrade.ts +56 -0
- package/src/operations/requestSolanaFaucet.ts +11 -4
- package/src/operations/revokeDelegationForEndUser.ts +10 -6
- package/src/operations/revokeDelegationForEndUserAccount.ts +57 -0
- package/src/operations/revokeSpendPermission.ts +54 -6
- package/src/operations/runSQLQuery.ts +49 -12
- package/src/operations/searchX402Resources.ts +194 -0
- package/src/operations/sendEvmAssetWithEndUserAccount.ts +33 -6
- package/src/operations/sendEvmTransaction.ts +25 -5
- package/src/operations/sendEvmTransactionWithEndUserAccount.ts +25 -7
- package/src/operations/sendSolanaAssetWithEndUserAccount.ts +17 -6
- package/src/operations/sendSolanaTransaction.ts +11 -6
- package/src/operations/sendSolanaTransactionWithEndUserAccount.ts +15 -7
- package/src/operations/sendUserOperation.ts +45 -5
- package/src/operations/sendUserOperationWithEndUserAccount.ts +70 -7
- package/src/operations/settleX402Payment.ts +742 -7
- package/src/operations/signEvmHash.ts +12 -5
- package/src/operations/signEvmMessage.ts +10 -5
- package/src/operations/signEvmMessageWithEndUserAccount.ts +13 -7
- package/src/operations/signEvmTransaction.ts +10 -5
- package/src/operations/signEvmTransactionWithEndUserAccount.ts +13 -7
- package/src/operations/signEvmTypedData.ts +18 -4
- package/src/operations/signEvmTypedDataWithEndUserAccount.ts +24 -7
- package/src/operations/signSolanaMessage.ts +10 -5
- package/src/operations/signSolanaMessageWithEndUserAccount.ts +13 -7
- package/src/operations/signSolanaTransaction.ts +10 -6
- package/src/operations/signSolanaTransactionWithEndUserAccount.ts +13 -7
- package/src/operations/submitDepositTravelRule.ts +103 -0
- package/src/operations/submitOnrampVerification.ts +51 -0
- package/src/operations/supportedX402PaymentKinds.ts +29 -8
- package/src/operations/updateEvmAccount.ts +17 -5
- package/src/operations/updateEvmSmartAccount.ts +17 -6
- package/src/operations/updatePolicy.ts +16 -5
- package/src/operations/updateSolanaAccount.ts +17 -5
- package/src/operations/updateWebhookSubscription.ts +129 -11
- package/src/operations/validateEndUserAccessToken.ts +84 -7
- package/src/operations/validateX402Resource.ts +172 -0
- package/src/operations/verifyX402Payment.ts +706 -7
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const CreateOnrampSessionInput =
|
|
6
5
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
purchaseCurrency: Schema.String,
|
|
@@ -24,7 +23,6 @@ export const CreateOnrampSessionInput =
|
|
|
24
23
|
clientIp: Schema.optional(Schema.String),
|
|
25
24
|
partnerUserRef: Schema.optional(Schema.String),
|
|
26
25
|
}).pipe(T.Http({ method: "POST", path: "/v2/onramp/sessions" }));
|
|
27
|
-
// Output Schema
|
|
28
26
|
export const CreateOnrampSessionOutput =
|
|
29
27
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
30
28
|
session: Schema.Struct({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOnrampSession.js","sourceRoot":"","sources":["../../src/operations/createOnrampSession.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createOnrampSession.js","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
15
|
-
}
|
|
16
|
-
export
|
|
2
|
+
export interface CreatePolicyInput {
|
|
3
|
+
scope: "project" | "account";
|
|
4
|
+
description?: string;
|
|
5
|
+
rules: unknown[];
|
|
6
|
+
}
|
|
7
|
+
export declare const CreatePolicyInput: Schema.Codec<CreatePolicyInput>;
|
|
8
|
+
export interface CreatePolicyOutput {
|
|
9
|
+
id: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
scope: "project" | "account";
|
|
12
|
+
rules: unknown[];
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const CreatePolicyOutput: Schema.Codec<CreatePolicyOutput>;
|
|
17
17
|
/**
|
|
18
|
-
* Create
|
|
18
|
+
* Create policy
|
|
19
19
|
*
|
|
20
20
|
* Create a policy that can be used to govern the behavior of accounts.
|
|
21
21
|
*
|
|
@@ -24,16 +24,5 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
24
24
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
25
25
|
|
|
26
26
|
*/
|
|
27
|
-
export declare const createPolicy: import("@distilled.cloud/core/client").OperationMethod<
|
|
28
|
-
readonly scope: "account" | "project";
|
|
29
|
-
readonly description?: string | undefined;
|
|
30
|
-
readonly rules: readonly unknown[];
|
|
31
|
-
}, {
|
|
32
|
-
readonly id: string;
|
|
33
|
-
readonly description?: string | undefined;
|
|
34
|
-
readonly scope: "account" | "project";
|
|
35
|
-
readonly rules: readonly unknown[];
|
|
36
|
-
readonly createdAt: string;
|
|
37
|
-
readonly updatedAt: string;
|
|
38
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
27
|
+
export declare const createPolicy: import("@distilled.cloud/core/client").OperationMethod<CreatePolicyInput, CreatePolicyOutput, never, import("../credentials.ts").Credentials, never>;
|
|
39
28
|
//# sourceMappingURL=createPolicy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,
|
|
1
|
+
{"version":3,"file":"createPolicy.d.ts","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,EAAE,CAAC;CAClB;AACD,eAAO,MAAM,iBAAiB,EAMd,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAGhD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,eAAO,MAAM,kBAAkB,EAOd,MAAM,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;AAGlD;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,sJAGtB,CAAC"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const CreatePolicyInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
5
|
scope: Schema.Literals(["project", "account"]),
|
|
7
6
|
description: Schema.optional(Schema.String),
|
|
8
7
|
rules: Schema.Array(Schema.Unknown),
|
|
9
8
|
}).pipe(T.Http({ method: "POST", path: "/v2/policy-engine/policies" }));
|
|
10
|
-
// Output Schema
|
|
11
9
|
export const CreatePolicyOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
10
|
id: Schema.String,
|
|
13
11
|
description: Schema.optional(Schema.String),
|
|
@@ -18,7 +16,7 @@ export const CreatePolicyOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
18
16
|
});
|
|
19
17
|
// The operation
|
|
20
18
|
/**
|
|
21
|
-
* Create
|
|
19
|
+
* Create policy
|
|
22
20
|
*
|
|
23
21
|
* Create a policy that can be used to govern the behavior of accounts.
|
|
24
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPolicy.js","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createPolicy.js","sourceRoot":"","sources":["../../src/operations/createPolicy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AAQlC,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACzE,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC9C,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;CACpC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CACjB,CAAC;AAWhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,EAAE,EAAE,MAAM,CAAC,MAAM;IACjB,WAAW,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC,MAAM;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAgD,CAAC;AAElD,gBAAgB;AAChB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACtE,WAAW,EAAE,iBAAiB;IAC9B,YAAY,EAAE,kBAAkB;CACjC,CAAC,CAAC,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
export
|
|
2
|
+
export interface CreateSolanaAccountInput {
|
|
3
|
+
name?: string;
|
|
4
|
+
accountPolicy?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const CreateSolanaAccountInput: Schema.Codec<CreateSolanaAccountInput>;
|
|
7
|
+
export interface CreateSolanaAccountOutput {
|
|
8
|
+
address: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
policies?: string[];
|
|
11
|
+
createdAt?: string;
|
|
12
|
+
updatedAt?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const CreateSolanaAccountOutput: Schema.Codec<CreateSolanaAccountOutput>;
|
|
15
15
|
/**
|
|
16
|
-
* Create
|
|
16
|
+
* Create Solana account
|
|
17
17
|
*
|
|
18
18
|
* Creates a new Solana account.
|
|
19
19
|
*
|
|
@@ -26,14 +26,5 @@ When included, duplicate requests with the same key will return identical respon
|
|
|
26
26
|
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
27
27
|
|
|
28
28
|
*/
|
|
29
|
-
export declare const createSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<
|
|
30
|
-
readonly name?: string | undefined;
|
|
31
|
-
readonly accountPolicy?: string | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
readonly address: string;
|
|
34
|
-
readonly name?: string | undefined;
|
|
35
|
-
readonly policies?: readonly string[] | undefined;
|
|
36
|
-
readonly createdAt?: string | undefined;
|
|
37
|
-
readonly updatedAt?: string | undefined;
|
|
38
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
29
|
+
export declare const createSolanaAccount: import("@distilled.cloud/core/client").OperationMethod<CreateSolanaAccountInput, CreateSolanaAccountOutput, never, import("../credentials.ts").Credentials, never>;
|
|
39
30
|
//# sourceMappingURL=createSolanaAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,
|
|
1
|
+
{"version":3,"file":"createSolanaAccount.d.ts","sourceRoot":"","sources":["../../src/operations/createSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AACD,eAAO,MAAM,wBAAwB,EAMnB,MAAM,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;AAGzD,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AACD,eAAO,MAAM,yBAAyB,EAOnB,MAAM,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;AAG3D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,oKAG7B,CAAC"}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const CreateSolanaAccountInput =
|
|
6
5
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
name: Schema.optional(Schema.String),
|
|
8
7
|
accountPolicy: Schema.optional(Schema.String),
|
|
9
8
|
}).pipe(T.Http({ method: "POST", path: "/v2/solana/accounts" }));
|
|
10
|
-
// Output Schema
|
|
11
9
|
export const CreateSolanaAccountOutput =
|
|
12
10
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
11
|
address: Schema.String,
|
|
@@ -18,7 +16,7 @@ export const CreateSolanaAccountOutput =
|
|
|
18
16
|
});
|
|
19
17
|
// The operation
|
|
20
18
|
/**
|
|
21
|
-
* Create
|
|
19
|
+
* Create Solana account
|
|
22
20
|
*
|
|
23
21
|
* Creates a new Solana account.
|
|
24
22
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSolanaAccount.js","sourceRoot":"","sources":["../../src/operations/createSolanaAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,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B;IACrC,YAAY,EAAE,yBAAyB;CACxC,CAAC,CAAC,CAAC"}
|
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
2
|
+
export interface CreateSpendPermissionInput {
|
|
3
|
+
address: string;
|
|
4
|
+
network: "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "arbitrum" | "avalanche" | "polygon";
|
|
5
|
+
spender: string;
|
|
6
|
+
token: string;
|
|
7
|
+
allowance: string;
|
|
8
|
+
period: string;
|
|
9
|
+
start: string;
|
|
10
|
+
end: string;
|
|
11
|
+
salt?: string;
|
|
12
|
+
extraData?: string;
|
|
13
|
+
paymasterUrl?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const CreateSpendPermissionInput: Schema.Codec<CreateSpendPermissionInput>;
|
|
16
|
+
export interface CreateSpendPermissionOutput {
|
|
17
|
+
network: "base-sepolia" | "base" | "arbitrum" | "optimism" | "zora" | "polygon" | "bnb" | "avalanche" | "ethereum" | "ethereum-sepolia";
|
|
18
|
+
userOpHash: string;
|
|
19
|
+
calls: {
|
|
20
|
+
to: string;
|
|
21
|
+
value: string;
|
|
22
|
+
data: string;
|
|
23
|
+
overrideGasLimit?: string;
|
|
24
|
+
}[];
|
|
25
|
+
status: "pending" | "signed" | "broadcast" | "complete" | "dropped" | "failed";
|
|
26
|
+
transactionHash?: string;
|
|
27
|
+
receipts?: {
|
|
28
|
+
revert?: {
|
|
29
|
+
data: string;
|
|
30
|
+
message: string;
|
|
31
|
+
};
|
|
32
|
+
transactionHash?: string;
|
|
33
|
+
blockHash?: string;
|
|
34
|
+
blockNumber?: number;
|
|
35
|
+
gasUsed?: string;
|
|
36
|
+
}[];
|
|
37
|
+
expiresAt?: string;
|
|
38
|
+
}
|
|
39
|
+
export declare const CreateSpendPermissionOutput: Schema.Codec<CreateSpendPermissionOutput>;
|
|
39
40
|
/**
|
|
40
|
-
* Create
|
|
41
|
+
* Create spend permission
|
|
41
42
|
*
|
|
42
43
|
* Creates a spend permission for the given smart account address.
|
|
43
44
|
*
|
|
@@ -51,38 +52,5 @@ Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/i
|
|
|
51
52
|
|
|
52
53
|
* @param address - The address of the Smart Account to create the spend permission for.
|
|
53
54
|
*/
|
|
54
|
-
export declare const createSpendPermission: import("@distilled.cloud/core/client").OperationMethod<
|
|
55
|
-
readonly address: string;
|
|
56
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon";
|
|
57
|
-
readonly spender: string;
|
|
58
|
-
readonly token: string;
|
|
59
|
-
readonly allowance: string;
|
|
60
|
-
readonly period: string;
|
|
61
|
-
readonly start: string;
|
|
62
|
-
readonly end: string;
|
|
63
|
-
readonly salt?: string | undefined;
|
|
64
|
-
readonly extraData?: string | undefined;
|
|
65
|
-
readonly paymasterUrl?: string | undefined;
|
|
66
|
-
}, {
|
|
67
|
-
readonly network: "arbitrum" | "avalanche" | "base" | "base-sepolia" | "bnb" | "ethereum" | "ethereum-sepolia" | "optimism" | "polygon" | "zora";
|
|
68
|
-
readonly userOpHash: string;
|
|
69
|
-
readonly calls: readonly {
|
|
70
|
-
readonly to: string;
|
|
71
|
-
readonly value: string;
|
|
72
|
-
readonly data: string;
|
|
73
|
-
readonly overrideGasLimit?: string | undefined;
|
|
74
|
-
}[];
|
|
75
|
-
readonly status: "broadcast" | "complete" | "dropped" | "failed" | "pending" | "signed";
|
|
76
|
-
readonly transactionHash?: string | undefined;
|
|
77
|
-
readonly receipts?: readonly {
|
|
78
|
-
readonly revert?: {
|
|
79
|
-
readonly data: string;
|
|
80
|
-
readonly message: string;
|
|
81
|
-
} | undefined;
|
|
82
|
-
readonly transactionHash?: string | undefined;
|
|
83
|
-
readonly blockHash?: string | undefined;
|
|
84
|
-
readonly blockNumber?: number | undefined;
|
|
85
|
-
readonly gasUsed?: string | undefined;
|
|
86
|
-
}[] | undefined;
|
|
87
|
-
}, never, import("../credentials.ts").Credentials, never>;
|
|
55
|
+
export declare const createSpendPermission: import("@distilled.cloud/core/client").OperationMethod<CreateSpendPermissionInput, CreateSpendPermissionOutput, never, import("../credentials.ts").Credentials, never>;
|
|
88
56
|
//# sourceMappingURL=createSpendPermission.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSpendPermission.d.ts","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,
|
|
1
|
+
{"version":3,"file":"createSpendPermission.d.ts","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EACH,MAAM,GACN,cAAc,GACd,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,UAAU,GACV,WAAW,GACX,SAAS,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,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schema from "effect/Schema";
|
|
2
2
|
import { API } from "../client.js";
|
|
3
3
|
import * as T from "../traits.js";
|
|
4
|
-
// Input Schema
|
|
5
4
|
export const CreateSpendPermissionInput =
|
|
6
5
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
6
|
address: Schema.String.pipe(T.PathParam()),
|
|
@@ -28,7 +27,6 @@ export const CreateSpendPermissionInput =
|
|
|
28
27
|
method: "POST",
|
|
29
28
|
path: "/v2/evm/smart-accounts/{address}/spend-permissions",
|
|
30
29
|
}));
|
|
31
|
-
// Output Schema
|
|
32
30
|
export const CreateSpendPermissionOutput =
|
|
33
31
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
34
32
|
network: Schema.Literals([
|
|
@@ -69,10 +67,11 @@ export const CreateSpendPermissionOutput =
|
|
|
69
67
|
blockNumber: Schema.optional(Schema.Number),
|
|
70
68
|
gasUsed: Schema.optional(Schema.String),
|
|
71
69
|
}))),
|
|
70
|
+
expiresAt: Schema.optional(Schema.String),
|
|
72
71
|
});
|
|
73
72
|
// The operation
|
|
74
73
|
/**
|
|
75
|
-
* Create
|
|
74
|
+
* Create spend permission
|
|
76
75
|
*
|
|
77
76
|
* Creates a spend permission for the given smart account address.
|
|
78
77
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSpendPermission.js","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createSpendPermission.js","sourceRoot":"","sources":["../../src/operations/createSpendPermission.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,CAAC,M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AC,CACH,CAAC"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export interface CreateTransferInput {
|
|
3
|
+
source: {
|
|
4
|
+
accountId: string;
|
|
5
|
+
asset: string;
|
|
6
|
+
} | {
|
|
7
|
+
paymentMethodId: string;
|
|
8
|
+
asset: string;
|
|
9
|
+
};
|
|
10
|
+
target: {
|
|
11
|
+
accountId: string;
|
|
12
|
+
asset: string;
|
|
13
|
+
} | {
|
|
14
|
+
paymentMethodId: string;
|
|
15
|
+
asset: string;
|
|
16
|
+
} | {
|
|
17
|
+
address: string;
|
|
18
|
+
network: "base" | "ethereum" | "solana" | "aptos" | "arbitrum" | "arbitrum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
19
|
+
destinationTag?: string;
|
|
20
|
+
asset: string;
|
|
21
|
+
} | {
|
|
22
|
+
email: string;
|
|
23
|
+
asset: string;
|
|
24
|
+
};
|
|
25
|
+
amount: string;
|
|
26
|
+
asset: string;
|
|
27
|
+
amountType?: "target" | "source";
|
|
28
|
+
validateOnly?: boolean;
|
|
29
|
+
execute: boolean;
|
|
30
|
+
metadata?: Record<string, string>;
|
|
31
|
+
travelRule?: {
|
|
32
|
+
isSelf?: boolean;
|
|
33
|
+
isIntermediary?: boolean;
|
|
34
|
+
originator?: {
|
|
35
|
+
financialInstitution?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
address?: {
|
|
38
|
+
line1?: string;
|
|
39
|
+
line2?: string;
|
|
40
|
+
city?: string;
|
|
41
|
+
state?: string;
|
|
42
|
+
postCode?: string;
|
|
43
|
+
countryCode?: string;
|
|
44
|
+
};
|
|
45
|
+
virtualAssetServiceProvider?: {
|
|
46
|
+
name?: string;
|
|
47
|
+
address?: {
|
|
48
|
+
line1?: string;
|
|
49
|
+
line2?: string;
|
|
50
|
+
city?: string;
|
|
51
|
+
state?: string;
|
|
52
|
+
postCode?: string;
|
|
53
|
+
countryCode?: string;
|
|
54
|
+
};
|
|
55
|
+
identifier?: string;
|
|
56
|
+
};
|
|
57
|
+
personalId?: string;
|
|
58
|
+
dateOfBirth?: {
|
|
59
|
+
day?: string;
|
|
60
|
+
month?: string;
|
|
61
|
+
year?: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
beneficiary?: {
|
|
65
|
+
financialInstitution?: string;
|
|
66
|
+
name?: string;
|
|
67
|
+
address?: {
|
|
68
|
+
line1?: string;
|
|
69
|
+
line2?: string;
|
|
70
|
+
city?: string;
|
|
71
|
+
state?: string;
|
|
72
|
+
postCode?: string;
|
|
73
|
+
countryCode?: string;
|
|
74
|
+
};
|
|
75
|
+
walletType?: "custodial" | "self_custody";
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
export declare const CreateTransferInput: Schema.Codec<CreateTransferInput>;
|
|
80
|
+
export interface CreateTransferOutput {
|
|
81
|
+
transferId?: string;
|
|
82
|
+
status?: "quoted" | "processing" | "completed" | "failed";
|
|
83
|
+
source: {
|
|
84
|
+
accountId: string;
|
|
85
|
+
asset: string;
|
|
86
|
+
} | {
|
|
87
|
+
paymentMethodId: string;
|
|
88
|
+
asset: string;
|
|
89
|
+
} | {
|
|
90
|
+
address: string;
|
|
91
|
+
network: "base" | "ethereum" | "solana" | "aptos" | "arbitrum" | "arbitrum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
92
|
+
destinationTag?: string;
|
|
93
|
+
asset: string;
|
|
94
|
+
} | {
|
|
95
|
+
bankName: string;
|
|
96
|
+
accountLast4: string;
|
|
97
|
+
currency: string;
|
|
98
|
+
};
|
|
99
|
+
target: {
|
|
100
|
+
accountId: string;
|
|
101
|
+
asset: string;
|
|
102
|
+
} | {
|
|
103
|
+
paymentMethodId: string;
|
|
104
|
+
asset: string;
|
|
105
|
+
} | {
|
|
106
|
+
address: string;
|
|
107
|
+
network: "base" | "ethereum" | "solana" | "aptos" | "arbitrum" | "arbitrum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
108
|
+
destinationTag?: string;
|
|
109
|
+
asset: string;
|
|
110
|
+
} | {
|
|
111
|
+
email: string;
|
|
112
|
+
asset: string;
|
|
113
|
+
};
|
|
114
|
+
sourceAmount?: string;
|
|
115
|
+
sourceAsset?: string;
|
|
116
|
+
targetAmount?: string;
|
|
117
|
+
targetAsset?: string;
|
|
118
|
+
exchangeRate?: {
|
|
119
|
+
sourceAsset: string;
|
|
120
|
+
targetAsset: string;
|
|
121
|
+
rate: string;
|
|
122
|
+
};
|
|
123
|
+
fees?: {
|
|
124
|
+
type: "bank" | "conversion" | "network" | "other";
|
|
125
|
+
amount: string;
|
|
126
|
+
asset: string;
|
|
127
|
+
}[];
|
|
128
|
+
estimate?: {
|
|
129
|
+
exchangeRate?: {
|
|
130
|
+
sourceAsset: string;
|
|
131
|
+
targetAsset: string;
|
|
132
|
+
rate: string;
|
|
133
|
+
};
|
|
134
|
+
targetAmount?: string;
|
|
135
|
+
targetAsset?: string;
|
|
136
|
+
fees?: {
|
|
137
|
+
type: "bank" | "conversion" | "network" | "other";
|
|
138
|
+
amount: string;
|
|
139
|
+
asset: string;
|
|
140
|
+
}[];
|
|
141
|
+
estimatedAt: string;
|
|
142
|
+
};
|
|
143
|
+
completedAt?: string;
|
|
144
|
+
failureReason?: string;
|
|
145
|
+
expiresAt?: string;
|
|
146
|
+
executedAt?: string;
|
|
147
|
+
createdAt?: string;
|
|
148
|
+
updatedAt?: string;
|
|
149
|
+
metadata?: Record<string, string>;
|
|
150
|
+
details?: {
|
|
151
|
+
depositDestination?: {
|
|
152
|
+
id: string;
|
|
153
|
+
};
|
|
154
|
+
onchainTransactions?: {
|
|
155
|
+
transactionHash: string;
|
|
156
|
+
network: "base" | "ethereum" | "solana" | "aptos" | "arbitrum" | "arbitrum-sepolia" | "optimism" | "polygon" | "world" | "world-sepolia";
|
|
157
|
+
}[];
|
|
158
|
+
travelRule?: {
|
|
159
|
+
status?: "incomplete" | "completed";
|
|
160
|
+
statusMessage?: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
export declare const CreateTransferOutput: Schema.Codec<CreateTransferOutput>;
|
|
165
|
+
/**
|
|
166
|
+
* Create transfer
|
|
167
|
+
*
|
|
168
|
+
* Create a new transfer to move funds from a source to a target.
|
|
169
|
+
* All transfers first transition to `quoted`. If `execute: false`, the transfer stays quoted until you call `/v2/transfers/{transferId}/execute`.
|
|
170
|
+
* If `execute: true`, quoted status emits momentarily before the transfer moves to `processing`, where execution proceeds. Subscribe to the transfers webhook to follow progress in real time instead of polling.
|
|
171
|
+
*
|
|
172
|
+
* @param X-Idempotency-Key - An optional string request header for making requests safely retryable.
|
|
173
|
+
When included, duplicate requests with the same key will return identical responses.
|
|
174
|
+
Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.
|
|
175
|
+
|
|
176
|
+
*/
|
|
177
|
+
export declare const createTransfer: import("@distilled.cloud/core/client").OperationMethod<CreateTransferInput, CreateTransferOutput, never, import("../credentials.ts").Credentials, never>;
|
|
178
|
+
//# sourceMappingURL=createTransfer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createTransfer.d.ts","sourceRoot":"","sources":["../../src/operations/createTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EACF;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GACpC;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/C,MAAM,EACF;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GACpC;QAAE,eAAe,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAC1C;QAC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