• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 7655289648
89%

Build:
DEFAULT BRANCH: main
Ran 25 Jan 2024 01:35PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Canceled at 14 Sep 2024 05:22AM UTC via web
7655289648

push

github

web-flow
Add transaction deletion endpoint (#1063)

This adds the `DELETE` `chains/:chainId/transactions/:safeTxHash` endpoint for deleting transactions. The payload is as follows:

```json
 {
    "signature": signature,
 }
```

The get the `signature` an EOA needs to sign the following 712 message:

```json
 {
    "types": {
        "EIP712Domain": [
            {"name": "name", "type": "string"},
            {"name": "version", "type": "string"},
            {"name": "chainId", "type": "uint256"},
            {"name": "verifyingContract", "type": "address"},
        ],
        "DeleteRequest": [
            {"name": "safeTxHash", "type": "bytes32"},
            {"name": "totp", "type": "uint256"},
        ],
    },
    "primaryType": "DeleteRequest",
    "domain": {
        "name": "Safe Transaction Service",
        "version": "1.0",
        "chainId": chain_id,
        "verifyingContract": safe_address,
    },
    "message": {
        "safeTxHash": safe_tx_hash,
        "totp": totp,
    },
}
```

The `totp` parameter is calculated with T0=0 and Tx=3600. It is calculated by taking the Unix UTC epoch time (without milliseconds) and dividing it by 3600 (natural division, no decimals).

---

* Add transaction deletion endpoint

* Add space and rethrow error with 400

* Fix type error
Source Files on build 7655289648
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #7655289648
  • b960f36c on github
  • Prev Build on main (#7655241988)
  • Next Build on main (#7656253289)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc