Skip to content

Simulate does not auto fill "Fee" field correctly #3207

@nixer89

Description

@nixer89

when using the simulate endpoint, I do get sometimes this error:

RippledError(Fee of 5223 exceeds the requested tx limit of 100

while I did NOT define a Fee in my provided json transaction (I guess 100 drops is the default which gets added).

I know I can probably go around this by adding an arbitrary high amount as Fee into the json transaction. but maybe this is something worth fixing in the simulate endpoint itself. It should fetch the current open ledger fee from the server_info response, like the submit endpoint does with using autofill: true.

The docs also state: "If the Fee, Sequence, SigningPubKey, or NetworkID fields are provided, they will be used in the transaction. Otherwise, the server will autofill them."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions