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
248 changes: 0 additions & 248 deletions CHANGELOG.md

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ Class | Method | HTTP request | Description
*DeployedContractsApi* | [**get_deployed_contract_by_address**](docs/DeployedContractsApi.md#get_deployed_contract_by_address) | **GET** /tokenization/contracts/{assetId}/{contractAddress} | Return deployed contract data
*DeployedContractsApi* | [**get_deployed_contract_by_id**](docs/DeployedContractsApi.md#get_deployed_contract_by_id) | **GET** /tokenization/contracts/{id} | Return deployed contract data by id
*DeployedContractsApi* | [**get_deployed_contracts**](docs/DeployedContractsApi.md#get_deployed_contracts) | **GET** /tokenization/contracts | List deployed contracts data
*EarnBetaApi* | [**approve_terms_of_service**](docs/EarnBetaApi.md#approve_terms_of_service) | **POST** /earn/providers/{providerId}/approve_terms_of_service | Approve earn provider terms of service
*EarnBetaApi* | [**approve_terms_of_service**](docs/EarnBetaApi.md#approve_terms_of_service) | **POST** /earn/providers/approve_terms_of_service | Approve earn provider terms of service
*EarnBetaApi* | [**create_earn_action**](docs/EarnBetaApi.md#create_earn_action) | **POST** /earn/actions | Create and execute a lending action (deposit or withdraw)
*EarnBetaApi* | [**get_earn_action**](docs/EarnBetaApi.md#get_earn_action) | **GET** /earn/actions/{id} | Get a single earn lending action
*EarnBetaApi* | [**get_earn_actions**](docs/EarnBetaApi.md#get_earn_actions) | **GET** /earn/actions | List earn lending actions
Expand Down
14 changes: 6 additions & 8 deletions docs/EarnBetaApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All URIs are relative to *https://api.fireblocks.io/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**approve_terms_of_service**](EarnBetaApi.md#approve_terms_of_service) | **POST** /earn/providers/{providerId}/approve_terms_of_service | Approve earn provider terms of service
[**approve_terms_of_service**](EarnBetaApi.md#approve_terms_of_service) | **POST** /earn/providers/approve_terms_of_service | Approve earn provider terms of service
[**create_earn_action**](EarnBetaApi.md#create_earn_action) | **POST** /earn/actions | Create and execute a lending action (deposit or withdraw)
[**get_earn_action**](EarnBetaApi.md#get_earn_action) | **GET** /earn/actions/{id} | Get a single earn lending action
[**get_earn_actions**](EarnBetaApi.md#get_earn_actions) | **GET** /earn/actions | List earn lending actions
Expand All @@ -14,13 +14,13 @@ Method | HTTP request | Description


# **approve_terms_of_service**
> approve_terms_of_service(provider_id, idempotency_key=idempotency_key)
> approve_terms_of_service(idempotency_key=idempotency_key)

Approve earn provider terms of service

Approves the lending provider's terms of service for this workspace. When
`isTermsApprovalRequired` is true on the provider (see list providers),
call this once before creating or executing earn actions with that provider.
Approves earn provider terms of service for this workspace (one-time per tenant).
When `isTermsApprovalRequired` is true on a provider (see list providers),
call this once before creating or executing earn actions with providers that require it.
After success, `GET /earn/providers` reflects `isTermsOfServiceApproved`.

**Note:** This endpoint is currently in beta and might be subject to changes.
Expand Down Expand Up @@ -49,12 +49,11 @@ configuration = ClientConfiguration(

# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
provider_id = 'provider_id_example' # str | Stable protocol identifier for the earn provider (`MORPHO` or `AAVE`).
idempotency_key = 'idempotency_key_example' # str | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional)

try:
# Approve earn provider terms of service
fireblocks.earn_beta.approve_terms_of_service(provider_id, idempotency_key=idempotency_key).result()
fireblocks.earn_beta.approve_terms_of_service(idempotency_key=idempotency_key).result()
except Exception as e:
print("Exception when calling EarnBetaApi->approve_terms_of_service: %s\n" % e)
```
Expand All @@ -66,7 +65,6 @@ with Fireblocks(configuration) as fireblocks:

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**provider_id** | **str**| Stable protocol identifier for the earn provider (`MORPHO` or `AAVE`). |
**idempotency_key** | **str**| A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | [optional]

### Return type
Expand Down
1 change: 1 addition & 0 deletions docs/TransactionRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Name | Type | Description | Notes
**network_staking** | [**TransactionRequestNetworkStaking**](TransactionRequestNetworkStaking.md) | | [optional]
**cpu_staking** | [**TransactionRequestNetworkStaking**](TransactionRequestNetworkStaking.md) | | [optional]
**use_gasless** | **bool** | - Override the default gasless configuration by sending true\\false | [optional]
**expires_after_seconds** | **float** | The number of seconds the transaction is valid for before it expires. After the specified duration, the transaction will expire if it has not been broadcasted. | [optional]

## Example

Expand Down
1 change: 1 addition & 0 deletions docs/TransactionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Name | Type | Description | Notes
**network_records** | [**List[NetworkRecord]**](NetworkRecord.md) | In case a single transaction resulted with multiple transfers, for example a result of a contract call, then this parameter specifies each transfer that took place on the blockchain. In case of a single transfer transaction, this parameter is empty. | [optional]
**created_at** | **float** | The transaction’s creation date and time, in unix timestamp. | [optional]
**last_updated** | **float** | The transaction’s last update date and time, in unix timestamp. | [optional]
**expires_at** | **float** | The transaction’s expiration date and time, in unix timestamp. Only returned for transactions that have an expiration set. | [optional]
**created_by** | **str** | User ID of the initiator of the transaction. | [optional]
**signed_by** | **List[str]** | User ID’s of the signers of the transaction. | [optional]
**rejected_by** | **str** | User ID of the user that rejected the transaction (in case it was rejected). | [optional]
Expand Down
14 changes: 5 additions & 9 deletions docs/VaultsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,8 @@ No authorization required
Activate a USDC Gateway wallet

Activates the USDC Gateway wallet associated with the given vault account. If the wallet does not yet exist it is created in an activated state.

**Note:** This endpoint is currently in beta and might be subject to changes.

</br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver.
**Note:** This endpoint is currently in beta and might be subject to changes.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver.

### Example

Expand Down Expand Up @@ -786,10 +784,8 @@ No authorization required
Deactivate a USDC Gateway wallet

Deactivates the USDC Gateway wallet associated with the given vault account.

**Note:** This endpoint is currently in beta and might be subject to changes.

</br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver.
**Note:** This endpoint is currently in beta and might be subject to changes.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver.

### Example

Expand Down Expand Up @@ -1601,7 +1597,7 @@ Get USDC Gateway wallet info

Returns the USDC Gateway wallet information associated with the given vault account.
**Note:** This endpoint is currently in beta and might be subject to changes.
</br>Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.

### Example

Expand Down
Loading
Loading