All URIs are relative to https://api.fireblocks.io/v1
| Method | HTTP request | Description |
|---|---|---|
| create_trust_proof_of_address | POST /screening/travel_rule/providers/trust/proof_of_address | Create Trust Network Proof of Address |
| get_trust_proof_of_address | GET /screening/travel_rule/providers/trust/proof_of_address/{transactionId} | Retrieve Trust Network Proof of Address Signature |
| get_vasp_for_vault | GET /screening/travel_rule/vault/{vaultAccountId}/vasp | Get assigned VASP to vault |
| get_vaspby_did | GET /screening/travel_rule/vasp/{did} | Get VASP details |
| get_vasps | GET /screening/travel_rule/vasp | Get All VASPs |
| set_vasp_for_vault | POST /screening/travel_rule/vault/{vaultAccountId}/vasp | Assign VASP to vault |
| update_vasp | PUT /screening/travel_rule/vasp/update | Add jsonDidKey to VASP details |
| validate_full_travel_rule_transaction | POST /screening/travel_rule/transaction/validate/full | Validate Full Travel Rule Transaction |
TrustProofOfAddressCreateResponse create_trust_proof_of_address(trust_proof_of_address_request, idempotency_key=idempotency_key)
Create Trust Network Proof of Address
Creates a cryptographic proof of address ownership for TRUST network.
from fireblocks.models.trust_proof_of_address_create_response import TrustProofOfAddressCreateResponse
from fireblocks.models.trust_proof_of_address_request import TrustProofOfAddressRequest
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
trust_proof_of_address_request = fireblocks.TrustProofOfAddressRequest() # TrustProofOfAddressRequest |
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:
# Create Trust Network Proof of Address
api_response = fireblocks.travel_rule.create_trust_proof_of_address(trust_proof_of_address_request, idempotency_key=idempotency_key).result()
print("The response of TravelRuleApi->create_trust_proof_of_address:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->create_trust_proof_of_address: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| trust_proof_of_address_request | TrustProofOfAddressRequest | ||
| 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] |
TrustProofOfAddressCreateResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | Proof of address transaction created successfully | * X-Request-ID - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TrustProofOfAddressResponse get_trust_proof_of_address(transaction_id)
Retrieve Trust Network Proof of Address Signature
Retrieves the TRUST-compatible encoded signature for a proof of address transaction. Send this signature directly to TRUST for verification.
from fireblocks.models.trust_proof_of_address_response import TrustProofOfAddressResponse
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
transaction_id = '550e8400-e29b-41d4-a716-446655440000' # str | Fireblocks transaction ID (UUID format)
try:
# Retrieve Trust Network Proof of Address Signature
api_response = fireblocks.travel_rule.get_trust_proof_of_address(transaction_id).result()
print("The response of TravelRuleApi->get_trust_proof_of_address:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->get_trust_proof_of_address: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| transaction_id | str | Fireblocks transaction ID (UUID format) |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Encoded signature retrieved successfully | * X-Request-ID - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleVaspForVault get_vasp_for_vault(vault_account_id)
Get assigned VASP to vault
Get assigned VASP Did for a specific vault. Returns empty string vaspDid value in response if none assigned.
from fireblocks.models.travel_rule_vasp_for_vault import TravelRuleVaspForVault
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
vault_account_id = '1' # str | The ID of the vault account
try:
# Get assigned VASP to vault
api_response = fireblocks.travel_rule.get_vasp_for_vault(vault_account_id).result()
print("The response of TravelRuleApi->get_vasp_for_vault:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->get_vasp_for_vault: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| vault_account_id | str | The ID of the vault account |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | * X-Request-ID - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleVASP get_vaspby_did(did, fields=fields)
Get VASP details
Get VASP Details.
Returns information about a VASP that has the specified DID.
from fireblocks.models.travel_rule_vasp import TravelRuleVASP
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
did = 'did_example' # str |
fields = ['fields_example'] # List[str] | A CSV of fields to return. Choose from the following options: (optional)
try:
# Get VASP details
api_response = fireblocks.travel_rule.get_vaspby_did(did, fields=fields).result()
print("The response of TravelRuleApi->get_vaspby_did:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->get_vaspby_did: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| did | str | ||
| fields | List[str] | A CSV of fields to return. Choose from the following options: | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Transaction validated successfully | - |
| 400 | Invalid request body | - |
| 500 | Internal server error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleGetAllVASPsResponse get_vasps(order=order, page_size=page_size, fields=fields, search=search, review_value=review_value, page_cursor=page_cursor)
Get All VASPs
Get All VASPs.
Returns a list of VASPs. VASPs can be searched and sorted.
from fireblocks.models.travel_rule_get_all_vasps_response import TravelRuleGetAllVASPsResponse
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
order = 'ASC' # str | Field to order by (optional)
page_size = 500 # float | Records per page (optional) (default to 500)
fields = ['fields_example'] # List[str] | CSV of fields to return (all, \"blank\" or see list of all field names below) (optional)
search = 'Fireblocks' # str | Search query (optional)
review_value = 'TRUSTED' # str | Filter by the VASP's review status. Possible values include: \"TRUSTED\", \"BLOCKED\", \"MANUAL\", or \"NULL\". When provided, only VASPs that match the specified reviewValue will be returned (i.e., VASPs that have already been reviewed to this status). (optional)
page_cursor = '100' # str | Cursor for pagination. When provided, the response will include the next page of results. (optional)
try:
# Get All VASPs
api_response = fireblocks.travel_rule.get_vasps(order=order, page_size=page_size, fields=fields, search=search, review_value=review_value, page_cursor=page_cursor).result()
print("The response of TravelRuleApi->get_vasps:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->get_vasps: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| order | str | Field to order by | [optional] |
| page_size | float | Records per page | [optional] [default to 500] |
| fields | List[str] | CSV of fields to return (all, "blank" or see list of all field names below) | [optional] |
| search | str | Search query | [optional] |
| review_value | str | Filter by the VASP's review status. Possible values include: "TRUSTED", "BLOCKED", "MANUAL", or "NULL". When provided, only VASPs that match the specified reviewValue will be returned (i.e., VASPs that have already been reviewed to this status). | [optional] |
| page_cursor | str | Cursor for pagination. When provided, the response will include the next page of results. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Get all VASPs | - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleVaspForVault set_vasp_for_vault(vault_account_id, travel_rule_vasp_for_vault, idempotency_key=idempotency_key)
Assign VASP to vault
Sets the VASP Did for a specific vault. Pass empty string to remove existing one.
from fireblocks.models.travel_rule_vasp_for_vault import TravelRuleVaspForVault
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
vault_account_id = 'vault_account_id_example' # str | The ID of the vault account
travel_rule_vasp_for_vault = fireblocks.TravelRuleVaspForVault() # TravelRuleVaspForVault |
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:
# Assign VASP to vault
api_response = fireblocks.travel_rule.set_vasp_for_vault(vault_account_id, travel_rule_vasp_for_vault, idempotency_key=idempotency_key).result()
print("The response of TravelRuleApi->set_vasp_for_vault:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->set_vasp_for_vault: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| vault_account_id | str | The ID of the vault account | |
| travel_rule_vasp_for_vault | TravelRuleVaspForVault | ||
| 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] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 201 | OK | * X-Request-ID - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleUpdateVASPDetails update_vasp(travel_rule_update_vasp_details, idempotency_key=idempotency_key)
Add jsonDidKey to VASP details
Update VASP Details.
Updates a VASP with the provided parameters. Use this endpoint to add your public jsonDIDkey generated by Notabene.
from fireblocks.models.travel_rule_update_vasp_details import TravelRuleUpdateVASPDetails
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
travel_rule_update_vasp_details = fireblocks.TravelRuleUpdateVASPDetails() # TravelRuleUpdateVASPDetails |
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:
# Add jsonDidKey to VASP details
api_response = fireblocks.travel_rule.update_vasp(travel_rule_update_vasp_details, idempotency_key=idempotency_key).result()
print("The response of TravelRuleApi->update_vasp:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->update_vasp: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| travel_rule_update_vasp_details | TravelRuleUpdateVASPDetails | ||
| 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] |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | VASP updated successfully | - |
| 400 | Invalid request body | - |
| 500 | Internal server error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TravelRuleValidateTransactionResponse validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request, notation=notation, idempotency_key=idempotency_key)
Validate Full Travel Rule Transaction
Validate Full Travel Rule transactions.
Checks for all required information on the originator and beneficiary VASPs.
from fireblocks.models.travel_rule_validate_full_transaction_request import TravelRuleValidateFullTransactionRequest
from fireblocks.models.travel_rule_validate_transaction_response import TravelRuleValidateTransactionResponse
from fireblocks.client import Fireblocks
from fireblocks.client_configuration import ClientConfiguration
from fireblocks.exceptions import ApiException
from fireblocks.base_path import BasePath
from pprint import pprint
# load the secret key content from a file
with open('your_secret_key_file_path', 'r') as file:
secret_key_value = file.read()
# build the configuration
configuration = ClientConfiguration(
api_key="your_api_key",
secret_key=secret_key_value,
base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1"
)
# Enter a context with an instance of the API client
with Fireblocks(configuration) as fireblocks:
travel_rule_validate_full_transaction_request = fireblocks.TravelRuleValidateFullTransactionRequest() # TravelRuleValidateFullTransactionRequest |
notation = ['notation_example'] # List[str] | Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - `<none>`: Defaults to `notabene` for backward compatibility. **Note:** The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. (optional)
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:
# Validate Full Travel Rule Transaction
api_response = fireblocks.travel_rule.validate_full_travel_rule_transaction(travel_rule_validate_full_transaction_request, notation=notation, idempotency_key=idempotency_key).result()
print("The response of TravelRuleApi->validate_full_travel_rule_transaction:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling TravelRuleApi->validate_full_travel_rule_transaction: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| travel_rule_validate_full_transaction_request | TravelRuleValidateFullTransactionRequest | ||
| notation | List[str] | Specifies the notation of the transaction. Possible values are: - `notabene`: Uses Notabene notation (default behavior). - `fireblocks`: Uses Fireblocks notation, with automatic translation of asset tickers and amounts. - `<none>`: Defaults to `notabene` for backward compatibility. Note: The default value for the `notation` parameter will change from `notabene` to `fireblocks` Update your integrations accordingly. | [optional] |
| 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] |
TravelRuleValidateTransactionResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Transaction validated successfully | - |
| 0 | Error Response | * X-Request-ID - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]