@cubist-labs/cubesigner-sdk 0.4.280 → 0.4.284
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/dist/package.json +1 -1
- package/dist/spec/env/beta.json +0 -6
- package/dist/src/audit_log.d.ts +3 -3
- package/dist/src/client/api_client.d.ts.map +1 -1
- package/dist/src/key.d.ts +35 -2
- package/dist/src/key.d.ts.map +1 -1
- package/dist/src/key.js +34 -1
- package/dist/src/mfa.d.ts.map +1 -1
- package/dist/src/org.d.ts.map +1 -1
- package/dist/src/role.d.ts.map +1 -1
- package/dist/src/schema.d.ts +571 -56
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +1 -1
- package/dist/src/schema_types.d.ts.map +1 -1
- package/dist/src/schema_types.js +3 -1
- package/dist/src/scopes.d.ts.map +1 -1
- package/dist/src/scopes.js +12 -7
- package/package.json +1 -1
- package/src/key.ts +50 -0
- package/src/schema.ts +626 -59
- package/src/schema_types.ts +2 -0
- package/src/scopes.ts +11 -6
package/dist/src/schema.d.ts
CHANGED
|
@@ -2354,7 +2354,7 @@ export interface components {
|
|
|
2354
2354
|
};
|
|
2355
2355
|
BabylonCovSignResponse: {
|
|
2356
2356
|
/** @description Optional policy evaluation tree. */
|
|
2357
|
-
policy_eval_tree?:
|
|
2357
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
2358
2358
|
} & {
|
|
2359
2359
|
/**
|
|
2360
2360
|
* @description The slash-unbonding transaction signatures as an array of hex strings with no 0x prefix
|
|
@@ -2503,7 +2503,7 @@ export interface components {
|
|
|
2503
2503
|
};
|
|
2504
2504
|
BabylonRegistrationResponse: {
|
|
2505
2505
|
/** @description Optional policy evaluation tree. */
|
|
2506
|
-
policy_eval_tree?:
|
|
2506
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
2507
2507
|
} & {
|
|
2508
2508
|
/**
|
|
2509
2509
|
* @description The Babylon address that will receive the staking rewards for this deposit.
|
|
@@ -2773,7 +2773,7 @@ export interface components {
|
|
|
2773
2773
|
});
|
|
2774
2774
|
BabylonStakingResponse: {
|
|
2775
2775
|
/** @description Optional policy evaluation tree. */
|
|
2776
|
-
policy_eval_tree?:
|
|
2776
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
2777
2777
|
} & {
|
|
2778
2778
|
/**
|
|
2779
2779
|
* Format: int64
|
|
@@ -2851,7 +2851,7 @@ export interface components {
|
|
|
2851
2851
|
/** @enum {string} */
|
|
2852
2852
|
BadGatewayErrorCode: "Generic" | "CustomChainRpcError" | "EsploraApiError" | "SentryApiError" | "CallWebhookError" | "OAuthProviderError" | "OidcDisoveryFailed" | "OidcIssuerJwkEndpointUnavailable" | "SmtpServerUnavailable";
|
|
2853
2853
|
/** @enum {string} */
|
|
2854
|
-
BadRequestErrorCode: "GenericBadRequest" | "CannotVoteOnRedeemedRequest" | "PendingOpAlreadyVetoed" | "MultiplePendingOpsReferenced" | "DisallowedAllowRuleReference" | "InvalidPaginationToken" | "InvalidEmail" | "InvalidEmailTemplate" | "QueryMetricsError" | "InvalidTelegramData" | "ValidationError" | "WebhookPolicyTimeoutOutOfBounds" | "WebhookPolicyDisallowedUrlScheme" | "WebhookPolicyDisallowedUrlHost" | "WebhookPolicyDisallowedHeaders" | "ReservedName" | "UserEmailNotConfigured" | "EmailPasswordNotFound" | "PasswordAuthNotAllowedByInvitation" | "OneTimeCodeExpired" | "InvalidBody" | "InvalidJwt" | "InvitationNoLongerValid" | "TokenRequestError" | "InvalidMfaReceipt" | "InvalidMfaPolicyCount" | "InvalidMfaPolicyNumAuthFactors" | "InvalidMfaPolicyNumAllowedApprovers" | "InvalidMfaPolicyGracePeriodTooLong" | "InvalidBabylonStakingPolicyParams" | "InvalidSuiTxReceiversEmptyAllowlist" | "InvalidBtcTxReceiversEmptyAllowlist" | "InvalidRequireRoleSessionAllowlist" | "InvalidCreateKeyCount" | "InvalidDiffieHellmanCount" | "OrgInviteExistingUser" | "OrgUserAlreadyExists" | "OrgNameTaken" | "KwkNotFoundInRegion" | "OrgIsNotOrgExport" | "RoleNameTaken" | "PolicyNameTaken" | "NameTaken" | "ContactNameInvalid" | "ContactAddressesInvalid" | "ContactLabelInvalid" | "ContactModified" | "PolicyNotFound" | "PolicyVersionNotFound" | "PolicyRuleDisallowedByType" | "PolicyTypeDisallowed" | "PolicyDuplicateError" | "PolicyStillAttached" | "PolicyModified" | "PolicyNotAttached" | "AddKeyToRoleCountTooHigh" | "InvalidKeyId" | "InvalidTimeLockAlreadyInThePast" | "InvalidRestrictedScopes" | "InvalidUpdate" | "InvalidMetadataLength" | "InvalidLength" | "InvalidKeyMaterialId" | "KeyNotFound" | "SiweChallengeNotFound" | "SiweInvalidRequest" | "SiwsChallengeNotFound" | "SiwsInvalidRequest" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "MissingBybitApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "
|
|
2854
|
+
BadRequestErrorCode: "GenericBadRequest" | "CannotVoteOnRedeemedRequest" | "PendingOpAlreadyVetoed" | "MultiplePendingOpsReferenced" | "DisallowedAllowRuleReference" | "InvalidPaginationToken" | "InvalidEmail" | "InvalidEmailTemplate" | "QueryMetricsError" | "InvalidTelegramData" | "ValidationError" | "WebhookPolicyTimeoutOutOfBounds" | "WebhookPolicyDisallowedUrlScheme" | "WebhookPolicyDisallowedUrlHost" | "WebhookPolicyDisallowedHeaders" | "ReservedName" | "UserEmailNotConfigured" | "EmailPasswordNotFound" | "PasswordAuthNotAllowedByInvitation" | "OneTimeCodeExpired" | "InvalidBody" | "InvalidJwt" | "InvitationNoLongerValid" | "TokenRequestError" | "InvalidMfaReceipt" | "InvalidMfaPolicyCount" | "InvalidMfaPolicyNumAuthFactors" | "InvalidMfaPolicyNumAllowedApprovers" | "InvalidMfaPolicyGracePeriodTooLong" | "InvalidBabylonStakingPolicyParams" | "InvalidSuiTxReceiversEmptyAllowlist" | "InvalidBtcTxReceiversEmptyAllowlist" | "InvalidRequireRoleSessionAllowlist" | "InvalidCreateKeyCount" | "InvalidDiffieHellmanCount" | "OrgInviteExistingUser" | "OrgUserAlreadyExists" | "OrgNameTaken" | "KwkNotFoundInRegion" | "OrgIsNotOrgExport" | "RoleNameTaken" | "PolicyNameTaken" | "NameTaken" | "ContactNameInvalid" | "ContactAddressesInvalid" | "ContactLabelInvalid" | "ContactModified" | "PolicyNotFound" | "PolicyVersionNotFound" | "PolicyRuleDisallowedByType" | "PolicyTypeDisallowed" | "PolicyDuplicateError" | "PolicyStillAttached" | "PolicyModified" | "PolicyNotAttached" | "AddKeyToRoleCountTooHigh" | "InvalidKeyId" | "InvalidTimeLockAlreadyInThePast" | "InvalidRestrictedScopes" | "InvalidUpdate" | "InvalidMetadataLength" | "InvalidLength" | "InvalidKeyMaterialId" | "KeyNotFound" | "SiweChallengeNotFound" | "SiweInvalidRequest" | "SiwsChallengeNotFound" | "SiwsInvalidRequest" | "UserExportDerivedKey" | "UserExportPublicKeyInvalid" | "NistP256PublicKeyInvalid" | "UnableToAccessSmtpRelay" | "UserExportInProgress" | "RoleNotFound" | "InvalidRoleNameOrId" | "InvalidMfaReceiptOrgIdMissing" | "InvalidMfaReceiptInvalidOrgId" | "MfaRequestNotFound" | "InvalidKeyType" | "InvalidPropertiesForKeyType" | "MismatchedKeyPropertiesPatch" | "MissingBinanceApiKey" | "MissingBybitApiKey" | "MissingCoinbaseApiKey" | "BinanceKeyMasterMismatch" | "InvalidKeyMaterial" | "InvalidHexValue" | "InvalidBase32Value" | "InvalidBase58Value" | "InvalidBase64Value" | "InvalidSs58Value" | "InvalidForkVersionLength" | "InvalidEthAddress" | "InvalidStellarAddress" | "InvalidOrgNameOrId" | "InvalidUpdateOrgRequestDisallowedMfaType" | "InvalidUpdateOrgRequestEmptyAllowedMfaTypes" | "EmailOtpDelayTooShortForRegisterMfa" | "InvalidStakeDeposit" | "InvalidBlobSignRequest" | "InvalidDiffieHellmanRequest" | "InvalidSolanaSignRequest" | "InvalidEip712SignRequest" | "InvalidEip7702SignRequest" | "OnlySpecifyOne" | "IncompatibleParams" | "NoOidcDataInProof" | "InvalidEvmSignRequest" | "InvalidEth2SignRequest" | "InvalidDeriveKeyRequest" | "InvalidStakingAmount" | "CustomStakingAmountNotAllowedForWrapperContract" | "InvalidUnstakeRequest" | "InvalidCreateUserRequest" | "UserAlreadyExists" | "IdpUserAlreadyExists" | "CognitoUserAlreadyOrgMember" | "UserNotFound" | "UserWithEmailNotFound" | "PolicyKeyMismatch" | "EmptyScopes" | "InvalidScopesForRoleSession" | "InvalidLifetime" | "NoSingleKeyForUser" | "InvalidOrgPolicyRule" | "SourceIpAllowlistEmpty" | "LimitWindowTooLong" | "Erc20ContractDisallowed" | "EmptyRuleError" | "PolicyFieldValidationError" | "OptionalListEmpty" | "MultipleExclusiveFieldsProvided" | "DuplicateFieldEntry" | "InvalidRange" | "InvalidOrgPolicyRepeatedRule" | "InvalidSuiTransaction" | "SuiSenderMismatch" | "AvaSignHashError" | "AvaSignError" | "BtcSegwitHashError" | "BtcTaprootHashError" | "BtcSignError" | "TaprootSignError" | "Eip712SignError" | "InvalidMemberRoleInUserAdd" | "InvalidMemberRoleInRecipientAdd" | "ThirdPartyUserAlreadyExists" | "OidcIdentityAlreadyExists" | "UserAlreadyHasIdentity" | "ThirdPartyUserNotFound" | "DeleteOidcUserError" | "DeleteUserError" | "SessionRoleMismatch" | "InvalidOidcToken" | "InvalidOidcIdentity" | "OidcIssuerUnsupported" | "OidcIssuerNotAllowed" | "OidcIssuerNoApplicableJwk" | "FidoKeyAlreadyRegistered" | "FidoKeySignCountTooLow" | "FidoVerificationFailed" | "FidoChallengeMfaMismatch" | "UnsupportedLegacyCognitoSession" | "InvalidIdentityProof" | "PaginationDataExpired" | "ExistingKeysViolateExclusiveKeyAccess" | "ExportDelayTooShort" | "ExportWindowTooLong" | "InvalidTotpFailureLimit" | "InvalidEip191SignRequest" | "CannotResendUserInvitation" | "InvalidNotificationEndpointCount" | "CannotDeletePendingSubscription" | "InvalidNotificationUrlProtocol" | "EmptyOneOfOrgEventFilter" | "EmptyAllExceptOrgEventFilter" | "InvalidTapNodeHash" | "InvalidOneTimeCode" | "MessageNotFound" | "MessageAlreadySigned" | "MessageRejected" | "MessageReplaced" | "InvalidMessageType" | "EmptyAddress" | "InvalidEth2SigningPolicySlotRange" | "InvalidEth2SigningPolicyEpochRange" | "InvalidEth2SigningPolicyTimestampRange" | "InvalidEth2SigningPolicyOverlappingRule" | "RpcUrlMissing" | "MmiChainIdMissing" | "EthersInvalidRpcUrl" | "EthersGetTransactionCountError" | "InvalidPassword" | "BabylonStakingFeePlusDustOverflow" | "BabylonStaking" | "BabylonStakingIncorrectKey" | "BabylonStakingSegwitNonDeposit" | "BabylonStakingRegistrationRequiresTaproot" | "PsbtSigning" | "TooManyResets" | "TooManyRequests" | "TooManyFailedLogins" | "BadBtcMessageSignP2shFlag" | "InvalidTendermintRequest" | "PolicyVersionMaxReached" | "PolicyVersionInvalid" | "PolicySecretLimitReached" | "PolicySecretTooLarge" | "InvalidRandomSecretLength" | "InvalidImportKey" | "AlienOwnerInvalid" | "EmptyUpdateRequest" | "InvalidPolicyReference" | "PolicyEngineDisabled" | "InvalidWasmPolicy" | "CelProgramTooLarge" | "InvalidPolicy" | "RedundantDerivationPath" | "ImportKeyMissing" | "InvalidAbiMethods" | "BabylonCovSign" | "InvalidPolicyLogsRequest" | "UserProfileMigrationMultipleEntries" | "UserProfileMigrationTooManyItems" | "InputTooShort" | "InvalidTweakLength" | "InvalidCustomChains" | "InvalidRpcRequest" | "InvalidAclEntry";
|
|
2855
2855
|
BillingArgs: {
|
|
2856
2856
|
billing_org: components["schemas"]["Id"];
|
|
2857
2857
|
event_type: components["schemas"]["BillingEvent"];
|
|
@@ -2868,7 +2868,7 @@ export interface components {
|
|
|
2868
2868
|
* @description Billing event types.
|
|
2869
2869
|
* @enum {string}
|
|
2870
2870
|
*/
|
|
2871
|
-
BillingEvent: "mmi" | "mmiMessageGet" | "mmiMessageList" | "mmiMessageSign" | "mmiMessageReject" | "mmiMessageDelete" | "aboutMe" | "userResetEmailInit" | "userResetEmailComplete" | "userDeleteTotp" | "userResetTotpInit" | "userResetTotpComplete" | "userVerifyTotp" | "userRegisterFidoInit" | "userRegisterFidoComplete" | "userDeleteFido" | "createProofOidc" | "createProofCubeSigner" | "verifyProof" | "addOidcIdentity" | "removeOidcIdentity" | "listOidcIdentities" | "getOrg" | "updateOrg" | "getOrgExport" | "createOrg" | "listKeysInOrg" | "attestKey" | "getKeyInOrg" | "getKeyByMaterialId" | "listKeyRoles" | "updateKey" | "listHistoricalKeyTx" | "invite" | "cancelInvitation" | "listInvitations" | "listUsersInOrg" | "getUserInOrg" | "getUserInOrgByEmail" | "getUserInOrgByOidc" | "updateUserMembership" | "resetMemberMfa" | "completeResetMemberMfa" | "createRole" | "attestRole" | "getRole" | "listTokenKeys" | "listRoles" | "getRoleKey" | "listRoleKeys" | "listRoleUsers" | "updateRole" | "deleteRole" | "configureEmail" | "getEmailConfig" | "deleteEmailConfig" | "listHistoricalRoleTx" | "createPolicy" | "getPolicy" | "listPolicies" | "deletePolicy" | "updatePolicy" | "invokePolicy" | "getPolicyLogs" | "uploadWasmPolicy" | "getPolicySecrets" | "updatePolicySecrets" | "setPolicySecret" | "deletePolicySecret" | "createPolicyImportKey" | "getPolicyBucket" | "listPolicyBuckets" | "updatePolicyBucket" | "userExportDelete" | "userExportList" | "userExportInit" | "userExportComplete" | "addUserToRole" | "removeUserFromRole" | "mfaApproveCs" | "mfaRejectCs" | "mfaGet" | "mfaList" | "addKeysToRole" | "removeKeyFromRole" | "createRoleToken" | "createSession" | "revokeSession" | "revokeCurrentSession" | "revokeSessions" | "listSessions" | "getSession" | "signerSessionRefresh" | "mfaApproveTotp" | "mfaRejectTotp" | "mfaFidoInit" | "mfaApproveFidoComplete" | "mfaRejectFidoComplete" | "mfaEmailInit" | "mfaEmailComplete" | "cube3signerHeartbeat" | "createContact" | "getContact" | "listContacts" | "deleteContact" | "updateContact" | "lookupContactsByAddress" | "queryMetrics" | "queryAuditLog" | "counts" | "createKey" | "importKey" | "createKeyImportKey" | "deriveKey" | "deleteKey" | "avaSign" | "avaSerializedTxSign" | "babylonRegistration" | "babylonStaking" | "babylonCovSign" | "binanceSign" | "bybitSign" | "coinbaseSign" | "blobSign" | "btcMessageSign" | "btcSign" | "diffieHellmanExchange" | "psbtSign" | "psbtLegacyInputSign" | "psbtSegwitInputSign" | "psbtTaprootInputSign" | "btcTaprootSign" | "eip712Sign" | "eip191Sign" | "eip7702Sign" | "eth1Sign" | "eth2Sign" | "solanaSign" | "suiSign" | "tendermintSign" | "stake" | "unstake" | "passkeyAuthInit" | "passkeyAuthComplete" | "oidcAuth" | "oauth2Twitter" | "oauth2TokenRefresh" | "emailOtpAuth" | "siweInit" | "siweComplete" | "siwsInit" | "siwsComplete" | "telegramAuth" | "createOidcUser" | "deleteOidcUser" | "deleteUser" | "createEotsNonces" | "eotsSign" | "authMigrationIdentityAdd" | "authMigrationIdentityRemove" | "authMigrationUserUpdate" | "keyCreated" | "keyImported" | "invitationAccept" | "idpAuthenticate" | "idpPasswordResetRequest" | "idpPasswordResetConfirm" | "rpcApi" | "rpcCreateTransaction" | "rpcGetTransaction" | "rpcListTransactions" | "rpcBtcListUtxos" | "rpcRetryTransaction" | "rpcCancelTransaction" | "rpcBinance" | "rpcBybit" | "rpcCoinbase" | "customChainRpcCall" | "esploraApiCall" | "sentryApiCall" | "sentryApiCallPublic" | "mmiJwkSet" | "attestationJwkSet" | "userOrgs" | "public_org_info" | "email_my_orgs";
|
|
2871
|
+
BillingEvent: "mmi" | "mmiMessageGet" | "mmiMessageList" | "mmiMessageSign" | "mmiMessageReject" | "mmiMessageDelete" | "aboutMe" | "userResetEmailInit" | "userResetEmailComplete" | "userDeleteTotp" | "userResetTotpInit" | "userResetTotpComplete" | "userVerifyTotp" | "userRegisterFidoInit" | "userRegisterFidoComplete" | "userDeleteFido" | "createProofOidc" | "createProofCubeSigner" | "verifyProof" | "addOidcIdentity" | "removeOidcIdentity" | "listOidcIdentities" | "getOrg" | "updateOrg" | "getOrgExport" | "createOrg" | "listKeysInOrg" | "attestKey" | "getKeyInOrg" | "getKeyByMaterialId" | "listKeyRoles" | "updateKey" | "listHistoricalKeyTx" | "invite" | "cancelInvitation" | "listInvitations" | "listUsersInOrg" | "getUserInOrg" | "getUserInOrgByEmail" | "getUserInOrgByOidc" | "updateUserMembership" | "resetMemberMfa" | "completeResetMemberMfa" | "createRole" | "attestRole" | "getRole" | "listTokenKeys" | "listRoles" | "getRoleKey" | "listRoleKeys" | "listRoleUsers" | "updateRole" | "deleteRole" | "configureEmail" | "getEmailConfig" | "deleteEmailConfig" | "listHistoricalRoleTx" | "createPolicy" | "getPolicy" | "listPolicies" | "deletePolicy" | "updatePolicy" | "invokePolicy" | "getPolicyLogs" | "uploadWasmPolicy" | "getPolicySecrets" | "updatePolicySecrets" | "setPolicySecret" | "deletePolicySecret" | "createPolicyImportKey" | "getPolicyBucket" | "listPolicyBuckets" | "updatePolicyBucket" | "userExportDelete" | "userExportList" | "userExportInit" | "userExportComplete" | "addUserToRole" | "removeUserFromRole" | "mfaApproveCs" | "mfaRejectCs" | "mfaGet" | "mfaList" | "addKeysToRole" | "removeKeyFromRole" | "createRoleToken" | "createSession" | "revokeSession" | "revokeCurrentSession" | "revokeSessions" | "listSessions" | "getSession" | "signerSessionRefresh" | "mfaApproveTotp" | "mfaRejectTotp" | "mfaFidoInit" | "mfaApproveFidoComplete" | "mfaRejectFidoComplete" | "mfaEmailInit" | "mfaEmailComplete" | "cube3signerHeartbeat" | "createContact" | "getContact" | "listContacts" | "deleteContact" | "updateContact" | "lookupContactsByAddress" | "queryMetrics" | "queryAuditLog" | "counts" | "createKey" | "importKey" | "createKeyImportKey" | "deriveKey" | "deleteKey" | "avaSign" | "avaSerializedTxSign" | "babylonRegistration" | "babylonStaking" | "babylonCovSign" | "binanceSign" | "bybitSign" | "coinbaseSign" | "blobSign" | "btcMessageSign" | "btcSign" | "diffieHellmanExchange" | "psbtSign" | "psbtLegacyInputSign" | "psbtSegwitInputSign" | "psbtTaprootInputSign" | "btcTaprootSign" | "eip712Sign" | "eip191Sign" | "eip7702Sign" | "eth1Sign" | "eth2Sign" | "solanaSign" | "suiSign" | "tendermintSign" | "stake" | "unstake" | "passkeyAuthInit" | "passkeyAuthComplete" | "oidcAuth" | "oauth2Twitter" | "oauth2TokenRefresh" | "emailOtpAuth" | "siweInit" | "siweComplete" | "siwsInit" | "siwsComplete" | "telegramAuth" | "createOidcUser" | "deleteOidcUser" | "deleteUser" | "createEotsNonces" | "eotsSign" | "authMigrationIdentityAdd" | "authMigrationIdentityRemove" | "authMigrationUserUpdate" | "keyCreated" | "keyImported" | "invitationAccept" | "idpAuthenticate" | "idpPasswordResetRequest" | "idpPasswordResetConfirm" | "rpcApi" | "rpcCreateTransaction" | "rpcGetTransaction" | "rpcListTransactions" | "rpcBtcListUtxos" | "rpcRetryTransaction" | "rpcCancelTransaction" | "rpcDeleteTransaction" | "rpcBinance" | "rpcBybit" | "rpcCoinbase" | "customChainRpcCall" | "esploraApiCall" | "sentryApiCall" | "sentryApiCallPublic" | "mmiJwkSet" | "attestationJwkSet" | "userOrgs" | "public_org_info" | "email_my_orgs";
|
|
2872
2872
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
2873
2873
|
BinanceAccountInfoParams: components["schemas"]["AccountInfoRequest"] & {
|
|
2874
2874
|
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
@@ -3024,11 +3024,15 @@ export interface components {
|
|
|
3024
3024
|
/** @enum {string} */
|
|
3025
3025
|
method: "cs_binanceSubAccountDepositAddress";
|
|
3026
3026
|
params: components["schemas"]["BinanceSubAccountDepositAddressParams"];
|
|
3027
|
+
} | {
|
|
3028
|
+
/** @enum {string} */
|
|
3029
|
+
method: "cs_binanceSubAccountDepositHistory";
|
|
3030
|
+
params: components["schemas"]["BinanceSubAccountDepositHistoryParams"];
|
|
3027
3031
|
};
|
|
3028
3032
|
/** @description Response returned by the typed `binance_sign` endpoint. */
|
|
3029
3033
|
BinanceSignResponse: {
|
|
3030
3034
|
/** @description Optional policy evaluation tree. */
|
|
3031
|
-
policy_eval_tree?:
|
|
3035
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
3032
3036
|
} & {
|
|
3033
3037
|
/**
|
|
3034
3038
|
* @description The full signed query string, ready to be submitted to Binance.
|
|
@@ -3061,6 +3065,18 @@ export interface components {
|
|
|
3061
3065
|
recvWindow?: number | null;
|
|
3062
3066
|
};
|
|
3063
3067
|
/** @description Parameters envelope for all Binance RPC methods. */
|
|
3068
|
+
BinanceSubAccountDepositHistoryParams: components["schemas"]["SubAccountDepositHistoryRequest"] & {
|
|
3069
|
+
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
3070
|
+
keyId: components["schemas"]["Id"];
|
|
3071
|
+
/**
|
|
3072
|
+
* Format: float
|
|
3073
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
3074
|
+
* May only be specified in milliseconds, with up to three decimal places of precision.
|
|
3075
|
+
* If omitted, defaults to 10000. Must not be greater than 60000.
|
|
3076
|
+
*/
|
|
3077
|
+
recvWindow?: number | null;
|
|
3078
|
+
};
|
|
3079
|
+
/** @description Parameters envelope for all Binance RPC methods. */
|
|
3064
3080
|
BinanceSubAccountTransferHistoryParams: components["schemas"]["SubAccountTransferHistoryRequest"] & {
|
|
3065
3081
|
dryRun?: components["schemas"]["BinanceDryRunMode"] | null;
|
|
3066
3082
|
keyId: components["schemas"]["Id"];
|
|
@@ -3300,7 +3316,7 @@ export interface components {
|
|
|
3300
3316
|
/** @description BTC message signing response */
|
|
3301
3317
|
BtcMessageSignResponse: {
|
|
3302
3318
|
/** @description Optional policy evaluation tree. */
|
|
3303
|
-
policy_eval_tree?:
|
|
3319
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
3304
3320
|
} & {
|
|
3305
3321
|
/** @description The base64-encoded signature in BIP137 format. */
|
|
3306
3322
|
sig: string;
|
|
@@ -3466,6 +3482,11 @@ export interface components {
|
|
|
3466
3482
|
org_id: components["schemas"]["Id"];
|
|
3467
3483
|
owner: components["schemas"]["Id"];
|
|
3468
3484
|
};
|
|
3485
|
+
/**
|
|
3486
|
+
* @description Different Bybit account kinds.
|
|
3487
|
+
* @enum {string}
|
|
3488
|
+
*/
|
|
3489
|
+
BybitAccountKind: "Main" | "Sub";
|
|
3469
3490
|
/**
|
|
3470
3491
|
* @description Wire-format patch payload for [`KeyProperties::BybitApi`].
|
|
3471
3492
|
*
|
|
@@ -3473,6 +3494,7 @@ export interface components {
|
|
|
3473
3494
|
* leaves the existing value alone, a JSON `null` clears it, and a value sets it.
|
|
3474
3495
|
*/
|
|
3475
3496
|
BybitApiPropertiesPatch: {
|
|
3497
|
+
account_kind?: components["schemas"]["BybitAccountKind"] | null;
|
|
3476
3498
|
/** @description The Bybit-issued API key string. Encrypted server-side before storage. */
|
|
3477
3499
|
api_key?: string | null;
|
|
3478
3500
|
/** @description Arbitrary label. Useful for storing the corresponding API key label on the Bybit side. */
|
|
@@ -3940,6 +3962,10 @@ export interface components {
|
|
|
3940
3962
|
/** @enum {string} */
|
|
3941
3963
|
method: "cs_bybitDepositHistory";
|
|
3942
3964
|
params: components["schemas"]["BybitDepositHistoryParams"];
|
|
3965
|
+
} | {
|
|
3966
|
+
/** @enum {string} */
|
|
3967
|
+
method: "cs_bybitSubDepositHistory";
|
|
3968
|
+
params: components["schemas"]["BybitSubDepositHistoryParams"];
|
|
3943
3969
|
} | {
|
|
3944
3970
|
/** @enum {string} */
|
|
3945
3971
|
method: "cs_bybitUniversalTransferHistory";
|
|
@@ -3956,7 +3982,7 @@ export interface components {
|
|
|
3956
3982
|
/** @description Response returned by the typed `bybit_sign` endpoint. */
|
|
3957
3983
|
BybitSignResponse: {
|
|
3958
3984
|
/** @description Optional policy evaluation tree. */
|
|
3959
|
-
policy_eval_tree?:
|
|
3985
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
3960
3986
|
} & {
|
|
3961
3987
|
/**
|
|
3962
3988
|
* @description The Bybit-bound payload (URL-encoded query for GET, JSON body for
|
|
@@ -3981,6 +4007,67 @@ export interface components {
|
|
|
3981
4007
|
*/
|
|
3982
4008
|
timestamp_ms: number;
|
|
3983
4009
|
};
|
|
4010
|
+
/**
|
|
4011
|
+
* @description Parameters envelope for all Bybit RPC variants whose payload schema is
|
|
4012
|
+
* derived from a `*Request` struct. (`BybitQueryUserParams` and
|
|
4013
|
+
* `BybitQuerySubMembersParams` have no per-variant payload and are defined
|
|
4014
|
+
* directly below.)
|
|
4015
|
+
*/
|
|
4016
|
+
BybitSubDepositHistoryParams: components["schemas"]["BybitSubDepositHistoryRequest"] & {
|
|
4017
|
+
dryRun?: components["schemas"]["BybitDryRunMode"] | null;
|
|
4018
|
+
keyId: components["schemas"]["Id"];
|
|
4019
|
+
/**
|
|
4020
|
+
* Format: int32
|
|
4021
|
+
* @description Optional "receive window", i.e., for how long the request stays valid.
|
|
4022
|
+
* Specified in milliseconds. If omitted, defaults to 10000.
|
|
4023
|
+
*/
|
|
4024
|
+
recvWindow?: number | null;
|
|
4025
|
+
};
|
|
4026
|
+
/**
|
|
4027
|
+
* @description Parameters for `GET /v5/asset/deposit/query-sub-member-record`.
|
|
4028
|
+
*
|
|
4029
|
+
* Master-only: returns the deposit records of the sub-account named by
|
|
4030
|
+
* `sub_member_id`. Bybit exposes these to the parent account's credentials
|
|
4031
|
+
* alone; a sub-account key reads its own deposits through
|
|
4032
|
+
* [`BybitDepositHistoryRequest`] instead.
|
|
4033
|
+
*
|
|
4034
|
+
* By default, queries records from the last 30 days; otherwise, `endTime` -
|
|
4035
|
+
* `startTime` must be less than 30 days.
|
|
4036
|
+
*/
|
|
4037
|
+
BybitSubDepositHistoryRequest: {
|
|
4038
|
+
/** @description Filter by coin symbol (uppercase). */
|
|
4039
|
+
coin?: string | null;
|
|
4040
|
+
/** @description Pagination cursor (the `nextPageCursor` from a prior response). */
|
|
4041
|
+
cursor?: string | null;
|
|
4042
|
+
/**
|
|
4043
|
+
* Format: int64
|
|
4044
|
+
* @description End timestamp (ms since epoch).
|
|
4045
|
+
*/
|
|
4046
|
+
endTime?: number | null;
|
|
4047
|
+
/** @description Filter by Bybit-internal deposit id. */
|
|
4048
|
+
id?: string | null;
|
|
4049
|
+
/**
|
|
4050
|
+
* Format: int32
|
|
4051
|
+
* @description Page size, `[1, 50]`. Defaults to 50.
|
|
4052
|
+
*/
|
|
4053
|
+
limit?: number | null;
|
|
4054
|
+
/**
|
|
4055
|
+
* Format: int64
|
|
4056
|
+
* @description Start timestamp (ms since epoch). The span between `start_time` and
|
|
4057
|
+
* `end_time` must not exceed 30 days.
|
|
4058
|
+
*/
|
|
4059
|
+
startTime?: number | null;
|
|
4060
|
+
/**
|
|
4061
|
+
* @description UID of the sub-account whose deposit history to fetch. Bybit requires
|
|
4062
|
+
* this, so there is no "calling account" fallback on this endpoint.
|
|
4063
|
+
*/
|
|
4064
|
+
subMemberId: string;
|
|
4065
|
+
/**
|
|
4066
|
+
* @description Filter by on-chain transaction id. Data before 2024-01-01 is not
|
|
4067
|
+
* queryable via this field.
|
|
4068
|
+
*/
|
|
4069
|
+
txID?: string | null;
|
|
4070
|
+
};
|
|
3984
4071
|
/** @description One entry in [`BybitQuerySubMembersResponse::sub_members`]. */
|
|
3985
4072
|
BybitSubMember: {
|
|
3986
4073
|
/**
|
|
@@ -4295,20 +4382,51 @@ export interface components {
|
|
|
4295
4382
|
*/
|
|
4296
4383
|
recvWindow?: number | null;
|
|
4297
4384
|
};
|
|
4298
|
-
/**
|
|
4385
|
+
/**
|
|
4386
|
+
* @description Parameters for `GET /v5/asset/withdraw/query-record`.
|
|
4387
|
+
*
|
|
4388
|
+
* Master-only: Bybit answers this endpoint for the master UID's API key
|
|
4389
|
+
* alone, and has no sub-account equivalent, because sub-accounts cannot
|
|
4390
|
+
* withdraw to an external address.
|
|
4391
|
+
*
|
|
4392
|
+
* By default, queries records from the last 30 days; otherwise, `endTime` -
|
|
4393
|
+
* `startTime` must be less than 30 days.
|
|
4394
|
+
*/
|
|
4299
4395
|
BybitWithdrawalsRequest: {
|
|
4300
4396
|
/** @description Filter by coin symbol. */
|
|
4301
4397
|
coin?: string | null;
|
|
4398
|
+
/** @description Pagination cursor (the `nextPageCursor` from a prior response). */
|
|
4399
|
+
cursor?: string | null;
|
|
4400
|
+
/**
|
|
4401
|
+
* Format: int64
|
|
4402
|
+
* @description End timestamp (ms since epoch).
|
|
4403
|
+
*/
|
|
4404
|
+
endTime?: number | null;
|
|
4302
4405
|
/**
|
|
4303
4406
|
* Format: int32
|
|
4304
|
-
* @description Page size.
|
|
4407
|
+
* @description Page size, `[1, 50]`. Defaults to 50.
|
|
4305
4408
|
*/
|
|
4306
4409
|
limit?: number | null;
|
|
4410
|
+
/**
|
|
4411
|
+
* Format: int64
|
|
4412
|
+
* @description Start timestamp (ms since epoch). The span between `start_time` and
|
|
4413
|
+
* `end_time` must not exceed 30 days.
|
|
4414
|
+
*/
|
|
4415
|
+
startTime?: number | null;
|
|
4416
|
+
/** @description Filter by on-chain transaction id. */
|
|
4417
|
+
txID?: string | null;
|
|
4307
4418
|
/**
|
|
4308
4419
|
* @description Filter by Bybit-assigned withdrawal id (the `id` returned by
|
|
4309
4420
|
* [`BybitRpc::Withdraw`]).
|
|
4310
4421
|
*/
|
|
4311
4422
|
withdrawID?: string | null;
|
|
4423
|
+
/**
|
|
4424
|
+
* Format: int32
|
|
4425
|
+
* @description Which kinds of withdrawal to return: `0` on-chain only, `1` off-chain
|
|
4426
|
+
* (internal Bybit-to-Bybit) only, `2` both. Bybit defaults to `0`, so
|
|
4427
|
+
* internal transfers out are invisible unless this is set to `1` or `2`.
|
|
4428
|
+
*/
|
|
4429
|
+
withdrawType?: number | null;
|
|
4312
4430
|
};
|
|
4313
4431
|
/** @description Response of `GET /v5/asset/withdraw/query-record`. */
|
|
4314
4432
|
BybitWithdrawalsResponse: {
|
|
@@ -4320,10 +4438,20 @@ export interface components {
|
|
|
4320
4438
|
/** @description Withdrawal records matching the query. */
|
|
4321
4439
|
rows: components["schemas"]["BybitWithdrawEntry"][];
|
|
4322
4440
|
};
|
|
4441
|
+
/** @description Return type of [proxy::call_webhook] */
|
|
4442
|
+
CallWebhookResult: {
|
|
4443
|
+
/** @description The response body */
|
|
4444
|
+
body: string;
|
|
4445
|
+
/**
|
|
4446
|
+
* Format: int32
|
|
4447
|
+
* @description The HTTP status of the response
|
|
4448
|
+
*/
|
|
4449
|
+
status: number;
|
|
4450
|
+
};
|
|
4323
4451
|
CancelInvitationRequest: {
|
|
4324
4452
|
email: components["schemas"]["Email"];
|
|
4325
4453
|
};
|
|
4326
|
-
/** @description Parameters for the [`
|
|
4454
|
+
/** @description Parameters for the [`cs_transactionCancel`](RpcMethod::CancelTransaction) method. */
|
|
4327
4455
|
CancelTransactionRequest: {
|
|
4328
4456
|
/** @description The transaction id. */
|
|
4329
4457
|
id: string;
|
|
@@ -4643,7 +4771,7 @@ export interface components {
|
|
|
4643
4771
|
/** @description Response returned by the typed `coinbase_sign` endpoint. */
|
|
4644
4772
|
CoinbaseSignResponse: {
|
|
4645
4773
|
/** @description Optional policy evaluation tree. */
|
|
4646
|
-
policy_eval_tree?:
|
|
4774
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
4647
4775
|
} & {
|
|
4648
4776
|
/**
|
|
4649
4777
|
* @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
|
|
@@ -4709,6 +4837,11 @@ export interface components {
|
|
|
4709
4837
|
[key: string]: number;
|
|
4710
4838
|
};
|
|
4711
4839
|
};
|
|
4840
|
+
/** @description Evaluation of a single if-then-else conditional. */
|
|
4841
|
+
Conditional: {
|
|
4842
|
+
if: components["schemas"]["PolicyEvalTree"];
|
|
4843
|
+
then?: components["schemas"]["PolicyEvalTree"] | null;
|
|
4844
|
+
};
|
|
4712
4845
|
ConfigureEmailRequest: {
|
|
4713
4846
|
auth: {
|
|
4714
4847
|
smtp: string;
|
|
@@ -4795,6 +4928,11 @@ export interface components {
|
|
|
4795
4928
|
*/
|
|
4796
4929
|
ContactLabel: "cubist:erc20_token" | "cubist:spl_token";
|
|
4797
4930
|
CreateAndUpdateKeyProperties: {
|
|
4931
|
+
/**
|
|
4932
|
+
* @description Set this key's access-control entries.
|
|
4933
|
+
* For an existing key, this overwrites the current acl, if any.
|
|
4934
|
+
*/
|
|
4935
|
+
acl?: unknown;
|
|
4798
4936
|
edit_policy?: components["schemas"]["EditPolicy"] | null;
|
|
4799
4937
|
/**
|
|
4800
4938
|
* @description Set this key's metadata. If this value is `null`, the metadata is erased. If the field is
|
|
@@ -5027,7 +5165,7 @@ export interface components {
|
|
|
5027
5165
|
*/
|
|
5028
5166
|
scopes?: components["schemas"]["Scope"][] | null;
|
|
5029
5167
|
};
|
|
5030
|
-
/** @description Parameters for the [`
|
|
5168
|
+
/** @description Parameters for the [`cs_transactionCreate`](RpcMethod::CreateTransaction) method. */
|
|
5031
5169
|
CreateTransactionRequest: {
|
|
5032
5170
|
type: "CreateTransactionRequest";
|
|
5033
5171
|
} & Omit<components["schemas"]["CreateEvmTransactionRequest"], "type"> & {
|
|
@@ -5046,23 +5184,27 @@ export interface components {
|
|
|
5046
5184
|
/** @description Core RPC methods (transaction CRUD). */
|
|
5047
5185
|
CsRpc: {
|
|
5048
5186
|
/** @enum {string} */
|
|
5049
|
-
method: "
|
|
5187
|
+
method: "cs_transactionCreate";
|
|
5050
5188
|
params: components["schemas"]["CreateTransactionRequest"];
|
|
5051
5189
|
} | {
|
|
5052
5190
|
/** @enum {string} */
|
|
5053
|
-
method: "
|
|
5191
|
+
method: "cs_transactionRetry";
|
|
5054
5192
|
params: components["schemas"]["RetryTransactionRequest"];
|
|
5055
5193
|
} | {
|
|
5056
5194
|
/** @enum {string} */
|
|
5057
|
-
method: "
|
|
5195
|
+
method: "cs_transactionCancel";
|
|
5058
5196
|
params: components["schemas"]["CancelTransactionRequest"];
|
|
5059
5197
|
} | {
|
|
5060
5198
|
/** @enum {string} */
|
|
5061
|
-
method: "
|
|
5199
|
+
method: "cs_transactionDelete";
|
|
5200
|
+
params: components["schemas"]["DeleteTransactionRequest"];
|
|
5201
|
+
} | {
|
|
5202
|
+
/** @enum {string} */
|
|
5203
|
+
method: "cs_transactionGet";
|
|
5062
5204
|
params: components["schemas"]["GetTransactionRequest"];
|
|
5063
5205
|
} | {
|
|
5064
5206
|
/** @enum {string} */
|
|
5065
|
-
method: "
|
|
5207
|
+
method: "cs_transactionList";
|
|
5066
5208
|
params: components["schemas"]["ListTransactionsRequest"];
|
|
5067
5209
|
} | {
|
|
5068
5210
|
/** @enum {string} */
|
|
@@ -5101,6 +5243,22 @@ export interface components {
|
|
|
5101
5243
|
/** @description Custom EVM chains. */
|
|
5102
5244
|
evm: components["schemas"]["EvmCustomChain"][];
|
|
5103
5245
|
};
|
|
5246
|
+
/** @description Parameters for the [`cs_transactionDelete`](RpcMethod::DeleteTransaction) method. */
|
|
5247
|
+
DeleteTransactionRequest: {
|
|
5248
|
+
/**
|
|
5249
|
+
* @description Whether to force the deletion.
|
|
5250
|
+
*
|
|
5251
|
+
* Transactions that are not "submitted" or "canceled" will not be deleted unless
|
|
5252
|
+
* this is true.
|
|
5253
|
+
*
|
|
5254
|
+
* **Note:** force deleting a pending transaction may prevent follow-up transactions
|
|
5255
|
+
* from succeeding, and require manual intervention (e.g. specifying the key nonce).
|
|
5256
|
+
* We strongly advise canceling the transaction first.
|
|
5257
|
+
*/
|
|
5258
|
+
force?: boolean | null;
|
|
5259
|
+
/** @description The transaction id. */
|
|
5260
|
+
id: string;
|
|
5261
|
+
};
|
|
5104
5262
|
/** @description One deposit entry in [`DepositHistoryResponse`]. */
|
|
5105
5263
|
DepositHistoryEntry: {
|
|
5106
5264
|
/** @description Destination address the deposit was sent to. */
|
|
@@ -5396,7 +5554,7 @@ export interface components {
|
|
|
5396
5554
|
response_type: "encrypted";
|
|
5397
5555
|
}) & {
|
|
5398
5556
|
/** @description Optional policy evaluation tree. */
|
|
5399
|
-
policy_eval_tree?:
|
|
5557
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5400
5558
|
} & Record<string, never>;
|
|
5401
5559
|
/**
|
|
5402
5560
|
* @description A policy which governs when and who is allowed to update the entity this policy is
|
|
@@ -5723,7 +5881,7 @@ export interface components {
|
|
|
5723
5881
|
/** @description Response generated when creating EOTS nonces */
|
|
5724
5882
|
EotsCreateNonceResponse: {
|
|
5725
5883
|
/** @description Optional policy evaluation tree. */
|
|
5726
|
-
policy_eval_tree?:
|
|
5884
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5727
5885
|
} & {
|
|
5728
5886
|
/**
|
|
5729
5887
|
* @description The generated nonces as an array of 0x-prefixed hex strings
|
|
@@ -5801,7 +5959,7 @@ export interface components {
|
|
|
5801
5959
|
/** @description Error message */
|
|
5802
5960
|
message: string;
|
|
5803
5961
|
/** @description Optional policy evaluation tree (included in signer responses, when requested) */
|
|
5804
|
-
policy_eval_tree?:
|
|
5962
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5805
5963
|
/** @description Optional request identifier */
|
|
5806
5964
|
request_id?: string;
|
|
5807
5965
|
};
|
|
@@ -5869,7 +6027,7 @@ export interface components {
|
|
|
5869
6027
|
};
|
|
5870
6028
|
Eth1SignResponse: {
|
|
5871
6029
|
/** @description Optional policy evaluation tree. */
|
|
5872
|
-
policy_eval_tree?:
|
|
6030
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5873
6031
|
} & {
|
|
5874
6032
|
/**
|
|
5875
6033
|
* @description Hex-encoded RLP encoding of the transaction and its signature
|
|
@@ -5925,6 +6083,11 @@ export interface components {
|
|
|
5925
6083
|
eth2_sign_request: Record<string, never>;
|
|
5926
6084
|
network: components["schemas"]["Network"];
|
|
5927
6085
|
};
|
|
6086
|
+
/**
|
|
6087
|
+
* @description Auto-generated discriminant enum variants
|
|
6088
|
+
* @enum {string}
|
|
6089
|
+
*/
|
|
6090
|
+
EvalOutcome: "Permitted" | "Inapplicable" | "Denied" | "MfaRequired";
|
|
5928
6091
|
/**
|
|
5929
6092
|
* @description Representation of an event. This type is used to serialize events to CloudWatch Logs and to
|
|
5930
6093
|
* deserialize them when analyzing the logs.
|
|
@@ -6106,7 +6269,7 @@ export interface components {
|
|
|
6106
6269
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
6107
6270
|
* @enum {string}
|
|
6108
6271
|
*/
|
|
6109
|
-
ExplicitScope: "sign:*" | "sign:ava" | "sign:binance:*" | "sign:binance:subToMaster" | "sign:binance:subToSub" | "sign:binance:universalTransfer" | "sign:binance:subAccountAssets" | "sign:binance:accountInfo" | "sign:binance:subAccountTransferHistory" | "sign:binance:universalTransferHistory" | "sign:binance:withdraw" | "sign:binance:withdrawHistory" | "sign:binance:deposit" | "sign:binance:depositHistory" | "sign:binance:listSubAccounts" | "sign:binance:coinInfo" | "sign:binance:subAccountDepositAddress" | "sign:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:bybit:queryCoinInfo" | "sign:bybit:depositHistory" | "sign:bybit:universalTransferHistory" | "sign:bybit:queryWithdrawAddress" | "sign:bybit:querySubDepositAddress" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign:evm:eip7702" | "sign:eth2:*" | "sign:eth2:validate" | "sign:eth2:stake" | "sign:eth2:unstake" | "sign:solana" | "sign:sui" | "sign:tendermint" | "sign:mmi" | "sign:auto" | "manage:*" | "manage:readonly" | "manage:email:*" | "manage:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update:properties" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "manage:policy:readonly" | "manage:policy:create" | "manage:policy:get" | "manage:policy:list" | "manage:policy:delete" | "manage:policy:update:*" | "manage:policy:update:owner" | "manage:policy:update:name" | "manage:policy:update:acl" | "manage:policy:update:editPolicy" | "manage:policy:update:metadata" | "manage:policy:update:rule" | "manage:policy:invoke" | "manage:policy:wasm:*" | "manage:policy:wasm:upload" | "manage:policy:secrets:*" | "manage:policy:secrets:get" | "manage:policy:secrets:update:*" | "manage:policy:secrets:update:values" | "manage:policy:secrets:update:acl" | "manage:policy:secrets:update:editPolicy" | "manage:policy:buckets:*" | "manage:policy:buckets:get" | "manage:policy:buckets:list" | "manage:policy:buckets:update:*" | "manage:policy:buckets:update:owner" | "manage:policy:buckets:update:acl" | "manage:policy:buckets:update:metadata" | "manage:contact:*" | "manage:contact:readonly" | "manage:contact:create" | "manage:contact:get" | "manage:contact:list" | "manage:contact:delete" | "manage:contact:update:*" | "manage:contact:update:name" | "manage:contact:update:addresses" | "manage:contact:update:owner" | "manage:contact:update:labels" | "manage:contact:update:metadata" | "manage:contact:update:editPolicy" | "manage:contact:lookup:*" | "manage:contact:lookup:address" | "manage:policy:createImportKey" | "manage:role:*" | "manage:role:readonly" | "manage:role:create" | "manage:role:delete" | "manage:role:get:*" | "manage:role:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership:*" | "manage:org:updateMembership:owner" | "manage:org:updateMembership:member" | "manage:org:updateMembership:alien" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser:*" | "manage:org:deleteUser:owner" | "manage:org:deleteUser:member" | "manage:org:deleteUser:alien" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:
|
|
6272
|
+
ExplicitScope: "sign:*" | "sign:ava" | "sign:binance:*" | "sign:binance:subToMaster" | "sign:binance:subToSub" | "sign:binance:universalTransfer" | "sign:binance:subAccountAssets" | "sign:binance:accountInfo" | "sign:binance:subAccountTransferHistory" | "sign:binance:universalTransferHistory" | "sign:binance:withdraw" | "sign:binance:withdrawHistory" | "sign:binance:deposit" | "sign:binance:depositHistory" | "sign:binance:listSubAccounts" | "sign:binance:coinInfo" | "sign:binance:subAccountDepositAddress" | "sign:binance:subAccountDepositHistory" | "sign:bybit:*" | "sign:bybit:queryUser" | "sign:bybit:querySubMembers" | "sign:bybit:queryCoinsBalance" | "sign:bybit:queryDepositAddress" | "sign:bybit:universalTransfer" | "sign:bybit:withdraw" | "sign:bybit:withdrawals" | "sign:bybit:queryCoinInfo" | "sign:bybit:depositHistory" | "sign:bybit:subDepositHistory" | "sign:bybit:universalTransferHistory" | "sign:bybit:queryWithdrawAddress" | "sign:bybit:querySubDepositAddress" | "sign:coinbase:*" | "sign:coinbase:accounts:list" | "sign:coinbase:portfolios:list" | "sign:coinbase:funds:move" | "sign:blob" | "sign:diffieHellman" | "sign:btc:*" | "sign:btc:segwit" | "sign:btc:taproot" | "sign:btc:psbt:*" | "sign:btc:psbt:doge" | "sign:btc:psbt:legacy" | "sign:btc:psbt:segwit" | "sign:btc:psbt:taproot" | "sign:btc:psbt:ltcSegwit" | "sign:btc:message:*" | "sign:btc:message:segwit" | "sign:btc:message:legacy" | "sign:babylon:*" | "sign:babylon:eots:*" | "sign:babylon:eots:nonces" | "sign:babylon:eots:sign" | "sign:babylon:staking:*" | "sign:babylon:staking:deposit" | "sign:babylon:staking:unbond" | "sign:babylon:staking:withdraw" | "sign:babylon:staking:slash" | "sign:babylon:registration" | "sign:babylon:covenant" | "sign:evm:*" | "sign:evm:tx" | "sign:evm:eip191" | "sign:evm:eip712" | "sign:evm:eip7702" | "sign:eth2:*" | "sign:eth2:validate" | "sign:eth2:stake" | "sign:eth2:unstake" | "sign:solana" | "sign:sui" | "sign:tendermint" | "sign:mmi" | "sign:auto" | "manage:*" | "manage:readonly" | "manage:email:*" | "manage:email:get" | "manage:email:update" | "manage:email:delete" | "manage:mfa:*" | "manage:mfa:readonly" | "manage:mfa:list" | "manage:mfa:vote:*" | "manage:mfa:vote:cs" | "manage:mfa:vote:email" | "manage:mfa:vote:fido" | "manage:mfa:vote:totp" | "manage:mfa:register:*" | "manage:mfa:register:fido" | "manage:mfa:register:totp" | "manage:mfa:register:email" | "manage:mfa:unregister:*" | "manage:mfa:unregister:fido" | "manage:mfa:unregister:totp" | "manage:mfa:verify:*" | "manage:mfa:verify:totp" | "manage:key:*" | "manage:key:readonly" | "manage:key:get" | "manage:key:attest" | "manage:key:listRoles" | "manage:key:list" | "manage:key:history:tx:list" | "manage:key:create" | "manage:key:import" | "manage:key:update:*" | "manage:key:update:owner" | "manage:key:update:policy" | "manage:key:update:acl" | "manage:key:update:enabled" | "manage:key:update:region" | "manage:key:update:metadata" | "manage:key:update:properties" | "manage:key:update:editPolicy" | "manage:key:delete" | "manage:policy:*" | "manage:policy:readonly" | "manage:policy:create" | "manage:policy:get" | "manage:policy:list" | "manage:policy:delete" | "manage:policy:update:*" | "manage:policy:update:owner" | "manage:policy:update:name" | "manage:policy:update:acl" | "manage:policy:update:editPolicy" | "manage:policy:update:metadata" | "manage:policy:update:rule" | "manage:policy:invoke" | "manage:policy:wasm:*" | "manage:policy:wasm:upload" | "manage:policy:secrets:*" | "manage:policy:secrets:get" | "manage:policy:secrets:update:*" | "manage:policy:secrets:update:values" | "manage:policy:secrets:update:acl" | "manage:policy:secrets:update:editPolicy" | "manage:policy:buckets:*" | "manage:policy:buckets:get" | "manage:policy:buckets:list" | "manage:policy:buckets:update:*" | "manage:policy:buckets:update:owner" | "manage:policy:buckets:update:acl" | "manage:policy:buckets:update:metadata" | "manage:contact:*" | "manage:contact:readonly" | "manage:contact:create" | "manage:contact:get" | "manage:contact:list" | "manage:contact:delete" | "manage:contact:update:*" | "manage:contact:update:name" | "manage:contact:update:addresses" | "manage:contact:update:owner" | "manage:contact:update:labels" | "manage:contact:update:metadata" | "manage:contact:update:editPolicy" | "manage:contact:lookup:*" | "manage:contact:lookup:address" | "manage:policy:createImportKey" | "manage:role:*" | "manage:role:readonly" | "manage:role:create" | "manage:role:delete" | "manage:role:get:*" | "manage:role:attest" | "manage:role:get:keys" | "manage:role:get:keys:list" | "manage:role:get:keys:get" | "manage:role:get:users" | "manage:role:list" | "manage:role:update:*" | "manage:role:update:enabled" | "manage:role:update:policy" | "manage:role:update:editPolicy" | "manage:role:update:actions" | "manage:role:update:key:*" | "manage:role:update:key:add" | "manage:role:update:key:remove" | "manage:role:update:user:*" | "manage:role:update:user:add" | "manage:role:update:user:remove" | "manage:role:history:tx:list" | "manage:identity:*" | "manage:identity:readonly" | "manage:identity:verify" | "manage:identity:add" | "manage:identity:remove" | "manage:identity:list" | "manage:org:*" | "manage:org:create" | "manage:org:metrics:query" | "manage:org:audit:query" | "manage:org:readonly" | "manage:org:addUser" | "manage:org:inviteUser" | "manage:org:inviteAlien" | "manage:org:invitation:list" | "manage:org:invitation:cancel" | "manage:org:updateMembership:*" | "manage:org:updateMembership:owner" | "manage:org:updateMembership:member" | "manage:org:updateMembership:alien" | "manage:org:listUsers" | "manage:org:user:get" | "manage:org:deleteUser:*" | "manage:org:deleteUser:owner" | "manage:org:deleteUser:member" | "manage:org:deleteUser:alien" | "manage:org:get" | "manage:org:update:*" | "manage:org:update:enabled" | "manage:org:update:policy" | "manage:org:update:signPolicy" | "manage:org:update:export" | "manage:org:update:totpFailureLimit" | "manage:org:update:notificationEndpoints" | "manage:org:update:defaultInviteKind" | "manage:org:update:idpConfiguration" | "manage:org:update:passkeyConfiguration" | "manage:org:update:emailPreferences" | "manage:org:update:historicalData" | "manage:org:update:requireScopeCeiling" | "manage:org:update:alienLoginRequirement" | "manage:org:update:memberLoginRequirement" | "manage:org:update:keyExportRequirement" | "manage:org:update:allowedMfaTypes" | "manage:org:update:policyEngineConf" | "manage:org:update:customChains" | "manage:org:update:extProps" | "manage:org:update:editPolicy" | "manage:org:user:resetMfa" | "manage:session:*" | "manage:session:readonly" | "manage:session:get" | "manage:session:list" | "manage:session:create" | "manage:session:extend" | "manage:session:revoke" | "manage:export:*" | "manage:export:readonly" | "manage:export:org:*" | "manage:export:org:get" | "manage:export:user:*" | "manage:export:user:delete" | "manage:export:user:list" | "manage:authMigration:*" | "manage:authMigration:identity:add" | "manage:authMigration:identity:remove" | "manage:authMigration:user:update" | "manage:mmi:*" | "manage:mmi:readonly" | "manage:mmi:get" | "manage:mmi:list" | "manage:mmi:reject" | "manage:mmi:delete" | "export:*" | "export:user:*" | "export:user:init" | "export:user:complete" | "mmi:*" | "orgAccess:*" | "orgAccess:child:*" | "rpc:*" | "rpc:transaction:*" | "rpc:transaction:create:*" | "rpc:transaction:create:evm" | "rpc:transaction:retry" | "rpc:transaction:cancel" | "rpc:transaction:delete" | "rpc:transaction:get" | "rpc:transaction:list" | "rpc:btcListUtxos" | "rpc:binance" | "rpc:bybit" | "rpc:coinbase";
|
|
6110
6273
|
/**
|
|
6111
6274
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
6112
6275
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -6241,7 +6404,7 @@ export interface components {
|
|
|
6241
6404
|
GetKeysInOrgRequest: {
|
|
6242
6405
|
key_type?: components["schemas"]["KeyType"] | null;
|
|
6243
6406
|
};
|
|
6244
|
-
/** @description Parameters for the [`
|
|
6407
|
+
/** @description Parameters for the [`cs_transactionGet`](RpcMethod::GetTransaction) method. */
|
|
6245
6408
|
GetTransactionRequest: {
|
|
6246
6409
|
id: components["schemas"]["Id"];
|
|
6247
6410
|
};
|
|
@@ -6598,7 +6761,7 @@ export interface components {
|
|
|
6598
6761
|
result?: Record<string, unknown> | null;
|
|
6599
6762
|
};
|
|
6600
6763
|
/** @description Valid `result` from the JSON-RPC API. */
|
|
6601
|
-
JsonRpcResult: components["schemas"]["
|
|
6764
|
+
JsonRpcResult: components["schemas"]["RpcTransactionInfo"] | components["schemas"]["ListTransactionsPaginatedResponse"] | components["schemas"]["SubAccountTransferResponse"] | components["schemas"]["UniversalTransferResponse"] | components["schemas"]["SubAccountAssetsResponse"] | components["schemas"]["AccountInfoResponse"] | components["schemas"]["SubAccountTransferHistoryResponse"] | components["schemas"]["UniversalTransferHistoryResponse"] | components["schemas"]["WithdrawResponse"] | components["schemas"]["WithdrawHistoryResponse"] | components["schemas"]["DepositResponse"] | components["schemas"]["DepositHistoryResponse"] | components["schemas"]["ListSubAccountsResponse"] | components["schemas"]["CoinInfoResponse"] | components["schemas"]["SubAccountDepositAddressResponse"] | components["schemas"]["BybitQueryUserResponse"] | components["schemas"]["BybitQuerySubMembersResponse"] | components["schemas"]["BybitQueryCoinsBalanceResponse"] | components["schemas"]["BybitQueryDepositAddressResponse"] | components["schemas"]["BybitUniversalTransferResponse"] | components["schemas"]["BybitWithdrawResponse"] | components["schemas"]["BybitWithdrawalsResponse"] | components["schemas"]["BybitCoinInfoResponse"] | components["schemas"]["BybitDepositHistoryResponse"] | components["schemas"]["BybitUniversalTransferHistoryResponse"] | components["schemas"]["BybitQueryWithdrawAddressResponse"] | components["schemas"]["BybitQuerySubDepositAddressResponse"] | components["schemas"]["CoinbaseListAccountsResponse"] | components["schemas"]["CoinbaseListPortfoliosResponse"] | components["schemas"]["CoinbaseMoveFundsResponse"] | components["schemas"]["BtcListUtxosResponse"];
|
|
6602
6765
|
JwkSetResponse: {
|
|
6603
6766
|
/** @description The keys included in this set */
|
|
6604
6767
|
keys: Record<string, never>[];
|
|
@@ -6668,6 +6831,20 @@ export interface components {
|
|
|
6668
6831
|
role_id: string;
|
|
6669
6832
|
};
|
|
6670
6833
|
KeyInfo: components["schemas"]["CommonFields"] & {
|
|
6834
|
+
/**
|
|
6835
|
+
* @description Key access-control entries
|
|
6836
|
+
* @example [
|
|
6837
|
+
* {
|
|
6838
|
+
* "actions": [
|
|
6839
|
+
* "manage:key:properties"
|
|
6840
|
+
* ],
|
|
6841
|
+
* "subjects": [
|
|
6842
|
+
* "User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f"
|
|
6843
|
+
* ]
|
|
6844
|
+
* }
|
|
6845
|
+
* ]
|
|
6846
|
+
*/
|
|
6847
|
+
acl?: unknown[] | null;
|
|
6671
6848
|
derivation_info?: components["schemas"]["KeyDerivationInfo"] | null;
|
|
6672
6849
|
/** @description Whether the key is enabled (only enabled keys may be used for signing) */
|
|
6673
6850
|
enabled: boolean;
|
|
@@ -6781,6 +6958,42 @@ export interface components {
|
|
|
6781
6958
|
* so that they can pass this back to us as a url query parameter.
|
|
6782
6959
|
*/
|
|
6783
6960
|
LastEvalKey: string;
|
|
6961
|
+
/**
|
|
6962
|
+
* @description The base policy evaluation result associated with a [leaf][PolicyEvalTree::Leaf] node.
|
|
6963
|
+
*
|
|
6964
|
+
* This type is very similar to [BasePolicyEvalResult], except that it contains only the
|
|
6965
|
+
* information we want to include in the evaluation tree that we send back to the client.
|
|
6966
|
+
*/
|
|
6967
|
+
LeafNodeResult: OneOf<[
|
|
6968
|
+
{
|
|
6969
|
+
evidence: components["schemas"]["PermitEvidence"];
|
|
6970
|
+
/** @enum {string} */
|
|
6971
|
+
outcome: "Permitted";
|
|
6972
|
+
},
|
|
6973
|
+
{
|
|
6974
|
+
op: components["schemas"]["OperationKind"];
|
|
6975
|
+
/** @enum {string} */
|
|
6976
|
+
outcome: "Inapplicable";
|
|
6977
|
+
},
|
|
6978
|
+
{
|
|
6979
|
+
error_code: components["schemas"]["PolicyErrorCode"];
|
|
6980
|
+
message: string;
|
|
6981
|
+
/** @description Additional structured details about the denial */
|
|
6982
|
+
more_info?: unknown;
|
|
6983
|
+
/** @enum {string} */
|
|
6984
|
+
outcome: "Denied";
|
|
6985
|
+
},
|
|
6986
|
+
{
|
|
6987
|
+
/** @enum {string} */
|
|
6988
|
+
outcome: "MfaRequired";
|
|
6989
|
+
}
|
|
6990
|
+
]>;
|
|
6991
|
+
/** @description Properties of a [PolicyEvalTree::Leaf] node. */
|
|
6992
|
+
LeafProps: components["schemas"]["LeafNodeResult"] & {
|
|
6993
|
+
provenance: components["schemas"]["PolicyAttachedTo"];
|
|
6994
|
+
/** @description The leaf rule that was evaluated */
|
|
6995
|
+
rule: unknown;
|
|
6996
|
+
};
|
|
6784
6997
|
/**
|
|
6785
6998
|
* @description Parameters for `cs_coinbaseListAccounts`.
|
|
6786
6999
|
*
|
|
@@ -6869,7 +7082,7 @@ export interface components {
|
|
|
6869
7082
|
*/
|
|
6870
7083
|
ListTransactionsPaginatedResponse: {
|
|
6871
7084
|
/** @description A list of transaction infos. */
|
|
6872
|
-
transactions: components["schemas"]["
|
|
7085
|
+
transactions: components["schemas"]["RpcTransactionInfo"][];
|
|
6873
7086
|
} & {
|
|
6874
7087
|
/**
|
|
6875
7088
|
* @description If set, the content of `response` does not contain the entire result set.
|
|
@@ -6878,7 +7091,7 @@ export interface components {
|
|
|
6878
7091
|
*/
|
|
6879
7092
|
last_evaluated_key?: string | null;
|
|
6880
7093
|
};
|
|
6881
|
-
/** @description Parameters for the [`
|
|
7094
|
+
/** @description Parameters for the [`cs_transactionList`](RpcMethod::ListTransactions) method. */
|
|
6882
7095
|
ListTransactionsRequest: components["schemas"]["Page"] & {
|
|
6883
7096
|
/**
|
|
6884
7097
|
* @description Optional user or role id.
|
|
@@ -6887,10 +7100,10 @@ export interface components {
|
|
|
6887
7100
|
*/
|
|
6888
7101
|
owner?: string | null;
|
|
6889
7102
|
};
|
|
6890
|
-
/** @description The response to [`
|
|
7103
|
+
/** @description The response to [`cs_transactionList`](super::request::CsRpc::ListTransactions) */
|
|
6891
7104
|
ListTransactionsResponse: {
|
|
6892
7105
|
/** @description A list of transaction infos. */
|
|
6893
|
-
transactions: components["schemas"]["
|
|
7106
|
+
transactions: components["schemas"]["RpcTransactionInfo"][];
|
|
6894
7107
|
};
|
|
6895
7108
|
LoginRequest: components["schemas"]["OidcLoginRequest"];
|
|
6896
7109
|
/**
|
|
@@ -6984,7 +7197,7 @@ export interface components {
|
|
|
6984
7197
|
/** @description Organization id */
|
|
6985
7198
|
org_id: string;
|
|
6986
7199
|
/** @description Optional policy evaluation tree (included in signer responses, when requested) */
|
|
6987
|
-
policy_eval_tree?:
|
|
7200
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
6988
7201
|
session?: components["schemas"]["NewSessionResponse"] | null;
|
|
6989
7202
|
};
|
|
6990
7203
|
/** @description Org-wide MFA requirements. */
|
|
@@ -7224,7 +7437,7 @@ export interface components {
|
|
|
7224
7437
|
* @description All different kinds of sensitive operations
|
|
7225
7438
|
* @enum {string}
|
|
7226
7439
|
*/
|
|
7227
|
-
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BinanceSubAccountDepositAddress" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "BybitQueryCoinInfo" | "BybitDepositHistory" | "BybitUniversalTransferHistory" | "BybitQueryWithdrawAddress" | "BybitQuerySubDepositAddress" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "Eip7702Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
7440
|
+
OperationKind: "AvaSign" | "AvaChainTxSign" | "BabylonCovSign" | "BabylonRegistration" | "BabylonStaking" | "BinanceSubToMaster" | "BinanceSubToSub" | "BinanceUniversalTransfer" | "BinanceSubAccountAssets" | "BinanceAccountInfo" | "BinanceSubAccountTransferHistory" | "BinanceUniversalTransferHistory" | "BinanceWithdraw" | "BinanceWithdrawHistory" | "BinanceDeposit" | "BinanceDepositHistory" | "BinanceListSubAccounts" | "BinanceCoinInfo" | "BinanceSubAccountDepositAddress" | "BinanceSubAccountDepositHistory" | "BlobSign" | "BtcMessageSign" | "BtcSign" | "BybitQueryUser" | "BybitQuerySubMembers" | "BybitQueryCoinsBalance" | "BybitQueryDepositAddress" | "BybitUniversalTransfer" | "BybitWithdraw" | "BybitWithdrawals" | "BybitQueryCoinInfo" | "BybitDepositHistory" | "BybitSubDepositHistory" | "BybitUniversalTransferHistory" | "BybitQueryWithdrawAddress" | "BybitQuerySubDepositAddress" | "CoinbaseListAccounts" | "CoinbaseListPortfolios" | "CoinbaseMoveFunds" | "DiffieHellman" | "PsbtSign" | "TaprootSign" | "Eip191Sign" | "Eip712Sign" | "Eip7702Sign" | "EotsNonces" | "EotsSign" | "Eth1Sign" | "Eth2Sign" | "Eth2Stake" | "Eth2Unstake" | "SolanaSign" | "SuiSign" | "TendermintSign" | "RoleUpdate";
|
|
7228
7441
|
OrgAlertsPrefs: {
|
|
7229
7442
|
/** @description Recipient users for org-level alerts */
|
|
7230
7443
|
alert_recipients?: components["schemas"]["Id"][] | null;
|
|
@@ -8065,11 +8278,175 @@ export interface components {
|
|
|
8065
8278
|
} | null;
|
|
8066
8279
|
message_tx?: components["schemas"]["TypedTransaction"] | null;
|
|
8067
8280
|
}) & Record<string, never>;
|
|
8281
|
+
/** @description Different kinds of evidence policy checkers can return to support their decision. */
|
|
8282
|
+
PermitEvidence: {
|
|
8283
|
+
/** @enum {string} */
|
|
8284
|
+
kind: "ExplicitlyPermitted";
|
|
8285
|
+
/** @description Optional message */
|
|
8286
|
+
message?: string | null;
|
|
8287
|
+
} | {
|
|
8288
|
+
approvals: {
|
|
8289
|
+
[key: string]: {
|
|
8290
|
+
[key: string]: components["schemas"]["ApprovalInfo"];
|
|
8291
|
+
};
|
|
8292
|
+
};
|
|
8293
|
+
/** @enum {string} */
|
|
8294
|
+
kind: "MfaApproved";
|
|
8295
|
+
policy: components["schemas"]["MfaPolicy"];
|
|
8296
|
+
} | {
|
|
8297
|
+
/** @enum {string} */
|
|
8298
|
+
kind: "BabylonStaking";
|
|
8299
|
+
} | {
|
|
8300
|
+
/** @enum {string} */
|
|
8301
|
+
kind: "BtcReceivers";
|
|
8302
|
+
/** @description The actual receivers of a Bitcoin transaction */
|
|
8303
|
+
receivers: string[];
|
|
8304
|
+
} | {
|
|
8305
|
+
/** @enum {string} */
|
|
8306
|
+
kind: "BtcValueLimit";
|
|
8307
|
+
/**
|
|
8308
|
+
* Format: int64
|
|
8309
|
+
* @description The new total (in SAT), including the current transaction
|
|
8310
|
+
*/
|
|
8311
|
+
new_total: number;
|
|
8312
|
+
/**
|
|
8313
|
+
* Format: int64
|
|
8314
|
+
* @description The limit (in SAT) specified by the policy
|
|
8315
|
+
*/
|
|
8316
|
+
policy_limit: number;
|
|
8317
|
+
} | {
|
|
8318
|
+
/**
|
|
8319
|
+
* Format: int64
|
|
8320
|
+
* @description Actual EVM chain
|
|
8321
|
+
*/
|
|
8322
|
+
chain_id: number;
|
|
8323
|
+
/** @enum {string} */
|
|
8324
|
+
kind: "EvmChainDoesNotApply";
|
|
8325
|
+
} | {
|
|
8326
|
+
/** @enum {string} */
|
|
8327
|
+
kind: "EvmTransferOnly";
|
|
8328
|
+
} | {
|
|
8329
|
+
/** @enum {string} */
|
|
8330
|
+
kind: "EvmNotErc20";
|
|
8331
|
+
} | {
|
|
8332
|
+
/** @enum {string} */
|
|
8333
|
+
kind: "EvmErc20";
|
|
8334
|
+
} | {
|
|
8335
|
+
/** @description The address of the contract being called */
|
|
8336
|
+
address?: string | null;
|
|
8337
|
+
/** @description The name of the contract method being called */
|
|
8338
|
+
function: string;
|
|
8339
|
+
/** @enum {string} */
|
|
8340
|
+
kind: "EvmContractCall";
|
|
8341
|
+
} | {
|
|
8342
|
+
/** @description The arguments of the contract method being called */
|
|
8343
|
+
args: string[][];
|
|
8344
|
+
/** @description The name of the contract method being called */
|
|
8345
|
+
function: string;
|
|
8346
|
+
/** @enum {string} */
|
|
8347
|
+
kind: "EvmAbiConstrainedFunction";
|
|
8348
|
+
} | {
|
|
8349
|
+
/** @enum {string} */
|
|
8350
|
+
kind: "EvmGasCostLimit";
|
|
8351
|
+
/** @description The policy gas cost limit (in WEI) */
|
|
8352
|
+
policy_gas_cost_limit: string;
|
|
8353
|
+
/** @description The transaction max gas cost (in WEI) */
|
|
8354
|
+
tx_max_gas_cost: string;
|
|
8355
|
+
} | {
|
|
8356
|
+
/** @enum {string} */
|
|
8357
|
+
kind: "EvmValueLimit";
|
|
8358
|
+
/** @description The new total (in WEI), including the current transaction */
|
|
8359
|
+
new_total: string;
|
|
8360
|
+
/** @description The limit (in WEI) specified by the policy */
|
|
8361
|
+
policy_limit: string;
|
|
8362
|
+
} | {
|
|
8363
|
+
/** @enum {string} */
|
|
8364
|
+
kind: "EvmDeposit";
|
|
8365
|
+
/** @description The details of the deposit transaction */
|
|
8366
|
+
spec: Record<string, never>;
|
|
8367
|
+
} | {
|
|
8368
|
+
/** @enum {string} */
|
|
8369
|
+
kind: "EvmReceiver";
|
|
8370
|
+
/** @description The actual receiver of an EVM transaction */
|
|
8371
|
+
receiver?: string | null;
|
|
8372
|
+
} | {
|
|
8373
|
+
/** @description The actual chain id of an EVM transaction or EIP-7702 authorization request */
|
|
8374
|
+
chain_id: string;
|
|
8375
|
+
/** @enum {string} */
|
|
8376
|
+
kind: "EvmChainId";
|
|
8377
|
+
} | {
|
|
8378
|
+
/** @description The contract address EIP-7702 delegates authorization to */
|
|
8379
|
+
address: string;
|
|
8380
|
+
/** @enum {string} */
|
|
8381
|
+
kind: "Eip7702DelegationTarget";
|
|
8382
|
+
} | {
|
|
8383
|
+
/** @enum {string} */
|
|
8384
|
+
kind: "RoleSession";
|
|
8385
|
+
/** @description The session identity role */
|
|
8386
|
+
role_id: string;
|
|
8387
|
+
} | {
|
|
8388
|
+
/** @enum {string} */
|
|
8389
|
+
kind: "SolanaTx";
|
|
8390
|
+
} | {
|
|
8391
|
+
/** @description Actual Sui receivers */
|
|
8392
|
+
actual_receivers: string[];
|
|
8393
|
+
/** @enum {string} */
|
|
8394
|
+
kind: "SuiReceivers";
|
|
8395
|
+
} | (components["schemas"]["SourceIp"] & {
|
|
8396
|
+
/** @enum {string} */
|
|
8397
|
+
kind: "SourceIpAllowlisted";
|
|
8398
|
+
}) | {
|
|
8399
|
+
/** @enum {string} */
|
|
8400
|
+
kind: "CelPolicyMatched";
|
|
8401
|
+
/** @description The CEL program that was evaluated */
|
|
8402
|
+
program: string;
|
|
8403
|
+
} | {
|
|
8404
|
+
/** @enum {string} */
|
|
8405
|
+
kind: "OperationAllowlisted";
|
|
8406
|
+
operation: components["schemas"]["OperationKind"];
|
|
8407
|
+
} | {
|
|
8408
|
+
/** @enum {string} */
|
|
8409
|
+
kind: "TaprootValueLimit";
|
|
8410
|
+
/**
|
|
8411
|
+
* Format: int64
|
|
8412
|
+
* @description The limit (in SAT) specified by the policy
|
|
8413
|
+
*/
|
|
8414
|
+
policy_limit: number;
|
|
8415
|
+
/**
|
|
8416
|
+
* Format: int64
|
|
8417
|
+
* @description The transaction value (in SAT)
|
|
8418
|
+
*/
|
|
8419
|
+
transaction_value: number;
|
|
8420
|
+
} | {
|
|
8421
|
+
/** @description The size (in bytes) of the full stderr */
|
|
8422
|
+
full_stderr_length: number;
|
|
8423
|
+
/** @description The size (in bytes) of the full stdout */
|
|
8424
|
+
full_stdout_length: number;
|
|
8425
|
+
/** @enum {string} */
|
|
8426
|
+
kind: "WasmResult";
|
|
8427
|
+
/** @description Standard error of the wasm policy execution, truncated to 1024 bytes */
|
|
8428
|
+
stderr: string;
|
|
8429
|
+
/** @description Standard output of the wasm policy execution, truncated to 1024 bytes */
|
|
8430
|
+
stdout: string;
|
|
8431
|
+
} | (components["schemas"]["CallWebhookResult"] & {
|
|
8432
|
+
/** @enum {string} */
|
|
8433
|
+
kind: "WebhookResult";
|
|
8434
|
+
}) | {
|
|
8435
|
+
current_time: components["schemas"]["EpochDateTime"];
|
|
8436
|
+
/** @enum {string} */
|
|
8437
|
+
kind: "TimeLockExpired";
|
|
8438
|
+
lock_until: components["schemas"]["EpochDateTime"];
|
|
8439
|
+
};
|
|
8068
8440
|
/**
|
|
8069
8441
|
* @description The access-controlled actions that can be performed on a named policy.
|
|
8070
8442
|
* @enum {string}
|
|
8071
8443
|
*/
|
|
8072
8444
|
PolicyAction: "read:*" | "read" | "read:policy" | "read:logs" | "update:*" | "update" | "update:name" | "update:rules" | "update:metadata" | "update:editPolicy" | "update:owner" | "update:acl" | "delete" | "attach" | "sign" | "invoke";
|
|
8445
|
+
/**
|
|
8446
|
+
* @description MFA policy provenance
|
|
8447
|
+
* @enum {string}
|
|
8448
|
+
*/
|
|
8449
|
+
PolicyAttachedTo: "Org" | "Key" | "KeyInRole" | "Role" | "User" | "EditPolicy";
|
|
8073
8450
|
/** @description The id for attaching a named policy to a key, role, or key in role. */
|
|
8074
8451
|
PolicyAttachedToId: OneOf<[
|
|
8075
8452
|
{
|
|
@@ -8121,6 +8498,45 @@ export interface components {
|
|
|
8121
8498
|
PolicyErrorCode: components["schemas"]["PolicyErrorOwnCodes"] | components["schemas"]["EvmTxDepositErrorCode"];
|
|
8122
8499
|
/** @enum {string} */
|
|
8123
8500
|
PolicyErrorOwnCodes: "MfaHttpRequestMismatch" | "MfaExpired" | "Inapplicable" | "SuiTxReceiversDisallowedTransactionKind" | "SuiTxReceiversDisallowedTransferAddress" | "SuiTxReceiversDisallowedCommand" | "BtcTxDisallowedOutputs" | "BtcSignatureExceededValue" | "BtcValueOverflow" | "BtcSighashTypeDisallowed" | "Eip7702AddressMismatch" | "EvmTxReceiverMismatch" | "EvmTxChainIdMismatch" | "EvmTxSenderMismatch" | "EvmTxExceededValue" | "EvmTxExceededGasCost" | "EvmTxGasCostUndefined" | "EvmDataDisallowed" | "Erc20DataInvalid" | "EvmContractAddressUndefined" | "EvmContractChainIdUndefined" | "EvmDataNotDefined" | "EvmDataInvalid" | "EvmContractNotInAllowlist" | "Erc20ExceededTransferLimit" | "Erc20ReceiverMismatch" | "Erc20ExceededApproveLimit" | "Erc20SpenderMismatch" | "EvmFunctionNotInAllowlist" | "EvmFunctionCallInvalid" | "EvmFunctionCallDisallowedArg" | "PolicyDisjunctionError" | "PolicyNegationError" | "Eth2ExceededMaxUnstake" | "Eth2ConcurrentUnstaking" | "NotInIpv4Allowlist" | "NotInOriginAllowlist" | "NotInOperationAllowlist" | "InvalidSourceIp" | "RawSigningNotAllowed" | "DiffieHellmanExchangeNotAllowed" | "Eip712SigningNotAllowed" | "OidcSourceNotAllowed" | "NoOidcAuthSourcesDefined" | "AddKeyToRoleDisallowed" | "KeysAlreadyInRole" | "KeyInMultipleRoles" | "KeyAccessError" | "RequireRoleSessionKeyAccessError" | "BtcMessageSigningNotAllowed" | "Eip191SigningNotAllowed" | "Eip7702SigningNotAllowed" | "TaprootSigningDisallowed" | "SegwitSigningDisallowed" | "PsbtSigningDisallowed" | "BabylonStakingDisallowed" | "TimeLocked" | "CelPolicyDenied" | "BabylonStakingNetwork" | "BabylonStakingParamsVersion" | "BabylonStakingExplicitParams" | "BabylonStakingStakerPk" | "BabylonStakingFinalityProviderPk" | "BabylonStakingLockTime" | "BabylonStakingValue" | "BabylonStakingChangeAddress" | "BabylonStakingFee" | "BabylonStakingWithdrawalAddress" | "BabylonStakingBbnAddress" | "SolanaInstructionCountLow" | "SolanaInstructionCountHigh" | "SolanaNotInInstructionAllowlist" | "SolanaInstructionMismatch" | "WasmPoliciesDisabled" | "WasmPolicyDenied" | "WasmPolicyFailed" | "WebhookPoliciesDisabled" | "DeniedByWebhook" | "MfaApprovalsNotYetValid" | "ExplicitlyDenied";
|
|
8501
|
+
/** @description Evaluation tree for a policy rule. */
|
|
8502
|
+
PolicyEvalTree: {
|
|
8503
|
+
Leaf: components["schemas"]["LeafProps"];
|
|
8504
|
+
} | {
|
|
8505
|
+
/** @description Evaluation of a negation (i.e., [Deny::Not]) */
|
|
8506
|
+
Not: {
|
|
8507
|
+
child: components["schemas"]["PolicyEvalTree"];
|
|
8508
|
+
outcome: components["schemas"]["EvalOutcome"];
|
|
8509
|
+
};
|
|
8510
|
+
} | {
|
|
8511
|
+
/** @description Evaluation of a [Deny::IfThenElse] policy */
|
|
8512
|
+
IfThenElse: {
|
|
8513
|
+
/** @description Evaluated conditionals */
|
|
8514
|
+
children: components["schemas"]["Conditional"][];
|
|
8515
|
+
else?: components["schemas"]["PolicyEvalTree"] | null;
|
|
8516
|
+
outcome: components["schemas"]["EvalOutcome"];
|
|
8517
|
+
};
|
|
8518
|
+
} | {
|
|
8519
|
+
/** @description Evaluation of a list of policy rules */
|
|
8520
|
+
Concat: {
|
|
8521
|
+
/** @description Evaluation trees of each evaluated policy */
|
|
8522
|
+
children: components["schemas"]["PolicyEvalTree"][];
|
|
8523
|
+
outcome: components["schemas"]["EvalOutcome"];
|
|
8524
|
+
};
|
|
8525
|
+
} | {
|
|
8526
|
+
/** @description Evaluation of a conjunction (i.e., [Deny::And]). */
|
|
8527
|
+
And: {
|
|
8528
|
+
/** @description Evaluation trees of each evaluated conjunct */
|
|
8529
|
+
children: components["schemas"]["PolicyEvalTree"][];
|
|
8530
|
+
outcome: components["schemas"]["EvalOutcome"];
|
|
8531
|
+
};
|
|
8532
|
+
} | {
|
|
8533
|
+
/** @description Evaluation of a disjunction (i.e., [Deny::Or]). */
|
|
8534
|
+
Or: {
|
|
8535
|
+
/** @description Evaluation trees of each evaluated disjunct */
|
|
8536
|
+
children: components["schemas"]["PolicyEvalTree"][];
|
|
8537
|
+
outcome: components["schemas"]["EvalOutcome"];
|
|
8538
|
+
};
|
|
8539
|
+
};
|
|
8124
8540
|
/** @description A struct containing all the information about a specific version of a policy. */
|
|
8125
8541
|
PolicyInfo: {
|
|
8126
8542
|
/** @description The access-control entries for the policy. */
|
|
@@ -8262,7 +8678,7 @@ export interface components {
|
|
|
8262
8678
|
/** @description Response to a PSBT signing request */
|
|
8263
8679
|
PsbtSignResponse: {
|
|
8264
8680
|
/** @description Optional policy evaluation tree. */
|
|
8265
|
-
policy_eval_tree?:
|
|
8681
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
8266
8682
|
} & {
|
|
8267
8683
|
/**
|
|
8268
8684
|
* @description The PSBT in standard hex serialization, without leading "0x".
|
|
@@ -8760,7 +9176,7 @@ export interface components {
|
|
|
8760
9176
|
RestrictedActionsMap: {
|
|
8761
9177
|
[key: string]: components["schemas"]["MemberRole"][];
|
|
8762
9178
|
};
|
|
8763
|
-
/** @description Parameters for the [`
|
|
9179
|
+
/** @description Parameters for the [`cs_transactionRetry`](RpcMethod::RetryTransaction) method. */
|
|
8764
9180
|
RetryTransactionRequest: components["schemas"]["EvmTxCustomization"] & {
|
|
8765
9181
|
/** @description The transaction id. */
|
|
8766
9182
|
id: string;
|
|
@@ -8851,6 +9267,37 @@ export interface components {
|
|
|
8851
9267
|
* [`BybitRpc`] for the Bybit family, [`CoinbaseRpc`] for the Coinbase family).
|
|
8852
9268
|
*/
|
|
8853
9269
|
RpcMethod: components["schemas"]["CsRpc"] | components["schemas"]["BinanceRpc"] | components["schemas"]["BybitRpc"] | components["schemas"]["CoinbaseRpc"];
|
|
9270
|
+
/** @description A transaction created by the RPC API. */
|
|
9271
|
+
RpcTransaction: {
|
|
9272
|
+
status: "RpcTransaction";
|
|
9273
|
+
} & Omit<components["schemas"]["RpcTxStatus"], "status"> & Omit<components["schemas"]["TransactionDetails"], "chain"> & components["schemas"]["VersioningFields"] & {
|
|
9274
|
+
/** @description The session identity that created the transaction. */
|
|
9275
|
+
owner: string;
|
|
9276
|
+
};
|
|
9277
|
+
/** @description Information about an existing transaction created by the RPC API. */
|
|
9278
|
+
RpcTransactionInfo: components["schemas"]["RpcTransaction"] & {
|
|
9279
|
+
/** @description The transaction id. */
|
|
9280
|
+
id: string;
|
|
9281
|
+
};
|
|
9282
|
+
/** @description The status of the transaction. */
|
|
9283
|
+
RpcTxStatus: {
|
|
9284
|
+
mfa_ids: string[];
|
|
9285
|
+
/** @enum {string} */
|
|
9286
|
+
status: "MfaRequired";
|
|
9287
|
+
} | {
|
|
9288
|
+
/** @enum {string} */
|
|
9289
|
+
status: "Signed";
|
|
9290
|
+
} | {
|
|
9291
|
+
/** @enum {string} */
|
|
9292
|
+
status: "Submitted";
|
|
9293
|
+
} | {
|
|
9294
|
+
/** @enum {string} */
|
|
9295
|
+
status: "Canceled";
|
|
9296
|
+
} | {
|
|
9297
|
+
error: components["schemas"]["ErrorObj"];
|
|
9298
|
+
/** @enum {string} */
|
|
9299
|
+
status: "Failed";
|
|
9300
|
+
};
|
|
8854
9301
|
/** @description All scopes for accessing CubeSigner APIs */
|
|
8855
9302
|
Scope: components["schemas"]["ExplicitScope"] | string;
|
|
8856
9303
|
/** @description A set of scopes. */
|
|
@@ -9012,7 +9459,7 @@ export interface components {
|
|
|
9012
9459
|
/** @description Whether MFA is required */
|
|
9013
9460
|
mfa_requests: components["schemas"]["MfaRequestInfo"][];
|
|
9014
9461
|
/** @description Optional policy evaluation tree, if requested */
|
|
9015
|
-
policy_eval_tree?:
|
|
9462
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9016
9463
|
};
|
|
9017
9464
|
/**
|
|
9018
9465
|
* @description The structured input to a Sign-In With Solana request (`SolanaSignInInput` in the spec).
|
|
@@ -9047,7 +9494,7 @@ export interface components {
|
|
|
9047
9494
|
};
|
|
9048
9495
|
SignResponse: {
|
|
9049
9496
|
/** @description Optional policy evaluation tree. */
|
|
9050
|
-
policy_eval_tree?:
|
|
9497
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9051
9498
|
} & {
|
|
9052
9499
|
/** @description The hex-encoded resulting signature. */
|
|
9053
9500
|
signature: string;
|
|
@@ -9276,7 +9723,7 @@ export interface components {
|
|
|
9276
9723
|
};
|
|
9277
9724
|
StakeResponse: ({
|
|
9278
9725
|
/** @description Optional policy evaluation tree. */
|
|
9279
|
-
policy_eval_tree?:
|
|
9726
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9280
9727
|
} & {
|
|
9281
9728
|
deposit_tx: components["schemas"]["DepositTxn"];
|
|
9282
9729
|
}) & {
|
|
@@ -9408,6 +9855,52 @@ export interface components {
|
|
|
9408
9855
|
/** @description Blockchain explorer URL for `address`. */
|
|
9409
9856
|
url?: string | null;
|
|
9410
9857
|
};
|
|
9858
|
+
/**
|
|
9859
|
+
* @description Parameters for `GET /sapi/v1/capital/deposit/subHisrec`.
|
|
9860
|
+
*
|
|
9861
|
+
* Master-account keys only; use [`DepositHistoryRequest`] for the calling
|
|
9862
|
+
* account's own deposits.
|
|
9863
|
+
*/
|
|
9864
|
+
SubAccountDepositHistoryRequest: {
|
|
9865
|
+
/** @description Filter to a specific asset (e.g. `"USDT"`, `"BTC"`). */
|
|
9866
|
+
coin?: string | null;
|
|
9867
|
+
/**
|
|
9868
|
+
* @description Email of the sub-account whose deposit history to fetch. Binance
|
|
9869
|
+
* requires this, so there is no "calling account" fallback here.
|
|
9870
|
+
*/
|
|
9871
|
+
email: string;
|
|
9872
|
+
/**
|
|
9873
|
+
* Format: int64
|
|
9874
|
+
* @description Window end (ms since epoch).
|
|
9875
|
+
*/
|
|
9876
|
+
endTime?: number | null;
|
|
9877
|
+
/**
|
|
9878
|
+
* Format: int32
|
|
9879
|
+
* @description Page size (Binance max: 200). Note that Binance defaults this to `1`,
|
|
9880
|
+
* not to a full page, so callers should always set it.
|
|
9881
|
+
*/
|
|
9882
|
+
limit?: number | null;
|
|
9883
|
+
/**
|
|
9884
|
+
* Format: int32
|
|
9885
|
+
* @description Pagination offset (Binance default: 0).
|
|
9886
|
+
*/
|
|
9887
|
+
offset?: number | null;
|
|
9888
|
+
/**
|
|
9889
|
+
* Format: int64
|
|
9890
|
+
* @description Window start (ms since epoch). Binance returns the most recent 90 days
|
|
9891
|
+
* when this and `end_time` are both omitted.
|
|
9892
|
+
*/
|
|
9893
|
+
startTime?: number | null;
|
|
9894
|
+
/**
|
|
9895
|
+
* Format: int32
|
|
9896
|
+
* @description Filter by deposit status. Binance values: `0` = pending, `6` = credited
|
|
9897
|
+
* but cannot withdraw, `7` = wrong deposit, `8` = waiting user confirm,
|
|
9898
|
+
* `1` = success. Left as `u8` for forward compatibility.
|
|
9899
|
+
*/
|
|
9900
|
+
status?: number | null;
|
|
9901
|
+
/** @description Look up a specific deposit by its on-chain transaction hash. */
|
|
9902
|
+
txId?: string | null;
|
|
9903
|
+
};
|
|
9411
9904
|
/** @description One sub-account entry in [`ListSubAccountsResponse`]. */
|
|
9412
9905
|
SubAccountInfo: {
|
|
9413
9906
|
/**
|
|
@@ -9786,11 +10279,6 @@ export interface components {
|
|
|
9786
10279
|
/** @enum {string} */
|
|
9787
10280
|
chain: "Evm";
|
|
9788
10281
|
};
|
|
9789
|
-
/** @description Information about an existing transaction created by the RPC API. */
|
|
9790
|
-
TransactionInfo: components["schemas"]["Transaction"] & {
|
|
9791
|
-
/** @description The transaction id. */
|
|
9792
|
-
id: string;
|
|
9793
|
-
};
|
|
9794
10282
|
/**
|
|
9795
10283
|
* @description Supported queries
|
|
9796
10284
|
* @enum {string}
|
|
@@ -10119,7 +10607,7 @@ export interface components {
|
|
|
10119
10607
|
signature: string;
|
|
10120
10608
|
} & {
|
|
10121
10609
|
/** @description Optional policy evaluation tree. */
|
|
10122
|
-
policy_eval_tree?:
|
|
10610
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
10123
10611
|
} & Record<string, never>;
|
|
10124
10612
|
/** @description The information needed to update a bucket. */
|
|
10125
10613
|
UpdateBucketRequest: {
|
|
@@ -10744,6 +11232,19 @@ export interface components {
|
|
|
10744
11232
|
*/
|
|
10745
11233
|
updated_at: number;
|
|
10746
11234
|
};
|
|
11235
|
+
/**
|
|
11236
|
+
* @description Versioning fields (e.g., version number, creation time, and last modified times)
|
|
11237
|
+
* that are common to different types of resources.
|
|
11238
|
+
*/
|
|
11239
|
+
VersioningFields: {
|
|
11240
|
+
created?: components["schemas"]["EpochDateTime"] | null;
|
|
11241
|
+
last_modified?: components["schemas"]["EpochDateTime"] | null;
|
|
11242
|
+
/**
|
|
11243
|
+
* Format: int64
|
|
11244
|
+
* @description Version of this object
|
|
11245
|
+
*/
|
|
11246
|
+
version?: number;
|
|
11247
|
+
};
|
|
10747
11248
|
/**
|
|
10748
11249
|
* @description An exit voluntarily submitted a validator who wishes to withdraw.
|
|
10749
11250
|
* The schema for this message is defined
|
|
@@ -11022,7 +11523,7 @@ export interface components {
|
|
|
11022
11523
|
content: {
|
|
11023
11524
|
"application/json": {
|
|
11024
11525
|
/** @description Optional policy evaluation tree. */
|
|
11025
|
-
policy_eval_tree?:
|
|
11526
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11026
11527
|
} & {
|
|
11027
11528
|
/**
|
|
11028
11529
|
* @description The slash-unbonding transaction signatures as an array of hex strings with no 0x prefix
|
|
@@ -11058,7 +11559,7 @@ export interface components {
|
|
|
11058
11559
|
content: {
|
|
11059
11560
|
"application/json": {
|
|
11060
11561
|
/** @description Optional policy evaluation tree. */
|
|
11061
|
-
policy_eval_tree?:
|
|
11562
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11062
11563
|
} & {
|
|
11063
11564
|
/**
|
|
11064
11565
|
* @description The Babylon address that will receive the staking rewards for this deposit.
|
|
@@ -11108,7 +11609,7 @@ export interface components {
|
|
|
11108
11609
|
content: {
|
|
11109
11610
|
"application/json": {
|
|
11110
11611
|
/** @description Optional policy evaluation tree. */
|
|
11111
|
-
policy_eval_tree?:
|
|
11612
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11112
11613
|
} & {
|
|
11113
11614
|
/**
|
|
11114
11615
|
* Format: int64
|
|
@@ -11129,7 +11630,7 @@ export interface components {
|
|
|
11129
11630
|
content: {
|
|
11130
11631
|
"application/json": {
|
|
11131
11632
|
/** @description Optional policy evaluation tree. */
|
|
11132
|
-
policy_eval_tree?:
|
|
11633
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11133
11634
|
} & {
|
|
11134
11635
|
/**
|
|
11135
11636
|
* @description The full signed query string, ready to be submitted to Binance.
|
|
@@ -11144,7 +11645,7 @@ export interface components {
|
|
|
11144
11645
|
content: {
|
|
11145
11646
|
"application/json": {
|
|
11146
11647
|
/** @description Optional policy evaluation tree. */
|
|
11147
|
-
policy_eval_tree?:
|
|
11648
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11148
11649
|
} & {
|
|
11149
11650
|
/** @description The base64-encoded signature in BIP137 format. */
|
|
11150
11651
|
sig: string;
|
|
@@ -11180,7 +11681,7 @@ export interface components {
|
|
|
11180
11681
|
content: {
|
|
11181
11682
|
"application/json": {
|
|
11182
11683
|
/** @description Optional policy evaluation tree. */
|
|
11183
|
-
policy_eval_tree?:
|
|
11684
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11184
11685
|
} & {
|
|
11185
11686
|
/**
|
|
11186
11687
|
* @description The Bybit-bound payload (URL-encoded query for GET, JSON body for
|
|
@@ -11212,7 +11713,7 @@ export interface components {
|
|
|
11212
11713
|
content: {
|
|
11213
11714
|
"application/json": {
|
|
11214
11715
|
/** @description Optional policy evaluation tree. */
|
|
11215
|
-
policy_eval_tree?:
|
|
11716
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11216
11717
|
} & {
|
|
11217
11718
|
/**
|
|
11218
11719
|
* @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
|
|
@@ -11348,7 +11849,7 @@ export interface components {
|
|
|
11348
11849
|
response_type: "encrypted";
|
|
11349
11850
|
}) & {
|
|
11350
11851
|
/** @description Optional policy evaluation tree. */
|
|
11351
|
-
policy_eval_tree?:
|
|
11852
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11352
11853
|
} & Record<string, never>;
|
|
11353
11854
|
};
|
|
11354
11855
|
};
|
|
@@ -11382,7 +11883,7 @@ export interface components {
|
|
|
11382
11883
|
content: {
|
|
11383
11884
|
"application/json": {
|
|
11384
11885
|
/** @description Optional policy evaluation tree. */
|
|
11385
|
-
policy_eval_tree?:
|
|
11886
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11386
11887
|
} & {
|
|
11387
11888
|
/**
|
|
11388
11889
|
* @description The generated nonces as an array of 0x-prefixed hex strings
|
|
@@ -11405,7 +11906,7 @@ export interface components {
|
|
|
11405
11906
|
content: {
|
|
11406
11907
|
"application/json": {
|
|
11407
11908
|
/** @description Optional policy evaluation tree. */
|
|
11408
|
-
policy_eval_tree?:
|
|
11909
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11409
11910
|
} & {
|
|
11410
11911
|
/**
|
|
11411
11912
|
* @description Hex-encoded RLP encoding of the transaction and its signature
|
|
@@ -11620,6 +12121,20 @@ export interface components {
|
|
|
11620
12121
|
KeyInfo: {
|
|
11621
12122
|
content: {
|
|
11622
12123
|
"application/json": components["schemas"]["CommonFields"] & {
|
|
12124
|
+
/**
|
|
12125
|
+
* @description Key access-control entries
|
|
12126
|
+
* @example [
|
|
12127
|
+
* {
|
|
12128
|
+
* "actions": [
|
|
12129
|
+
* "manage:key:properties"
|
|
12130
|
+
* ],
|
|
12131
|
+
* "subjects": [
|
|
12132
|
+
* "User#c3b9379c-4e8c-4216-bd0a-65ace53cf98f"
|
|
12133
|
+
* ]
|
|
12134
|
+
* }
|
|
12135
|
+
* ]
|
|
12136
|
+
*/
|
|
12137
|
+
acl?: unknown[] | null;
|
|
11623
12138
|
derivation_info?: components["schemas"]["KeyDerivationInfo"] | null;
|
|
11624
12139
|
/** @description Whether the key is enabled (only enabled keys may be used for signing) */
|
|
11625
12140
|
enabled: boolean;
|
|
@@ -12342,7 +12857,7 @@ export interface components {
|
|
|
12342
12857
|
content: {
|
|
12343
12858
|
"application/json": {
|
|
12344
12859
|
/** @description Optional policy evaluation tree. */
|
|
12345
|
-
policy_eval_tree?:
|
|
12860
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12346
12861
|
} & {
|
|
12347
12862
|
/**
|
|
12348
12863
|
* @description The PSBT in standard hex serialization, without leading "0x".
|
|
@@ -12513,7 +13028,7 @@ export interface components {
|
|
|
12513
13028
|
content: {
|
|
12514
13029
|
"application/json": {
|
|
12515
13030
|
/** @description Optional policy evaluation tree. */
|
|
12516
|
-
policy_eval_tree?:
|
|
13031
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12517
13032
|
} & {
|
|
12518
13033
|
/** @description The hex-encoded resulting signature. */
|
|
12519
13034
|
signature: string;
|
|
@@ -12577,7 +13092,7 @@ export interface components {
|
|
|
12577
13092
|
content: {
|
|
12578
13093
|
"application/json": ({
|
|
12579
13094
|
/** @description Optional policy evaluation tree. */
|
|
12580
|
-
policy_eval_tree?:
|
|
13095
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12581
13096
|
} & {
|
|
12582
13097
|
deposit_tx: components["schemas"]["DepositTxn"];
|
|
12583
13098
|
}) & {
|
|
@@ -12655,7 +13170,7 @@ export interface components {
|
|
|
12655
13170
|
signature: string;
|
|
12656
13171
|
} & {
|
|
12657
13172
|
/** @description Optional policy evaluation tree. */
|
|
12658
|
-
policy_eval_tree?:
|
|
13173
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12659
13174
|
} & Record<string, never>;
|
|
12660
13175
|
};
|
|
12661
13176
|
};
|