Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>com.fireblocks.sdk</groupId>
<artifactId>fireblocks-sdk</artifactId>
<version>12.1.2</version>
<version>0.0.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -42,7 +42,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "com.fireblocks.sdk:fireblocks-sdk:12.1.2"
compile "com.fireblocks.sdk:fireblocks-sdk:0.0.0"
```

### Others
Expand All @@ -55,7 +55,7 @@ mvn clean package

Then manually install the following JARs:

- `target/fireblocks-sdk-12.1.2.jar`
- `target/fireblocks-sdk-0.0.0.jar`
- `target/lib/*.jar`


Expand Down
69 changes: 47 additions & 22 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ paths:
tags:
- Vaults
x-internal: true
x-rate-limit-category: query
x-rate-limit-category: high_compute
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -235,7 +235,7 @@ paths:
summary: List vault accounts (Paginated)
tags:
- Vaults
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -302,7 +302,7 @@ paths:
summary: Find a vault account by ID
tags:
- Vaults
x-rate-limit-category: read
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -1126,7 +1126,7 @@ paths:
summary: Refresh asset balance data
tags:
- Vaults
x-rate-limit-category: async
x-rate-limit-category: high_compute
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -4024,7 +4024,7 @@ paths:
tags:
- Exchange accounts
x-internal: true
x-rate-limit-category: query
x-rate-limit-category: high_compute
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -4209,7 +4209,7 @@ paths:
summary: Find a specific exchange account
tags:
- Exchange accounts
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -4425,7 +4425,7 @@ paths:
summary: Find an asset for an exchange account
tags:
- Exchange accounts
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -6290,7 +6290,7 @@ paths:
summary: List internal wallets
tags:
- Internal wallets
x-rate-limit-category: query
x-rate-limit-category: high_compute
x-readme:
code-samples:
- language: typescript
Expand Down Expand Up @@ -6481,7 +6481,7 @@ paths:
summary: Get an asset from an internal wallet
tags:
- Internal wallets
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -6811,7 +6811,7 @@ paths:
summary: Get an asset from an internal wallet
tags:
- Internal wallets
x-rate-limit-category: read
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -7050,6 +7050,15 @@ paths:
nullable: true
type: boolean
style: form
- description: A case-insensitive prefix filter that matches records where either
keyId or signingDeviceKeyID starts with the specified value.
explode: true
in: query
name: keyPrefix
required: false
schema:
type: string
style: form
responses:
"200":
content:
Expand Down Expand Up @@ -7077,12 +7086,12 @@ paths:
code: "CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> response\
\ = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize,\
\ sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available,\
\ isAssigned);"
\ isAssigned, keyPrefix);"
name: Fireblocks SDK Java example
- language: python
code: "response = fireblocks.key_link_beta.get_signing_keys_list(page_cursor,\
\ page_size, sort_by, order, vault_account_id, agent_user_id, algorithm,\
\ enabled, available, is_assigned);"
\ enabled, available, is_assigned, key_prefix);"
name: Fireblocks SDK Python example
x-codeSamples:
- lang: TypeScript
Expand All @@ -7091,11 +7100,12 @@ paths:
- lang: Java
source: "CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> response\
\ = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy,\
\ order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned);"
\ order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned,\
\ keyPrefix);"
- lang: Python
source: "response = fireblocks.key_link_beta.get_signing_keys_list(page_cursor,\
\ page_size, sort_by, order, vault_account_id, agent_user_id, algorithm,\
\ enabled, available, is_assigned);"
\ enabled, available, is_assigned, key_prefix);"
x-accepts:
- application/json
post:
Expand Down Expand Up @@ -7757,7 +7767,7 @@ paths:
summary: List external wallets
tags:
- External wallets
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -8679,7 +8689,7 @@ paths:
summary: List all asset types supported by Fireblocks - legacy endpoint
tags:
- Blockchains & assets
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -8827,7 +8837,7 @@ paths:
summary: List assets
tags:
- Blockchains & assets
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -8950,7 +8960,7 @@ paths:
summary: Register an asset
tags:
- Blockchains & assets
x-rate-limit-category: write
x-rate-limit-category: high_compute
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -9043,7 +9053,7 @@ paths:
summary: Get an asset
tags:
- Blockchains & assets
x-rate-limit-category: read
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -9343,7 +9353,7 @@ paths:
summary: List blockchains
tags:
- Blockchains & assets
x-rate-limit-category: query
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -9421,7 +9431,7 @@ paths:
summary: Get an blockchain
tags:
- Blockchains & assets
x-rate-limit-category: read
x-rate-limit-category: external_query
x-readme:
code-samples:
- language: python
Expand Down Expand Up @@ -18884,7 +18894,7 @@ paths:
summary: List all open Web3 connections.
tags:
- Web3 connections
x-rate-limit-category: high_compute
x-rate-limit-category: query
x-readme:
code-samples:
- language: typescript
Expand Down Expand Up @@ -30169,6 +30179,7 @@ components:
- TRIncomingCompleted
- TRIncomingFailed
- IncomingCompleted
- UpdateCompleted
type: string
AmlRegistrationResult:
example:
Expand Down Expand Up @@ -42458,6 +42469,7 @@ components:
description: description of MYTOKEN
tokenId: "1"
vaultAccountId: "0"
externalId: 0192e4f5-924e-7bb9-8e5b-c748270feb38
to: 0x5503766D27d1ED4525f5053222E18b29C38eDdB2
metadataURI: ipfs://QmP4P6f7mDHzikhdwLBVSCxCPEgmjwcWSVBHbtSyfBYzBC
properties:
Expand Down Expand Up @@ -42491,6 +42503,12 @@ components:
example:
name: MYTOKEN
description: description of MYTOKEN
externalId:
description: External id that can be used to identify the transaction in
your system. The unique identifier of the transaction outside of Fireblocks
with max length of 255 characters
example: 0192e4f5-924e-7bb9-8e5b-c748270feb38
type: string
required:
- to
- tokenId
Expand All @@ -42512,6 +42530,7 @@ components:
amount: "1"
tokenId: "1"
vaultAccountId: "0"
externalId: 0192e4f5-924e-7bb9-8e5b-c748270feb38
properties:
vaultAccountId:
description: The id of the vault account that initiates the burn function
Expand All @@ -42526,6 +42545,12 @@ components:
\ ERC1155, amount should be 1 or greater"
example: "1"
type: string
externalId:
description: External id that can be used to identify the transaction in
your system. The unique identifier of the transaction outside of Fireblocks
with max length of 255 characters
example: 0192e4f5-924e-7bb9-8e5b-c748270feb38
type: string
required:
- tokenId
- vaultAccountId
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apply plugin: 'eclipse'
apply plugin: 'com.diffplug.spotless'

group = 'com.fireblocks.sdk'
version = '12.1.2'
version = '0.0.0'

buildscript {
repositories {
Expand Down
1 change: 1 addition & 0 deletions docs/CollectionBurnRequestDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
|**vaultAccountId** | **String** | The id of the vault account that initiates the burn function | |
|**tokenId** | **String** | The token id | |
|**amount** | **String** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [optional] |
|**externalId** | **String** | External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters | [optional] |



1 change: 1 addition & 0 deletions docs/CollectionMintRequestDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
|**amount** | **String** | For ERC721, amount is optional or should always be 1 and for ERC1155, amount should be 1 or greater | [optional] |
|**metadataURI** | **String** | URL of metadata uploaded, skip uploading to IPFS if this field is provided with any value | [optional] |
|**metadata** | [**CollectionTokenMetadataDto**](CollectionTokenMetadataDto.md) | Metadata to upload | [optional] |
|**externalId** | **String** | External id that can be used to identify the transaction in your system. The unique identifier of the transaction outside of Fireblocks with max length of 255 characters | [optional] |



2 changes: 2 additions & 0 deletions docs/ComplianceResultStatusesEnum.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,7 @@

* `INCOMING_COMPLETED` (value: `"IncomingCompleted"`)

* `UPDATE_COMPLETED` (value: `"UpdateCompleted"`)



6 changes: 4 additions & 2 deletions docs/KeyLinkBetaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ No authorization required

## getSigningKeysList

> CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> getSigningKeysList getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned)
> CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> getSigningKeysList getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned, keyPrefix)

Get list of signing keys

Expand Down Expand Up @@ -395,8 +395,9 @@ public class Example {
Boolean enabled = true; // Boolean | Return keys that have been proof of ownership
Boolean available = true; // Boolean | Return keys that are proof of ownership but not assigned. Available filter can be used only when vaultAccountId and enabled filters are not set
Boolean isAssigned = true; // Boolean | Return keys that are assigned to a vault account
String keyPrefix = "keyPrefix_example"; // String | A case-insensitive prefix filter that matches records where either keyId or signingDeviceKeyID starts with the specified value.
try {
CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> response = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned);
CompletableFuture<ApiResponse<GetSigningKeyResponseDto>> response = fireblocks.keyLinkBeta().getSigningKeysList(pageCursor, pageSize, sortBy, order, vaultAccountId, agentUserId, algorithm, enabled, available, isAssigned, keyPrefix);
System.out.println("Status code: " + response.get().getStatusCode());
System.out.println("Response headers: " + response.get().getHeaders());
System.out.println("Response body: " + response.get().getData());
Expand Down Expand Up @@ -433,6 +434,7 @@ public class Example {
| **enabled** | **Boolean**| Return keys that have been proof of ownership | [optional] |
| **available** | **Boolean**| Return keys that are proof of ownership but not assigned. Available filter can be used only when vaultAccountId and enabled filters are not set | [optional] |
| **isAssigned** | **Boolean**| Return keys that are assigned to a vault account | [optional] |
| **keyPrefix** | **String**| A case-insensitive prefix filter that matches records where either keyId or signingDeviceKeyID starts with the specified value. | [optional] |

### Return type

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>fireblocks-sdk</artifactId>
<packaging>jar</packaging>
<name>fireblocks-sdk</name>
<version>12.1.2</version>
<version>0.0.0</version>
<url>https://github.com/fireblocks/java-sdk</url>
<description>The Fireblocks Official SDK is a comprehensive software development kit that enables seamless integration and interaction with the Fireblocks platform. Fireblocks is a cutting-edge blockchain infrastructure platform that provides secure and scalable solutions for managing digital assets and transactions.
This SDK empowers developers to build robust applications that can interact with the Fireblocks platform&#39;s features, including creating and managing vault accounts, initiating secure transactions, managing assets, and more. It abstracts complex interactions with the Fireblocks API, making it easier for developers to leverage the platform&#39;s capabilities while adhering to best practices in security and efficiency.
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/fireblocks/sdk/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
value = "org.openapitools.codegen.languages.JavaClientCodegen",
comments = "Generator version: 7.14.0")
public class Configuration {
public static final String VERSION = "12.1.2";
public static final String VERSION = "0.0.0";

private static final AtomicReference<ApiClient> defaultApiClient = new AtomicReference<>();
private static volatile Supplier<ApiClient> apiClientFactory = ApiClient::new;
Expand Down
Loading