Closed Defi-Moses closed 2 months ago
The changes introduce a new field, formattedValue
, to the response object of the /getBridgeTxStatus
endpoint in the app.ts
file. This addition enhances the API response by providing a formatted representation of the transaction value, complementing existing fields such as address
, txnHash
, USDValue
, tokenSymbol
, blockNumber
, and formattedTime
.
File | Change Summary |
---|---|
packages/rest-api/src/app.ts |
Added formattedValue to the response object of the /getBridgeTxStatus endpoint. |
size/xs
, M-docs
🐇 In the code where the values play,
A new friend joins the display!
formattedValue
, bright and clear,
Makes the transactions more dear.
Hop along, let data flow,
With each change, our APIs grow! 🌟
[!TIP]
OpenAI O1 model for chat
- We have deployed OpenAI's latest O1 model for chat. - OpenAI claims that this model has superior reasoning capabilities than their GPT-4o model. - Please share any feedback with us in the [discussions post](https://discord.com/channels/1134356397673414807/1283929536186155099).
packages/rest-api/src/app.ts (1)
`547-547`: **LGTM!** The addition of the `formattedValue` field enhances the API response by providing a formatted representation of the transaction value, which improves the usability of the API for clients.
Latest commit: |
afddb84
|
Status: | ✅ Deploy successful! |
Preview URL: | https://5b255337.sanguine-fe.pages.dev |
Branch Preview URL: | https://api-edit-response.sanguine-fe.pages.dev |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 37.95310%. Comparing base (
2e517b3
) to head (afddb84
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Changes will increase total bundle size by 409.81kB (1.14%) :arrow_up:. This is within the configured threshold :white_check_mark:
Small update for a partner integration
Summary by CodeRabbit
formattedValue
field in the response of the/getBridgeTxStatus
API endpoint, enhancing the readability of transaction values for improved user experience.