Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
docs: update eth_prepareUserOperation argument to not be an array (#…
Browse files Browse the repository at this point in the history
…252)

As it was, it seemed that there were two levels of arrays, which didn't
match the example.
  • Loading branch information
danroc authored Feb 21, 2024
1 parent 7403c90 commit bd7f1b8
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions docs/evm_methods_userOp.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,18 @@ Prepare a new UserOperation from transaction data.

### Parameters (Array)

1. **Transactions (required)**
- Type: `array`
1. **Transaction Intents (repeated, required)**
- Type: `object`
- Properties:
- Type: `object`
- Properties:
- `to`
- Type: `string`
- Pattern: `^0x[0-9a-fA-F]{40}$`
- `value`
- Type: `string`
- Pattern: `^0x([1-9a-f][0-9a-f]*|0)$`
- `data`
- Type: `string`
- Pattern: `^0x[0-9a-f]*$`
- `to`
- Type: `string`
- Pattern: `^0x[0-9a-fA-F]{40}$`
- `value`
- Type: `string`
- Pattern: `^0x([1-9a-f][0-9a-f]*|0)$`
- `data`
- Type: `string`
- Pattern: `^0x[0-9a-f]*$`

### Returns

Expand Down

0 comments on commit bd7f1b8

Please sign in to comment.