Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2

...

Parameter

Required

Format

Definition

account

Yes

String

Public address on ETH blockchain where wrapped FIO should be delivered.

amount

Yes

Positive Int

Amount of wFIO (in SUFs) to unwrap.

TBD (Paweł): So if I wrap 1,000,000,001 SUFs, how many WFIO will I get?

Example

Code Block
{
  "amount": 100000000000,
  "account": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
}

...

Parameter

Required

Format

Definition

amount

Yes

Positive Int

Amount of wFIO (in SUFs) to unwrap.

fio_address (hash)

Yes

String

Hash of the FIO Address where FIO Tokens should be delivered.

max_oracle_fee?

Yes

Positive Int

TBD (Paweł): Oracle fees only charged on Wrap?

max_fee?

Yes

Positive Int

Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.

tpid?

Yes

FIO Address

FIO Address of the entity which generates this transaction. TPID rewards will be paid to this address. Set to empty if not known.

...