Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add relay endpoints #152

Merged
merged 3 commits into from
Feb 27, 2024
Merged

feat: add relay endpoints #152

merged 3 commits into from
Feb 27, 2024

Conversation

iamacook
Copy link
Member

This adds two new routes for relaying and getting the relay limit/count:

POST /v1/chains/:chainId/relay

type Request = {
  to: string;
  data: string;
  version: string;
  gasLimit?: string
}

type Response = {
  taskId: string;
}

GET /v1/chains/:chainId/relay/:safeAddress

type Response = {
  remaining: number;
  limit: number;
}

@iamacook iamacook self-assigned this Feb 27, 2024
Copy link

github-actions bot commented Feb 27, 2024

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

Copy link
Member

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@iamacook iamacook merged commit a489787 into main Feb 27, 2024
4 checks passed
@iamacook iamacook deleted the relay-endpoints branch February 27, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants