We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f02ff43 commit 587d6baCopy full SHA for 587d6ba
src/server/routes/backend-wallet/sendTransaction.ts
@@ -30,6 +30,17 @@ const requestBodySchema = Type.Object({
30
...txOverridesWithoutValue.properties,
31
});
32
33
+requestBodySchema.examples = [
34
+ {
35
+ toAddress: "0x7a0ce8524bea337f0bee853b68fabde145dac0a0",
36
+ data: "0x449a52f800000000000000000000000043cae0d7fe86c713530e679ce02574743b2ee9fc0000000000000000000000000000000000000000000000000de0b6b3a7640000",
37
+ value: "0x00",
38
+ txOverrides: {
39
+ gas: "50000",
40
+ },
41
42
+];
43
+
44
export async function sendTransaction(fastify: FastifyInstance) {
45
fastify.route<{
46
Params: Static<typeof ParamsSchema>;
0 commit comments