github 5afe/safe-client-gateway v3.30.0
Version 3.30.0

latest releases: v3.53.0, v3.52.0, v3.51.0...
2 years ago

What's Changed

New endpoint: /preview

  • Adds new endpoint under POST /v1/chains/<chain_id>/transactions/<safe_address>/preview #924
  • This endpoint is behind a feature flag – to enable it, set FEATURE_PREVIEW_ENDPOINT to true in your environment to enable it
  • This endpoint takes some transaction data and returns a TransactionInfo (used for rendering the transaction "header") and the respective TransactionData.
  • The clients should provide in the body of the request the following parameters: to (mandatory), data (optional), value (mandatory) and operation (mandatory)
  • If there's an error while trying to get the decoded data, then the original raw data is returned – ie.: this endpoint does not fail if there's an issue while decoding the data or if it's null
  • If the to address has no mapping (to a known address) then the original to address is returned with the other "known address" fields set to null
POST /v1/chains/<chain_id>/transactions/<safe_address>/preview

client >>> service
{
  "to": <str>,
  "data": <optional-str>,
  "value": <str>,
  "operation": <int>
}

client <<< service
{
  "txInfo": TransactionInfo,
  "txData": TransactionData
}

Other changes

  • Bump serde from 1.0.140 to 1.0.141 in #935

Full Changelog: v3.29.0...v3.30.0

Don't miss a new safe-client-gateway release

NewReleases is sending notifications on new releases.