Elrondex.Sc.WrapEgldSc (Elrondex v0.1.1) View Source

Link to this section Summary

Functions

Return transaction associated with the account that swap wrapped ESDT token to native EGLD token by calling CS

Return transaction associated with the account that wrap native EGLD token to wrapped ESDT token by calling CS

Return wrapped ESDT token id

Return wrapped ESDT token id associated to native EGLD token by SC

Link to this section Functions

Link to this function

get_locked_egld_balance(wrapped_egld_address, network, opts \\ [])

View Source
Link to this function

get_wrapped_egld_token_id(wrapped_egld_address, network, opts \\ [])

View Source
Link to this function

unwrap_egld(account, value)

View Source

Return transaction associated with the account that swap wrapped ESDT token to native EGLD token by calling CS

Transaction is simple ESDT token transfer from account to SC with aditional argument unwrapEgld

In order to be ready for blockchain transaction need to be prepared and signed

Link to this function

wrap_egld(account, value)

View Source

Return transaction associated with the account that wrap native EGLD token to wrapped ESDT token by calling CS

In order to be ready for blockchain transaction need to be prepared and signed

Return wrapped ESDT token id

Return wrapped ESDT token id associated to native EGLD token by SC