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
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.0.18 -- 2026-02-20

### Patch Changes
- Synced with mono v2026.2.5

## 0.0.17 -- 2026-01-30

### Patch Changes
Expand All @@ -11,4 +16,4 @@

## 0.0.16 -- 2026-01-29

Version yanked because the resulting gem was too large in size (81MB)
Version yanked because the resulting gem was too large in size (81MB)
7 changes: 7 additions & 0 deletions turnkey_client/lib/turnkey_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
require 'turnkey_client/models/app_proof'
require 'turnkey_client/models/approve_activity_intent'
require 'turnkey_client/models/approve_activity_request'
require 'turnkey_client/models/asset_balance'
require 'turnkey_client/models/asset_balance_display'
require 'turnkey_client/models/asset_metadata'
require 'turnkey_client/models/attestation'
require 'turnkey_client/models/authenticator'
require 'turnkey_client/models/authenticator_attestation_response'
Expand Down Expand Up @@ -290,6 +293,8 @@
require 'turnkey_client/models/get_wallet_account_response'
require 'turnkey_client/models/get_wallet_accounts_request'
require 'turnkey_client/models/get_wallet_accounts_response'
require 'turnkey_client/models/get_wallet_address_balances_request'
require 'turnkey_client/models/get_wallet_address_balances_response'
require 'turnkey_client/models/get_wallet_request'
require 'turnkey_client/models/get_wallet_response'
require 'turnkey_client/models/get_wallets_request'
Expand Down Expand Up @@ -334,6 +339,8 @@
require 'turnkey_client/models/list_oauth2_credentials_response'
require 'turnkey_client/models/list_private_key_tags_request'
require 'turnkey_client/models/list_private_key_tags_response'
require 'turnkey_client/models/list_supported_assets_request'
require 'turnkey_client/models/list_supported_assets_response'
require 'turnkey_client/models/list_user_tags_request'
require 'turnkey_client/models/list_user_tags_response'
require 'turnkey_client/models/mnemonic_language'
Expand Down
24 changes: 12 additions & 12 deletions turnkey_client/lib/turnkey_client/api/broadcasting_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class BroadcastingApi
def initialize(api_client = ApiClient.default)
@api_client = api_client
end
# Submit a transaction intent for broadcasting.
# Submit a transaction intent describing a transaction you would like to broadcast.
# Broadcast EVM transaction
# Submit a transaction intent describing an EVM transaction you would like to broadcast.
# @param body
# @param [Hash] opts the optional parameters
# @return [ActivityResponse]
Expand All @@ -25,8 +25,8 @@ def eth_send_transaction(body, opts = {})
data
end

# Submit a transaction intent for broadcasting.
# Submit a transaction intent describing a transaction you would like to broadcast.
# Broadcast EVM transaction
# Submit a transaction intent describing an EVM transaction you would like to broadcast.
# @param body
# @param [Hash] opts the optional parameters
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
Expand Down Expand Up @@ -73,7 +73,7 @@ def eth_send_transaction_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# Get gas usage and limits.
# Get gas usage
# Get gas usage and gas limits for either the parent organization or a sub-organization.
# @param body
# @param [Hash] opts the optional parameters
Expand All @@ -83,7 +83,7 @@ def get_gas_usage(body, opts = {})
data
end

# Get gas usage and limits.
# Get gas usage
# Get gas usage and gas limits for either the parent organization or a sub-organization.
# @param body
# @param [Hash] opts the optional parameters
Expand Down Expand Up @@ -131,7 +131,7 @@ def get_gas_usage_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# Get nonces for an address.
# Get nonces
# Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions.
# @param body
# @param [Hash] opts the optional parameters
Expand All @@ -141,7 +141,7 @@ def get_nonces(body, opts = {})
data
end

# Get nonces for an address.
# Get nonces
# Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions.
# @param body
# @param [Hash] opts the optional parameters
Expand Down Expand Up @@ -189,8 +189,8 @@ def get_nonces_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# Submit a transaction intent for broadcasting.
# Submit a transaction intent describing a transaction you would like to broadcast.
# Broadcast SVM transaction
# Submit a transaction intent describing an SVM transaction you would like to broadcast.
# @param body
# @param [Hash] opts the optional parameters
# @return [ActivityResponse]
Expand All @@ -199,8 +199,8 @@ def sol_send_transaction(body, opts = {})
data
end

# Submit a transaction intent for broadcasting.
# Submit a transaction intent describing a transaction you would like to broadcast.
# Broadcast SVM transaction
# Submit a transaction intent describing an SVM transaction you would like to broadcast.
# @param body
# @param [Hash] opts the optional parameters
# @return [Array<(ActivityResponse, Integer, Hash)>] ActivityResponse data, response status code and response headers
Expand Down
116 changes: 116 additions & 0 deletions turnkey_client/lib/turnkey_client/api/wallets_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,64 @@ def get_wallet_accounts_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# Get balances
# Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access.
# @param body
# @param [Hash] opts the optional parameters
# @return [GetWalletAddressBalancesResponse]
def get_wallet_address_balances(body, opts = {})
data, _status_code, _headers = get_wallet_address_balances_with_http_info(body, opts)
data
end

# Get balances
# Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. This feature is in beta - please contact support for access.
# @param body
# @param [Hash] opts the optional parameters
# @return [Array<(GetWalletAddressBalancesResponse, Integer, Hash)>] GetWalletAddressBalancesResponse data, response status code and response headers
def get_wallet_address_balances_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: WalletsApi.get_wallet_address_balances ...'
end
# verify the required parameter 'body' is set
if @api_client.config.client_side_validation && body.nil?
fail ArgumentError, "Missing the required parameter 'body' when calling WalletsApi.get_wallet_address_balances"
end
# resource path
local_var_path = '/public/v1/query/get_wallet_address_balances'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
# HTTP header 'Content-Type'
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:body] || @api_client.object_to_http_body(body)

return_type = opts[:return_type] || 'GetWalletAddressBalancesResponse'

auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type)

if @api_client.config.debugging
@api_client.config.logger.debug "API called: WalletsApi#get_wallet_address_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# List wallets
# List all wallets within an organization.
# @param body
Expand Down Expand Up @@ -711,6 +769,64 @@ def init_import_wallet_with_http_info(body, opts = {})
end
return data, status_code, headers
end
# List supported assets
# List supported assets for the specified network. This feature is in beta - please contact support for access.
# @param body
# @param [Hash] opts the optional parameters
# @return [ListSupportedAssetsResponse]
def list_supported_assets(body, opts = {})
data, _status_code, _headers = list_supported_assets_with_http_info(body, opts)
data
end

# List supported assets
# List supported assets for the specified network. This feature is in beta - please contact support for access.
# @param body
# @param [Hash] opts the optional parameters
# @return [Array<(ListSupportedAssetsResponse, Integer, Hash)>] ListSupportedAssetsResponse data, response status code and response headers
def list_supported_assets_with_http_info(body, opts = {})
if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: WalletsApi.list_supported_assets ...'
end
# verify the required parameter 'body' is set
if @api_client.config.client_side_validation && body.nil?
fail ArgumentError, "Missing the required parameter 'body' when calling WalletsApi.list_supported_assets"
end
# resource path
local_var_path = '/public/v1/query/list_supported_assets'

# query parameters
query_params = opts[:query_params] || {}

# header parameters
header_params = opts[:header_params] || {}
# HTTP header 'Accept' (if needed)
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
# HTTP header 'Content-Type'
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

# form parameters
form_params = opts[:form_params] || {}

# http body (model)
post_body = opts[:body] || @api_client.object_to_http_body(body)

return_type = opts[:return_type] || 'ListSupportedAssetsResponse'

auth_names = opts[:auth_names] || ['ApiKeyAuth', 'AuthenticatorAuth']
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
:header_params => header_params,
:query_params => query_params,
:form_params => form_params,
:body => post_body,
:auth_names => auth_names,
:return_type => return_type)

if @api_client.config.debugging
@api_client.config.logger.debug "API called: WalletsApi#list_supported_assets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
end
return data, status_code, headers
end
# Update wallet
# Update a wallet for an organization.
# @param body
Expand Down
Loading
Loading