Fungible

Get assets that can be reached from a source via transfers under different conditions (e.g. single vs multiple txs)

post/v2/fungible/assets_from_source

Request body

source_asset_denomstring required

Denom of the source asset

source_asset_chain_idstring required

Chain-id of the source asset

allow_multi_txboolean

Whether to include recommendations requiring multiple transactions to reach the destination

recommendation_reason'UNKNOWN' | 'MOST_LIQUID' | 'BASE_TOKEN' | 'DIRECT'

Recommendation reason:

  • UNKNOWN - Unknown recommendation reason.
  • MOST_LIQUID - Highest liquidity form of the transferred token on the destination chain.
  • BASE_TOKEN - The base token if the destination chain is the origin chain of the source token.
  • DIRECT - The token resulting from the least amount of transfers to the destination chain.
include_swapsboolean

Whether to include swap routes

native_onlyboolean

Whether to only return native assets

group_bystring nullable

Optional grouping key for results

include_cw20_assetsboolean

Whether to include CW20 tokens

Response

Assets reachable from the specified source without swapping

dest_assetsobject

Array of assets that are reachable from the specified source asset

Changes

Changed in 5 of the 50 revisions of this API.8717

    • added the new HIGH_LOSS_ERROR enum value to the details/items/reason response property for the response status 400

      response-property-enum-value-added

    • added the new HIGH_LOSS_ERROR enum value to the details/items/reason response property for the response status 500

      response-property-enum-value-added

    • the response property dest_assets/additionalProperties/assets/items/chain_id became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/denom became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/is_cw20 became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/is_evm became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/is_svm became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/origin_chain_id became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/origin_denom became required for the status 200

      response-property-became-required

    • the response property dest_assets/additionalProperties/assets/items/trace became required for the status 200

      response-property-became-required

    • added the new optional request property group_by

      new-optional-request-property

    • added the new optional request property include_swaps

      new-optional-request-property

    • added the new optional request property native_only

      new-optional-request-property

    • added the new optional request property recommendation_reason

      new-optional-request-property

    • added the new optional request property swap_venues

      new-optional-request-property

    • api operation id getAssetsFromSource removed and replaced with assetsFromSource

      api-operation-id-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 41d672a22597853See the full diff
    • the response property dest_assets/additionalProperties/assets/items/chain_id became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/denom became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/is_cw20 became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/is_evm became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/is_svm became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/origin_chain_id became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/origin_denom became optional for the status 200

      response-property-became-optional

    • the response property dest_assets/additionalProperties/assets/items/trace became optional for the status 200

      response-property-became-optional

    • removed the request property group_by

      request-property-removed

    • removed the request property include_swaps

      request-property-removed

    • removed the request property native_only

      request-property-removed

    • removed the request property recommendation_reason

      request-property-removed

    • removed the request property swap_venues

      request-property-removed

    • api operation id assetsFromSource removed and replaced with getAssetsFromSource

      api-operation-id-removed

    • removed the HIGH_LOSS_ERROR enum value from the details/items/reason response property for the response status 400

      response-property-enum-value-removed

    • removed the HIGH_LOSS_ERROR enum value from the details/items/reason response property for the response status 500

      response-property-enum-value-removed

    This revision also has 32 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog