@cubist-labs/cubesigner-sdk 0.4.281 → 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 +4 -4
- package/dist/src/audit_log.d.ts +3 -3
- package/dist/src/client/api_client.d.ts.map +1 -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 +538 -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 +11 -7
- package/package.json +1 -1
- package/src/schema.ts +592 -59
- package/src/schema_types.ts +2 -0
- package/src/scopes.ts +10 -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;
|
|
@@ -5032,7 +5165,7 @@ export interface components {
|
|
|
5032
5165
|
*/
|
|
5033
5166
|
scopes?: components["schemas"]["Scope"][] | null;
|
|
5034
5167
|
};
|
|
5035
|
-
/** @description Parameters for the [`
|
|
5168
|
+
/** @description Parameters for the [`cs_transactionCreate`](RpcMethod::CreateTransaction) method. */
|
|
5036
5169
|
CreateTransactionRequest: {
|
|
5037
5170
|
type: "CreateTransactionRequest";
|
|
5038
5171
|
} & Omit<components["schemas"]["CreateEvmTransactionRequest"], "type"> & {
|
|
@@ -5051,23 +5184,27 @@ export interface components {
|
|
|
5051
5184
|
/** @description Core RPC methods (transaction CRUD). */
|
|
5052
5185
|
CsRpc: {
|
|
5053
5186
|
/** @enum {string} */
|
|
5054
|
-
method: "
|
|
5187
|
+
method: "cs_transactionCreate";
|
|
5055
5188
|
params: components["schemas"]["CreateTransactionRequest"];
|
|
5056
5189
|
} | {
|
|
5057
5190
|
/** @enum {string} */
|
|
5058
|
-
method: "
|
|
5191
|
+
method: "cs_transactionRetry";
|
|
5059
5192
|
params: components["schemas"]["RetryTransactionRequest"];
|
|
5060
5193
|
} | {
|
|
5061
5194
|
/** @enum {string} */
|
|
5062
|
-
method: "
|
|
5195
|
+
method: "cs_transactionCancel";
|
|
5063
5196
|
params: components["schemas"]["CancelTransactionRequest"];
|
|
5064
5197
|
} | {
|
|
5065
5198
|
/** @enum {string} */
|
|
5066
|
-
method: "
|
|
5199
|
+
method: "cs_transactionDelete";
|
|
5200
|
+
params: components["schemas"]["DeleteTransactionRequest"];
|
|
5201
|
+
} | {
|
|
5202
|
+
/** @enum {string} */
|
|
5203
|
+
method: "cs_transactionGet";
|
|
5067
5204
|
params: components["schemas"]["GetTransactionRequest"];
|
|
5068
5205
|
} | {
|
|
5069
5206
|
/** @enum {string} */
|
|
5070
|
-
method: "
|
|
5207
|
+
method: "cs_transactionList";
|
|
5071
5208
|
params: components["schemas"]["ListTransactionsRequest"];
|
|
5072
5209
|
} | {
|
|
5073
5210
|
/** @enum {string} */
|
|
@@ -5106,6 +5243,22 @@ export interface components {
|
|
|
5106
5243
|
/** @description Custom EVM chains. */
|
|
5107
5244
|
evm: components["schemas"]["EvmCustomChain"][];
|
|
5108
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
|
+
};
|
|
5109
5262
|
/** @description One deposit entry in [`DepositHistoryResponse`]. */
|
|
5110
5263
|
DepositHistoryEntry: {
|
|
5111
5264
|
/** @description Destination address the deposit was sent to. */
|
|
@@ -5401,7 +5554,7 @@ export interface components {
|
|
|
5401
5554
|
response_type: "encrypted";
|
|
5402
5555
|
}) & {
|
|
5403
5556
|
/** @description Optional policy evaluation tree. */
|
|
5404
|
-
policy_eval_tree?:
|
|
5557
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5405
5558
|
} & Record<string, never>;
|
|
5406
5559
|
/**
|
|
5407
5560
|
* @description A policy which governs when and who is allowed to update the entity this policy is
|
|
@@ -5728,7 +5881,7 @@ export interface components {
|
|
|
5728
5881
|
/** @description Response generated when creating EOTS nonces */
|
|
5729
5882
|
EotsCreateNonceResponse: {
|
|
5730
5883
|
/** @description Optional policy evaluation tree. */
|
|
5731
|
-
policy_eval_tree?:
|
|
5884
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5732
5885
|
} & {
|
|
5733
5886
|
/**
|
|
5734
5887
|
* @description The generated nonces as an array of 0x-prefixed hex strings
|
|
@@ -5806,7 +5959,7 @@ export interface components {
|
|
|
5806
5959
|
/** @description Error message */
|
|
5807
5960
|
message: string;
|
|
5808
5961
|
/** @description Optional policy evaluation tree (included in signer responses, when requested) */
|
|
5809
|
-
policy_eval_tree?:
|
|
5962
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5810
5963
|
/** @description Optional request identifier */
|
|
5811
5964
|
request_id?: string;
|
|
5812
5965
|
};
|
|
@@ -5874,7 +6027,7 @@ export interface components {
|
|
|
5874
6027
|
};
|
|
5875
6028
|
Eth1SignResponse: {
|
|
5876
6029
|
/** @description Optional policy evaluation tree. */
|
|
5877
|
-
policy_eval_tree?:
|
|
6030
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
5878
6031
|
} & {
|
|
5879
6032
|
/**
|
|
5880
6033
|
* @description Hex-encoded RLP encoding of the transaction and its signature
|
|
@@ -5930,6 +6083,11 @@ export interface components {
|
|
|
5930
6083
|
eth2_sign_request: Record<string, never>;
|
|
5931
6084
|
network: components["schemas"]["Network"];
|
|
5932
6085
|
};
|
|
6086
|
+
/**
|
|
6087
|
+
* @description Auto-generated discriminant enum variants
|
|
6088
|
+
* @enum {string}
|
|
6089
|
+
*/
|
|
6090
|
+
EvalOutcome: "Permitted" | "Inapplicable" | "Denied" | "MfaRequired";
|
|
5933
6091
|
/**
|
|
5934
6092
|
* @description Representation of an event. This type is used to serialize events to CloudWatch Logs and to
|
|
5935
6093
|
* deserialize them when analyzing the logs.
|
|
@@ -6111,7 +6269,7 @@ export interface components {
|
|
|
6111
6269
|
* @description Explicitly named scopes for accessing CubeSigner APIs
|
|
6112
6270
|
* @enum {string}
|
|
6113
6271
|
*/
|
|
6114
|
-
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: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:
|
|
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";
|
|
6115
6273
|
/**
|
|
6116
6274
|
* @description This type specifies the interpretation of the `fee` field in Babylon
|
|
6117
6275
|
* staking requests. If `sats`, the field is intpreted as a fixed value
|
|
@@ -6246,7 +6404,7 @@ export interface components {
|
|
|
6246
6404
|
GetKeysInOrgRequest: {
|
|
6247
6405
|
key_type?: components["schemas"]["KeyType"] | null;
|
|
6248
6406
|
};
|
|
6249
|
-
/** @description Parameters for the [`
|
|
6407
|
+
/** @description Parameters for the [`cs_transactionGet`](RpcMethod::GetTransaction) method. */
|
|
6250
6408
|
GetTransactionRequest: {
|
|
6251
6409
|
id: components["schemas"]["Id"];
|
|
6252
6410
|
};
|
|
@@ -6603,7 +6761,7 @@ export interface components {
|
|
|
6603
6761
|
result?: Record<string, unknown> | null;
|
|
6604
6762
|
};
|
|
6605
6763
|
/** @description Valid `result` from the JSON-RPC API. */
|
|
6606
|
-
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"];
|
|
6607
6765
|
JwkSetResponse: {
|
|
6608
6766
|
/** @description The keys included in this set */
|
|
6609
6767
|
keys: Record<string, never>[];
|
|
@@ -6800,6 +6958,42 @@ export interface components {
|
|
|
6800
6958
|
* so that they can pass this back to us as a url query parameter.
|
|
6801
6959
|
*/
|
|
6802
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
|
+
};
|
|
6803
6997
|
/**
|
|
6804
6998
|
* @description Parameters for `cs_coinbaseListAccounts`.
|
|
6805
6999
|
*
|
|
@@ -6888,7 +7082,7 @@ export interface components {
|
|
|
6888
7082
|
*/
|
|
6889
7083
|
ListTransactionsPaginatedResponse: {
|
|
6890
7084
|
/** @description A list of transaction infos. */
|
|
6891
|
-
transactions: components["schemas"]["
|
|
7085
|
+
transactions: components["schemas"]["RpcTransactionInfo"][];
|
|
6892
7086
|
} & {
|
|
6893
7087
|
/**
|
|
6894
7088
|
* @description If set, the content of `response` does not contain the entire result set.
|
|
@@ -6897,7 +7091,7 @@ export interface components {
|
|
|
6897
7091
|
*/
|
|
6898
7092
|
last_evaluated_key?: string | null;
|
|
6899
7093
|
};
|
|
6900
|
-
/** @description Parameters for the [`
|
|
7094
|
+
/** @description Parameters for the [`cs_transactionList`](RpcMethod::ListTransactions) method. */
|
|
6901
7095
|
ListTransactionsRequest: components["schemas"]["Page"] & {
|
|
6902
7096
|
/**
|
|
6903
7097
|
* @description Optional user or role id.
|
|
@@ -6906,10 +7100,10 @@ export interface components {
|
|
|
6906
7100
|
*/
|
|
6907
7101
|
owner?: string | null;
|
|
6908
7102
|
};
|
|
6909
|
-
/** @description The response to [`
|
|
7103
|
+
/** @description The response to [`cs_transactionList`](super::request::CsRpc::ListTransactions) */
|
|
6910
7104
|
ListTransactionsResponse: {
|
|
6911
7105
|
/** @description A list of transaction infos. */
|
|
6912
|
-
transactions: components["schemas"]["
|
|
7106
|
+
transactions: components["schemas"]["RpcTransactionInfo"][];
|
|
6913
7107
|
};
|
|
6914
7108
|
LoginRequest: components["schemas"]["OidcLoginRequest"];
|
|
6915
7109
|
/**
|
|
@@ -7003,7 +7197,7 @@ export interface components {
|
|
|
7003
7197
|
/** @description Organization id */
|
|
7004
7198
|
org_id: string;
|
|
7005
7199
|
/** @description Optional policy evaluation tree (included in signer responses, when requested) */
|
|
7006
|
-
policy_eval_tree?:
|
|
7200
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
7007
7201
|
session?: components["schemas"]["NewSessionResponse"] | null;
|
|
7008
7202
|
};
|
|
7009
7203
|
/** @description Org-wide MFA requirements. */
|
|
@@ -7243,7 +7437,7 @@ export interface components {
|
|
|
7243
7437
|
* @description All different kinds of sensitive operations
|
|
7244
7438
|
* @enum {string}
|
|
7245
7439
|
*/
|
|
7246
|
-
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";
|
|
7247
7441
|
OrgAlertsPrefs: {
|
|
7248
7442
|
/** @description Recipient users for org-level alerts */
|
|
7249
7443
|
alert_recipients?: components["schemas"]["Id"][] | null;
|
|
@@ -8084,11 +8278,175 @@ export interface components {
|
|
|
8084
8278
|
} | null;
|
|
8085
8279
|
message_tx?: components["schemas"]["TypedTransaction"] | null;
|
|
8086
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
|
+
};
|
|
8087
8440
|
/**
|
|
8088
8441
|
* @description The access-controlled actions that can be performed on a named policy.
|
|
8089
8442
|
* @enum {string}
|
|
8090
8443
|
*/
|
|
8091
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";
|
|
8092
8450
|
/** @description The id for attaching a named policy to a key, role, or key in role. */
|
|
8093
8451
|
PolicyAttachedToId: OneOf<[
|
|
8094
8452
|
{
|
|
@@ -8140,6 +8498,45 @@ export interface components {
|
|
|
8140
8498
|
PolicyErrorCode: components["schemas"]["PolicyErrorOwnCodes"] | components["schemas"]["EvmTxDepositErrorCode"];
|
|
8141
8499
|
/** @enum {string} */
|
|
8142
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
|
+
};
|
|
8143
8540
|
/** @description A struct containing all the information about a specific version of a policy. */
|
|
8144
8541
|
PolicyInfo: {
|
|
8145
8542
|
/** @description The access-control entries for the policy. */
|
|
@@ -8281,7 +8678,7 @@ export interface components {
|
|
|
8281
8678
|
/** @description Response to a PSBT signing request */
|
|
8282
8679
|
PsbtSignResponse: {
|
|
8283
8680
|
/** @description Optional policy evaluation tree. */
|
|
8284
|
-
policy_eval_tree?:
|
|
8681
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
8285
8682
|
} & {
|
|
8286
8683
|
/**
|
|
8287
8684
|
* @description The PSBT in standard hex serialization, without leading "0x".
|
|
@@ -8779,7 +9176,7 @@ export interface components {
|
|
|
8779
9176
|
RestrictedActionsMap: {
|
|
8780
9177
|
[key: string]: components["schemas"]["MemberRole"][];
|
|
8781
9178
|
};
|
|
8782
|
-
/** @description Parameters for the [`
|
|
9179
|
+
/** @description Parameters for the [`cs_transactionRetry`](RpcMethod::RetryTransaction) method. */
|
|
8783
9180
|
RetryTransactionRequest: components["schemas"]["EvmTxCustomization"] & {
|
|
8784
9181
|
/** @description The transaction id. */
|
|
8785
9182
|
id: string;
|
|
@@ -8870,6 +9267,37 @@ export interface components {
|
|
|
8870
9267
|
* [`BybitRpc`] for the Bybit family, [`CoinbaseRpc`] for the Coinbase family).
|
|
8871
9268
|
*/
|
|
8872
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
|
+
};
|
|
8873
9301
|
/** @description All scopes for accessing CubeSigner APIs */
|
|
8874
9302
|
Scope: components["schemas"]["ExplicitScope"] | string;
|
|
8875
9303
|
/** @description A set of scopes. */
|
|
@@ -9031,7 +9459,7 @@ export interface components {
|
|
|
9031
9459
|
/** @description Whether MFA is required */
|
|
9032
9460
|
mfa_requests: components["schemas"]["MfaRequestInfo"][];
|
|
9033
9461
|
/** @description Optional policy evaluation tree, if requested */
|
|
9034
|
-
policy_eval_tree?:
|
|
9462
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9035
9463
|
};
|
|
9036
9464
|
/**
|
|
9037
9465
|
* @description The structured input to a Sign-In With Solana request (`SolanaSignInInput` in the spec).
|
|
@@ -9066,7 +9494,7 @@ export interface components {
|
|
|
9066
9494
|
};
|
|
9067
9495
|
SignResponse: {
|
|
9068
9496
|
/** @description Optional policy evaluation tree. */
|
|
9069
|
-
policy_eval_tree?:
|
|
9497
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9070
9498
|
} & {
|
|
9071
9499
|
/** @description The hex-encoded resulting signature. */
|
|
9072
9500
|
signature: string;
|
|
@@ -9295,7 +9723,7 @@ export interface components {
|
|
|
9295
9723
|
};
|
|
9296
9724
|
StakeResponse: ({
|
|
9297
9725
|
/** @description Optional policy evaluation tree. */
|
|
9298
|
-
policy_eval_tree?:
|
|
9726
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
9299
9727
|
} & {
|
|
9300
9728
|
deposit_tx: components["schemas"]["DepositTxn"];
|
|
9301
9729
|
}) & {
|
|
@@ -9427,6 +9855,52 @@ export interface components {
|
|
|
9427
9855
|
/** @description Blockchain explorer URL for `address`. */
|
|
9428
9856
|
url?: string | null;
|
|
9429
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
|
+
};
|
|
9430
9904
|
/** @description One sub-account entry in [`ListSubAccountsResponse`]. */
|
|
9431
9905
|
SubAccountInfo: {
|
|
9432
9906
|
/**
|
|
@@ -9805,11 +10279,6 @@ export interface components {
|
|
|
9805
10279
|
/** @enum {string} */
|
|
9806
10280
|
chain: "Evm";
|
|
9807
10281
|
};
|
|
9808
|
-
/** @description Information about an existing transaction created by the RPC API. */
|
|
9809
|
-
TransactionInfo: components["schemas"]["Transaction"] & {
|
|
9810
|
-
/** @description The transaction id. */
|
|
9811
|
-
id: string;
|
|
9812
|
-
};
|
|
9813
10282
|
/**
|
|
9814
10283
|
* @description Supported queries
|
|
9815
10284
|
* @enum {string}
|
|
@@ -10138,7 +10607,7 @@ export interface components {
|
|
|
10138
10607
|
signature: string;
|
|
10139
10608
|
} & {
|
|
10140
10609
|
/** @description Optional policy evaluation tree. */
|
|
10141
|
-
policy_eval_tree?:
|
|
10610
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
10142
10611
|
} & Record<string, never>;
|
|
10143
10612
|
/** @description The information needed to update a bucket. */
|
|
10144
10613
|
UpdateBucketRequest: {
|
|
@@ -10763,6 +11232,19 @@ export interface components {
|
|
|
10763
11232
|
*/
|
|
10764
11233
|
updated_at: number;
|
|
10765
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
|
+
};
|
|
10766
11248
|
/**
|
|
10767
11249
|
* @description An exit voluntarily submitted a validator who wishes to withdraw.
|
|
10768
11250
|
* The schema for this message is defined
|
|
@@ -11041,7 +11523,7 @@ export interface components {
|
|
|
11041
11523
|
content: {
|
|
11042
11524
|
"application/json": {
|
|
11043
11525
|
/** @description Optional policy evaluation tree. */
|
|
11044
|
-
policy_eval_tree?:
|
|
11526
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11045
11527
|
} & {
|
|
11046
11528
|
/**
|
|
11047
11529
|
* @description The slash-unbonding transaction signatures as an array of hex strings with no 0x prefix
|
|
@@ -11077,7 +11559,7 @@ export interface components {
|
|
|
11077
11559
|
content: {
|
|
11078
11560
|
"application/json": {
|
|
11079
11561
|
/** @description Optional policy evaluation tree. */
|
|
11080
|
-
policy_eval_tree?:
|
|
11562
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11081
11563
|
} & {
|
|
11082
11564
|
/**
|
|
11083
11565
|
* @description The Babylon address that will receive the staking rewards for this deposit.
|
|
@@ -11127,7 +11609,7 @@ export interface components {
|
|
|
11127
11609
|
content: {
|
|
11128
11610
|
"application/json": {
|
|
11129
11611
|
/** @description Optional policy evaluation tree. */
|
|
11130
|
-
policy_eval_tree?:
|
|
11612
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11131
11613
|
} & {
|
|
11132
11614
|
/**
|
|
11133
11615
|
* Format: int64
|
|
@@ -11148,7 +11630,7 @@ export interface components {
|
|
|
11148
11630
|
content: {
|
|
11149
11631
|
"application/json": {
|
|
11150
11632
|
/** @description Optional policy evaluation tree. */
|
|
11151
|
-
policy_eval_tree?:
|
|
11633
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11152
11634
|
} & {
|
|
11153
11635
|
/**
|
|
11154
11636
|
* @description The full signed query string, ready to be submitted to Binance.
|
|
@@ -11163,7 +11645,7 @@ export interface components {
|
|
|
11163
11645
|
content: {
|
|
11164
11646
|
"application/json": {
|
|
11165
11647
|
/** @description Optional policy evaluation tree. */
|
|
11166
|
-
policy_eval_tree?:
|
|
11648
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11167
11649
|
} & {
|
|
11168
11650
|
/** @description The base64-encoded signature in BIP137 format. */
|
|
11169
11651
|
sig: string;
|
|
@@ -11199,7 +11681,7 @@ export interface components {
|
|
|
11199
11681
|
content: {
|
|
11200
11682
|
"application/json": {
|
|
11201
11683
|
/** @description Optional policy evaluation tree. */
|
|
11202
|
-
policy_eval_tree?:
|
|
11684
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11203
11685
|
} & {
|
|
11204
11686
|
/**
|
|
11205
11687
|
* @description The Bybit-bound payload (URL-encoded query for GET, JSON body for
|
|
@@ -11231,7 +11713,7 @@ export interface components {
|
|
|
11231
11713
|
content: {
|
|
11232
11714
|
"application/json": {
|
|
11233
11715
|
/** @description Optional policy evaluation tree. */
|
|
11234
|
-
policy_eval_tree?:
|
|
11716
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11235
11717
|
} & {
|
|
11236
11718
|
/**
|
|
11237
11719
|
* @description The signed JWT, ready to be sent in `Authorization: Bearer <jwt>` to
|
|
@@ -11367,7 +11849,7 @@ export interface components {
|
|
|
11367
11849
|
response_type: "encrypted";
|
|
11368
11850
|
}) & {
|
|
11369
11851
|
/** @description Optional policy evaluation tree. */
|
|
11370
|
-
policy_eval_tree?:
|
|
11852
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11371
11853
|
} & Record<string, never>;
|
|
11372
11854
|
};
|
|
11373
11855
|
};
|
|
@@ -11401,7 +11883,7 @@ export interface components {
|
|
|
11401
11883
|
content: {
|
|
11402
11884
|
"application/json": {
|
|
11403
11885
|
/** @description Optional policy evaluation tree. */
|
|
11404
|
-
policy_eval_tree?:
|
|
11886
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11405
11887
|
} & {
|
|
11406
11888
|
/**
|
|
11407
11889
|
* @description The generated nonces as an array of 0x-prefixed hex strings
|
|
@@ -11424,7 +11906,7 @@ export interface components {
|
|
|
11424
11906
|
content: {
|
|
11425
11907
|
"application/json": {
|
|
11426
11908
|
/** @description Optional policy evaluation tree. */
|
|
11427
|
-
policy_eval_tree?:
|
|
11909
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
11428
11910
|
} & {
|
|
11429
11911
|
/**
|
|
11430
11912
|
* @description Hex-encoded RLP encoding of the transaction and its signature
|
|
@@ -12375,7 +12857,7 @@ export interface components {
|
|
|
12375
12857
|
content: {
|
|
12376
12858
|
"application/json": {
|
|
12377
12859
|
/** @description Optional policy evaluation tree. */
|
|
12378
|
-
policy_eval_tree?:
|
|
12860
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12379
12861
|
} & {
|
|
12380
12862
|
/**
|
|
12381
12863
|
* @description The PSBT in standard hex serialization, without leading "0x".
|
|
@@ -12546,7 +13028,7 @@ export interface components {
|
|
|
12546
13028
|
content: {
|
|
12547
13029
|
"application/json": {
|
|
12548
13030
|
/** @description Optional policy evaluation tree. */
|
|
12549
|
-
policy_eval_tree?:
|
|
13031
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12550
13032
|
} & {
|
|
12551
13033
|
/** @description The hex-encoded resulting signature. */
|
|
12552
13034
|
signature: string;
|
|
@@ -12610,7 +13092,7 @@ export interface components {
|
|
|
12610
13092
|
content: {
|
|
12611
13093
|
"application/json": ({
|
|
12612
13094
|
/** @description Optional policy evaluation tree. */
|
|
12613
|
-
policy_eval_tree?:
|
|
13095
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12614
13096
|
} & {
|
|
12615
13097
|
deposit_tx: components["schemas"]["DepositTxn"];
|
|
12616
13098
|
}) & {
|
|
@@ -12688,7 +13170,7 @@ export interface components {
|
|
|
12688
13170
|
signature: string;
|
|
12689
13171
|
} & {
|
|
12690
13172
|
/** @description Optional policy evaluation tree. */
|
|
12691
|
-
policy_eval_tree?:
|
|
13173
|
+
policy_eval_tree?: components["schemas"]["PolicyEvalTree"] | null;
|
|
12692
13174
|
} & Record<string, never>;
|
|
12693
13175
|
};
|
|
12694
13176
|
};
|