Skip to content

Commit

Permalink
tenderly.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
intls committed Nov 30, 2024
1 parent ded067b commit 5e626a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/linea-ens-app/src/utils/tenderly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type ExtensionRequest = {
from: Address
}

type TenderlyRepsonse = {
type TenderlyResponse = {
gasUsed: number
status: boolean
}
Expand All @@ -32,7 +32,7 @@ export const fetchTenderlyEstimate = async (
req: BaseRequest & (RegistrationRequest | ExtensionRequest),
) => {
const { type, ...bodyData } = req
const result: TenderlyRepsonse = await fetch(`${TENDERLY_WORKER_URL}/${type}`, {
const result: TenderlyResponse = await fetch(`${TENDERLY_WORKER_URL}/${type}`, {
method: 'POST',
body: JSON.stringify(bodyData),
}).then((res) => res.json())
Expand Down

0 comments on commit 5e626a9

Please sign in to comment.