Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Page Spec

Item

Content

Page URL

/discover/fio-bridge

Page Title

FIO Protocol - FIO Bridge

Design

https://www.figma.com/file/n33HwJfIuwy068A7G0Bdpg/FIO-Website?type=design&node-id=619-6660

Section Content

Live Wrap & Unwrap Transactions!

Dynamic Content

Content element

Endpoint

Response

Transactions

GET https://api-dashboard.fioprotocol.io/api/v1/wrap-status/domains/wrap?limit=5&offset=0

Returns transactions of Type: Wrap and Asset: FIO Domain

  • datalistdatablock_time as Date/Time stamp

  • datalistdataaction_traceactdatafio_domain as Domain Name

  • If datalistconfirmDatablockHash exists status is Successful, else it's Pending

{
    "data": {
        "list": [
            {
                "transactionId": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                "address": "0x326C9Fd417711d5F782FFCf1a42fD2DcD398d426",
                "domain": "elonmusk",
                "blockNumber": "211469908",
                "data": {
                    "global_action_seq": 241325583,
                    "account_action_seq": 8512,
                    "block_num": 211469908,
                    "block_time": "2023-08-01T20:39:11.000",
                    "action_trace": {
                        "receipt": {
                            "receiver": "fio.oracle",
                            "response": "{\"status\": \"OK\",\"oracle_fee_collected\":\"15000000000\",\"fee_collected\":2000000000}",
                            "act_digest": "8136bd092d63c622323c29bd8fff84aaf8fc4b77171a8a969b3abc4c9c618177",
                            "global_sequence": 241325583,
                            "recv_sequence": 752,
                            "auth_sequence": [
                                [
                                    "ytew4k3afrkw",
                                    163
                                ]
                            ],
                            "code_sequence": 1,
                            "abi_sequence": 1
                        },
                        "receiver": "fio.oracle",
                        "act": {
                            "account": "fio.oracle",
                            "name": "wrapdomain",
                            "authorization": [
                                {
                                    "actor": "ytew4k3afrkw",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "fio_domain": "elonmusk",
                                "chain_code": "MATIC",
                                "public_address": "0x326C9Fd417711d5F782FFCf1a42fD2DcD398d426",
                                "max_oracle_fee": 50000000000,
                                "max_fee": 2000000000,
                                "tpid": "dashboard@fio",
                                "actor": "ytew4k3afrkw"
                            },
                            "hex_data": "08656c6f6e6d75736b054d415449432a30783332364339466434313737313164354637383246464366316134326644324463443339386434323600743ba40b00000000943577000000000d64617368626f6172644066696fc0e15d6640c255f6"
                        },
                        "context_free": false,
                        "elapsed": 1646,
                        "console": "",
                        "trx_id": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                        "block_num": 211469908,
                        "block_time": "2023-08-01T20:39:11.000",
                        "producer_block_id": "0c9ac654258144d29772eda35e18f05a387c5828ffbe3a6cabef6e7342df1075",
                        "account_ram_deltas": [
                            {
                                "account": "ytew4k3afrkw",
                                "delta": 331
                            }
                        ],
                        "except": null,
                        "error_code": null,
                        "action_ordinal": 1,
                        "creator_action_ordinal": 0,
                        "closest_unnotified_ancestor_action_ordinal": 0
                    }
                },
                "confirmData": {
                    "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                    "blockHash": "0x666cbcdb18bb5c82c655503296380c50a9cef899294fc41dee24205d411e496a",
                    "blockNumber": 45793320,
                    "logIndex": 147,
                    "removed": false,
                    "transactionHash": "0x774dddc12cc3caef55873cdd44b62d2783f6fb9970c8178b5575263ff6b11e89",
                    "transactionIndex": 31,
                    "id": "log_20af2401",
                    "returnValues": {
                        "0": "0x326C9Fd417711d5F782FFCf1a42fD2DcD398d426",
                        "1": "elonmusk",
                        "2": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                        "account": "0x326C9Fd417711d5F782FFCf1a42fD2DcD398d426",
                        "domain": "elonmusk",
                        "obtid": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73"
                    },
                    "event": "wrapped",
                    "signature": "0x34d54ab6b9488e3952ffb21d7c5b6674a8951b753232762597033e7d1c3d41d2",
                    "raw": {
                        "data": "0x000000000000000000000000326c9fd417711d5f782ffcf1a42fd2dcd398d426000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000008656c6f6e6d75736b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004063613762303961313338376238633533663039343331343935363032626162653863613165323262636466656439306534366265393730306633343362653733",
                        "topics": [
                            "0x34d54ab6b9488e3952ffb21d7c5b6674a8951b753232762597033e7d1c3d41d2"
                        ]
                    }
                },
                "oravotes": [
                    {
                        "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                        "blockHash": "0x122c9eb4d40e093773cb9be2a8e0f107912a47f710eeee1513fb869082b26395",
                        "blockNumber": 45793308,
                        "logIndex": 75,
                        "removed": false,
                        "transactionHash": "0x0f6d1fa099b5d60b88afed11b391aa003f65680d9eda09c747316df93c7e5f8e",
                        "transactionIndex": 19,
                        "id": "log_87cfc278",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0xdEE0200502e4a31826e9aDa6e6866faF6693379E",
                            "2": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "3": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac",
                            "signer": "oracle",
                            "account": "0xdEE0200502e4a31826e9aDa6e6866faF6693379E",
                            "obtid": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "indexhash": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000dee0200502e4a31826e9ada6e6866faf6693379e00000000000000000000000000000000000000000000000000000000000000c0aadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac00000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004063613762303961313338376238633533663039343331343935363032626162653863613165323262636466656439306534366265393730306633343362653733",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    },
                    {
                        "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                        "blockHash": "0xe3c767046a473833aaa5af326c452bdcb251d7c4e9b2a9019b3e7d2e5ef5b4e9",
                        "blockNumber": 45793310,
                        "logIndex": 189,
                        "removed": false,
                        "transactionHash": "0x9238a1bcab34aa4062317e350d16360cd2769e2bc0c2789c9e012f3cd3317184",
                        "transactionIndex": 40,
                        "id": "log_afadc649",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0xD253c2CE2F1d1b562d43fb8Eb7399BF95103fDc7",
                            "2": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "3": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac",
                            "signer": "oracle",
                            "account": "0xD253c2CE2F1d1b562d43fb8Eb7399BF95103fDc7",
                            "obtid": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "indexhash": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d253c2ce2f1d1b562d43fb8eb7399bf95103fdc700000000000000000000000000000000000000000000000000000000000000c0aadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac00000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004063613762303961313338376238633533663039343331343935363032626162653863613165323262636466656439306534366265393730306633343362653733",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    },
                    {
                        "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                        "blockHash": "0x666cbcdb18bb5c82c655503296380c50a9cef899294fc41dee24205d411e496a",
                        "blockNumber": 45793320,
                        "logIndex": 148,
                        "removed": false,
                        "transactionHash": "0x774dddc12cc3caef55873cdd44b62d2783f6fb9970c8178b5575263ff6b11e89",
                        "transactionIndex": 31,
                        "id": "log_0ac561d2",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0xd1Ec18b345cfFdC52Cb397c641C9263b50DE64EA",
                            "2": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "3": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac",
                            "signer": "oracle",
                            "account": "0xd1Ec18b345cfFdC52Cb397c641C9263b50DE64EA",
                            "obtid": "ca7b09a1387b8c53f09431495602babe8ca1e22bcdfed90e46be9700f343be73",
                            "indexhash": "0xaadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d1ec18b345cffdc52cb397c641c9263b50de64ea00000000000000000000000000000000000000000000000000000000000000c0aadcddd30233ec63e6906fad6fcfca7da8dae18ec47a66e7b2b610daffcdd2ac00000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004063613762303961313338376238633533663039343331343935363032626162653863613165323262636466656439306534366265393730306633343362653733",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    }
                ]
            }
        ],
        "maxCount": 489
    },
    "status": 1
}

GET https://api-dashboard.fioprotocol.io/api/v1/wrap-status/domains/unwrap?limit=5&offset=0

Returns transactions of Type: Unwrap and Asset: FIO Domain

  • datalistconfirmData[0]block_time as Date/Time stamp

    • If no items in array, use current date/time (now)

  • datalistdatareturnValuesdomain as Domain Name

  • If datalistoravotesisComplete is 1 status is Successful, else it's Pending

{
    "data": {
        "list": [
            {
                "transactionHash": "0x05c24f75e56f4bc53f3b9b3c355128e7e97a3192c300c5677e6f3b4afade0e6c",
                "blockNumber": "45785261",
                "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                "domain": "wraptest",
                "fioAddress": "aleph1dev@moon",
                "data": {
                    "address": "0x3AB00687AE60EeA770498b59685174E3FC81C424",
                    "blockHash": "0x7b596eca4b5ae69ab5aebed15299f8b3ff7e58f1e40b5359f91c004de67e46bd",
                    "blockNumber": 45785261,
                    "logIndex": 120,
                    "removed": false,
                    "transactionHash": "0x05c24f75e56f4bc53f3b9b3c355128e7e97a3192c300c5677e6f3b4afade0e6c",
                    "transactionIndex": 38,
                    "id": "log_3d2c5a49",
                    "returnValues": {
                        "0": "aleph1dev@moon",
                        "1": "wraptest",
                        "fioaddress": "aleph1dev@moon",
                        "domain": "wraptest"
                    },
                    "event": "unwrapped",
                    "signature": "0xe230a800683f05cf5d4d7ded3a82cf2a1d4db7f8c15b513c3d1857a6a29aacfa",
                    "raw": {
                        "data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e616c65706831646576406d6f6f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000087772617074657374000000000000000000000000000000000000000000000000",
                        "topics": [
                            "0xe230a800683f05cf5d4d7ded3a82cf2a1d4db7f8c15b513c3d1857a6a29aacfa"
                        ]
                    }
                },
                "confirmData": [
                    {
                        "global_action_seq": 241277567,
                        "account_action_seq": 8510,
                        "block_num": 211434238,
                        "block_time": "2023-08-01T15:41:56.000",
                        "action_trace": {
                            "receipt": {
                                "receiver": "fio.oracle",
                                "response": "{\"status\": \"OK\"}",
                                "act_digest": "cc724284e296cb3edbd8830a9609b8358ab0f3515d00661675251989295bae85",
                                "global_sequence": 241277567,
                                "recv_sequence": 750,
                                "auth_sequence": [
                                    [
                                        "jnmwi5vu3hle",
                                        10172
                                    ]
                                ],
                                "code_sequence": 1,
                                "abi_sequence": 1
                            },
                            "receiver": "fio.oracle",
                            "act": {
                                "account": "fio.oracle",
                                "name": "unwrapdomain",
                                "authorization": [
                                    {
                                        "actor": "jnmwi5vu3hle",
                                        "permission": "active"
                                    }
                                ],
                                "data": {
                                    "fio_domain": "wraptest",
                                    "obt_id": "0x05c24f75e56f4bc53f3b9b3c355128e7e97a3192c300c5677e6f3b4afade0e6c",
                                    "fio_address": "aleph1dev@moon",
                                    "actor": "jnmwi5vu3hle"
                                },
                                "hex_data": "087772617074657374423078303563323466373565353666346263353366336239623363333535313238653765393761333139326333303063353637376536663362346166616465306536630e616c65706831646576406d6f6f6ea0621b7a17c7e57c"
                            },
                            "context_free": false,
                            "elapsed": 1003,
                            "console": "",
                            "trx_id": "9b9ac5ff268955c872bbbd7079c19fbdae2fb7d3c18fb2aa1084445f8a6cadcf",
                            "block_num": 211434238,
                            "block_time": "2023-08-01T15:41:56.000",
                            "producer_block_id": "0c9a3afe22b187dbbaa63ef91d7afd004fbc7da95fb3d1f93052d64a437bc906",
                            "account_ram_deltas": [
                                {
                                    "account": "jnmwi5vu3hle",
                                    "delta": 525
                                }
                            ],
                            "except": null,
                            "error_code": null,
                            "action_ordinal": 1,
                            "creator_action_ordinal": 0,
                            "closest_unnotified_ancestor_action_ordinal": 0
                        }
                    },
                    {
                        "global_action_seq": 241277580,
                        "account_action_seq": 8511,
                        "block_num": 211434246,
                        "block_time": "2023-08-01T15:42:00.000",
                        "action_trace": {
                            "receipt": {
                                "receiver": "fio.oracle",
                                "response": "{\"status\": \"OK\"}",
                                "act_digest": "f4f442330d355739a6752d4eade0fcc4f9bbfcb66f5165c11163ab4786105558",
                                "global_sequence": 241277580,
                                "recv_sequence": 751,
                                "auth_sequence": [
                                    [
                                        "mak1ed5b4k1v",
                                        7356
                                    ]
                                ],
                                "code_sequence": 1,
                                "abi_sequence": 1
                            },
                            "receiver": "fio.oracle",
                            "act": {
                                "account": "fio.oracle",
                                "name": "unwrapdomain",
                                "authorization": [
                                    {
                                        "actor": "mak1ed5b4k1v",
                                        "permission": "active"
                                    }
                                ],
                                "data": {
                                    "fio_domain": "wraptest",
                                    "obt_id": "0x05c24f75e56f4bc53f3b9b3c355128e7e97a3192c300c5677e6f3b4afade0e6c",
                                    "fio_address": "aleph1dev@moon",
                                    "actor": "mak1ed5b4k1v"
                                },
                                "hex_data": "087772617074657374423078303563323466373565353666346263353366336239623363333535313238653765393761333139326333303063353637376536663362346166616465306536630e616c65706831646576406d6f6f6eb00324a72415a091"
                            },
                            "context_free": false,
                            "elapsed": 1011,
                            "console": "",
                            "trx_id": "b65e9b01696216240459e460129a728618803260278827606cd39444dae3438c",
                            "block_num": 211434246,
                            "block_time": "2023-08-01T15:42:00.000",
                            "producer_block_id": "0c9a3b068d5b0e4ca45d201d19f084788fb773de5d29c276b0c1c680a9bbef82",
                            "account_ram_deltas": [
                                {
                                    "account": "jnmwi5vu3hle",
                                    "delta": -253
                                },
                                {
                                    "account": "mak1ed5b4k1v",
                                    "delta": 261
                                }
                            ],
                            "except": null,
                            "error_code": null,
                            "action_ordinal": 1,
                            "creator_action_ordinal": 0,
                            "closest_unnotified_ancestor_action_ordinal": 0
                        }
                    }
                ],
                "oravotes": [
                    {
                        "id": 66,
                        "idhash": "0xb840d9f1807cb0b45c3ee70fe3ac46c5",
                        "obt_id": "0x05c24f75e56f4bc53f3b9b3c355128e7e97a3192c300c5677e6f3b4afade0e6c",
                        "fio_address": "aleph1dev@moon",
                        "amount": 0,
                        "nftname": "wraptest",
                        "timestamp": 1690904516,
                        "voters": [
                            "jnmwi5vu3hle",
                            "mak1ed5b4k1v"
                        ],
                        "isComplete": 0
                    }
                ]
            }
        ],
        "maxCount": 49
    },
    "status": 1
}

GET https://api-dashboard.fioprotocol.io/api/v1/wrap-status/tokens/wrap?limit=5&offset=0

Returns transactions of Type: Wrap and Asset: FIO Token

  • datalistdatablock_time as Date/Time stamp

  • datalistdataaction_traceactdataamount / 1000000000 as Amount (show as 10.00 FIO)

  • If datalistconfirmDatablockHash exists status is Successful, else it's Pending

{
    "data": {
        "list": [
            {
                "transactionId": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                "address": "0x8241Fa16468e88C58B9A8B9457B5315E227638a0",
                "amount": "358330802000000",
                "blockNumber": "207670224",
                "data": {
                    "global_action_seq": 236871310,
                    "account_action_seq": 8398,
                    "block_num": 207670224,
                    "block_time": "2023-07-10T20:53:01.500",
                    "action_trace": {
                        "receipt": {
                            "receiver": "fio.oracle",
                            "response": "{\"status\": \"OK\",\"oracle_fee_collected\":\"1500000000000\",\"fee_collected\":2000000000}",
                            "act_digest": "33bc24db6db119f5943526c60a0d5e275e8682ae6d231b7d96484bc0dcd3af01",
                            "global_sequence": 236871310,
                            "recv_sequence": 734,
                            "auth_sequence": [
                                [
                                    "2pbrd31fc21q",
                                    19
                                ]
                            ],
                            "code_sequence": 1,
                            "abi_sequence": 1
                        },
                        "receiver": "fio.oracle",
                        "act": {
                            "account": "fio.oracle",
                            "name": "wraptokens",
                            "authorization": [
                                {
                                    "actor": "2pbrd31fc21q",
                                    "permission": "active"
                                }
                            ],
                            "data": {
                                "amount": 358330802000000,
                                "chain_code": "ETH",
                                "public_address": "0x8241Fa16468e88C58B9A8B9457B5315E227638a0",
                                "max_oracle_fee": 1500000000000,
                                "max_fee": 2000000000,
                                "tpid": "dashboard@fio",
                                "actor": "2pbrd31fc21q"
                            },
                            "hex_data": "80502a64e6450100034554482a3078383234314661313634363865383843353842394138423934353742353331354532323736333861300098f73e5d01000000943577000000000d64617368626f6172644066696f6083402b8c744f15"
                        },
                        "context_free": false,
                        "elapsed": 1587,
                        "console": "",
                        "trx_id": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                        "block_num": 207670224,
                        "block_time": "2023-07-10T20:53:01.500",
                        "producer_block_id": "0c60cbd067e2394a70b0fae976e8028d2ada9203bdd91dfec3c890edc2d994ce",
                        "account_ram_deltas": [
                            {
                                "account": "2pbrd31fc21q",
                                "delta": 321
                            }
                        ],
                        "except": null,
                        "error_code": null,
                        "action_ordinal": 1,
                        "creator_action_ordinal": 0,
                        "closest_unnotified_ancestor_action_ordinal": 0
                    }
                },
                "confirmData": {
                    "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                    "blockHash": "0xd806d79c1f7db4df07a4a9d72bb2f7dde4a5966f291725305c311725c1993f0f",
                    "blockNumber": 17665772,
                    "logIndex": 145,
                    "removed": false,
                    "transactionHash": "0xe10a85dc1b594700765091b6a4e0d6381c327bc296a7f3b6030f0d01b3ebe298",
                    "transactionIndex": 24,
                    "id": "log_8241a203",
                    "returnValues": {
                        "0": "0x8241Fa16468e88C58B9A8B9457B5315E227638a0",
                        "1": "358330802000000",
                        "2": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                        "account": "0x8241Fa16468e88C58B9A8B9457B5315E227638a0",
                        "amount": "358330802000000",
                        "obtid": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5"
                    },
                    "event": "wrapped",
                    "signature": "0xbfb8a2f9b4d8e8ed83a83aedac91756186665fbf1f57e39619d757180619bf98",
                    "raw": {
                        "data": "0x0000000000000000000000008241fa16468e88c58b9a8b9457b5315e227638a0000000000000000000000000000000000000000000000000000145e6642a50800000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004032303566613836326238363831666565333637343364303962336561666139353438626539393134393761643237396566626331316266393437343761366135",
                        "topics": [
                            "0xbfb8a2f9b4d8e8ed83a83aedac91756186665fbf1f57e39619d757180619bf98"
                        ]
                    }
                },
                "oravotes": [
                    {
                        "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                        "blockHash": "0xcdd0848f95f4d65d09420569f8595804f3236b36b183f901ad586883e92b41db",
                        "blockNumber": 17665771,
                        "logIndex": 128,
                        "removed": false,
                        "transactionHash": "0x11d0a909bc33036e937adac15c72d45b28906c6feb4a64b333125e91b4f4dd41",
                        "transactionIndex": 56,
                        "id": "log_9f36cb4c",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0x361694a5886ef45868380F650e0C9B5a87b9fBF5",
                            "2": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "3": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6",
                            "signer": "oracle",
                            "account": "0x361694a5886ef45868380F650e0C9B5a87b9fBF5",
                            "obtid": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "indexhash": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000361694a5886ef45868380f650e0c9b5a87b9fbf500000000000000000000000000000000000000000000000000000000000000c0d96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d600000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004032303566613836326238363831666565333637343364303962336561666139353438626539393134393761643237396566626331316266393437343761366135",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    },
                    {
                        "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                        "blockHash": "0xcdd0848f95f4d65d09420569f8595804f3236b36b183f901ad586883e92b41db",
                        "blockNumber": 17665771,
                        "logIndex": 130,
                        "removed": false,
                        "transactionHash": "0x0a7f226d4d07a1a52fc6adff2399f62cbd4e2ee82b5a28e7124540aed51b733c",
                        "transactionIndex": 58,
                        "id": "log_64edd4af",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0xdEE0200502e4a31826e9aDa6e6866faF6693379E",
                            "2": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "3": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6",
                            "signer": "oracle",
                            "account": "0xdEE0200502e4a31826e9aDa6e6866faF6693379E",
                            "obtid": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "indexhash": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000dee0200502e4a31826e9ada6e6866faf6693379e00000000000000000000000000000000000000000000000000000000000000c0d96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d600000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004032303566613836326238363831666565333637343364303962336561666139353438626539393134393761643237396566626331316266393437343761366135",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    },
                    {
                        "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                        "blockHash": "0xd806d79c1f7db4df07a4a9d72bb2f7dde4a5966f291725305c311725c1993f0f",
                        "blockNumber": 17665772,
                        "logIndex": 146,
                        "removed": false,
                        "transactionHash": "0xe10a85dc1b594700765091b6a4e0d6381c327bc296a7f3b6030f0d01b3ebe298",
                        "transactionIndex": 24,
                        "id": "log_06272b6b",
                        "returnValues": {
                            "0": "oracle",
                            "1": "0xD253c2CE2F1d1b562d43fb8Eb7399BF95103fDc7",
                            "2": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "3": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6",
                            "signer": "oracle",
                            "account": "0xD253c2CE2F1d1b562d43fb8Eb7399BF95103fDc7",
                            "obtid": "205fa862b8681fee36743d09b3eafa9548be991497ad279efbc11bf94747a6a5",
                            "indexhash": "0xd96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d6"
                        },
                        "event": "consensus_activity",
                        "signature": "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd",
                        "raw": {
                            "data": "0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d253c2ce2f1d1b562d43fb8eb7399bf95103fdc700000000000000000000000000000000000000000000000000000000000000c0d96c7a6851bb90aa9459b8cd097d9d53cac96e4f802a81350542161b9bd665d600000000000000000000000000000000000000000000000000000000000000066f7261636c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004032303566613836326238363831666565333637343364303962336561666139353438626539393134393761643237396566626331316266393437343761366135",
                            "topics": [
                                "0x3be8840aec3e3998ee1e020dd20a8ea88430534d4e16feeeb1762ea4428464cd"
                            ]
                        }
                    }
                ]
            }
        ],
        "maxCount": 24
    },
    "status": 1
}

GET https://api-dashboard.fioprotocol.io/api/v1/wrap-status/tokens/unwrap?limit=5&offset=0

Returns transactions of Type: Unwrap and Asset: FIO Domain

  • datalistconfirmData[0]block_time as Date/Time stamp

    • If no items in array, use current date/time (now)

  • datalistdatareturnValuesamount / 1000000000 as Amount (show as 10.00 FIO)

  • If datalistoravotesisComplete is 1 status is Successful, else it's Pending

{
    "data": {
        "list": [
            {
                "transactionHash": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                "blockNumber": "17654415",
                "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                "amount": "465824506321402",
                "fioAddress": "maachuda28621@wallet",
                "data": {
                    "address": "0xbEA269038Eb75BdAB47a9C04D0F5c572d94b93D5",
                    "blockHash": "0x4e9ea4c7f7731a89259538f88544a77b00fc88aa6fe2b420569686cd27fb4e8b",
                    "blockNumber": 17654415,
                    "logIndex": 117,
                    "removed": false,
                    "transactionHash": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                    "transactionIndex": 41,
                    "id": "log_cd5c1df0",
                    "returnValues": {
                        "0": "maachuda28621@wallet",
                        "1": "465824506321402",
                        "fioaddress": "maachuda28621@wallet",
                        "amount": "465824506321402"
                    },
                    "event": "unwrapped",
                    "signature": "0xcbc81eff77955b99685533d29441743baaced5a53ed539d634490e5380a8dcf0",
                    "raw": {
                        "data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000001a7aa383a19fa00000000000000000000000000000000000000000000000000000000000000146d6161636875646132383632314077616c6c6574000000000000000000000000",
                        "topics": [
                            "0xcbc81eff77955b99685533d29441743baaced5a53ed539d634490e5380a8dcf0"
                        ]
                    }
                },
                "confirmData": [
                    {
                        "global_action_seq": 236543774,
                        "account_action_seq": 8339,
                        "block_num": 207394972,
                        "block_time": "2023-07-09T06:39:14.500",
                        "action_trace": {
                            "receipt": {
                                "receiver": "fio.oracle",
                                "response": "{\"status\": \"OK\"}",
                                "act_digest": "72895a109479ffc168893971569d325c5db1aafc4254823c4fdaa9d163c7da72",
                                "global_sequence": 236543774,
                                "recv_sequence": 725,
                                "auth_sequence": [
                                    [
                                        "mak1ed5b4k1v",
                                        7216
                                    ]
                                ],
                                "code_sequence": 1,
                                "abi_sequence": 1
                            },
                            "receiver": "fio.oracle",
                            "act": {
                                "account": "fio.oracle",
                                "name": "unwraptokens",
                                "authorization": [
                                    {
                                        "actor": "mak1ed5b4k1v",
                                        "permission": "active"
                                    }
                                ],
                                "data": {
                                    "amount": 465824506321402,
                                    "obt_id": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                                    "fio_address": "maachuda28621@wallet",
                                    "actor": "mak1ed5b4k1v"
                                },
                                "hex_data": "fa193a38aaa7010042307838313437326438396564316463353034613865643334396464303331626566363238636662633862646362393331353431613631653234643833313730313261146d6161636875646132383632314077616c6c6574b00324a72415a091"
                            },
                            "context_free": false,
                            "elapsed": 1032,
                            "console": "",
                            "trx_id": "c6c4392a7348d392f98e09b825fd0f577192c9acc0587611211357b8c7370f06",
                            "block_num": 207394972,
                            "block_time": "2023-07-09T06:39:14.500",
                            "producer_block_id": "0c5c989c466cc045329ea2a5b419d5e71b32e59a1213e6e8a3e5e88641a1f79e",
                            "account_ram_deltas": [
                                {
                                    "account": "jnmwi5vu3hle",
                                    "delta": -251
                                },
                                {
                                    "account": "mak1ed5b4k1v",
                                    "delta": 259
                                }
                            ],
                            "except": null,
                            "error_code": null,
                            "action_ordinal": 1,
                            "creator_action_ordinal": 0,
                            "closest_unnotified_ancestor_action_ordinal": 0
                        }
                    },
                    {
                        "global_action_seq": 236543796,
                        "account_action_seq": 8340,
                        "block_num": 207394993,
                        "block_time": "2023-07-09T06:39:25.000",
                        "action_trace": {
                            "receipt": {
                                "receiver": "fio.oracle",
                                "response": "{\"status\": \"OK\"}",
                                "act_digest": "779ff1065558396b186b36b846d8d777e65e43b27d6c2a9b342f8212662dde87",
                                "global_sequence": 236543796,
                                "recv_sequence": 726,
                                "auth_sequence": [
                                    [
                                        "hkzfdcxe11us",
                                        4502
                                    ]
                                ],
                                "code_sequence": 1,
                                "abi_sequence": 1
                            },
                            "receiver": "fio.oracle",
                            "act": {
                                "account": "fio.oracle",
                                "name": "unwraptokens",
                                "authorization": [
                                    {
                                        "actor": "hkzfdcxe11us",
                                        "permission": "active"
                                    }
                                ],
                                "data": {
                                    "amount": 465824506321402,
                                    "obt_id": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                                    "fio_address": "maachuda28621@wallet",
                                    "actor": "hkzfdcxe11us"
                                },
                                "hex_data": "fa193a38aaa7010042307838313437326438396564316463353034613865643334396464303331626566363238636662633862646362393331353431613631653234643833313730313261146d6161636875646132383632314077616c6c6574807508aaa3b43e6c"
                            },
                            "context_free": false,
                            "elapsed": 994,
                            "console": "",
                            "trx_id": "04d26959e28c6593257e1c7b87565c4cd012df0991dff1d967307a07d33b39fb",
                            "block_num": 207394993,
                            "block_time": "2023-07-09T06:39:25.000",
                            "producer_block_id": "0c5c98b1ce74fd6e000cc6696ef33b2bd34e5fd1ab527daa5b8672fbb3e5478b",
                            "account_ram_deltas": [
                                {
                                    "account": "hkzfdcxe11us",
                                    "delta": 395
                                },
                                {
                                    "account": "jnmwi5vu3hle",
                                    "delta": -128
                                },
                                {
                                    "account": "mak1ed5b4k1v",
                                    "delta": -259
                                }
                            ],
                            "except": null,
                            "error_code": null,
                            "action_ordinal": 1,
                            "creator_action_ordinal": 0,
                            "closest_unnotified_ancestor_action_ordinal": 0
                        }
                    },
                    {
                        "global_action_seq": 236543484,
                        "account_action_seq": 8338,
                        "block_num": 207394776,
                        "block_time": "2023-07-09T06:37:36.500",
                        "action_trace": {
                            "receipt": {
                                "receiver": "fio.oracle",
                                "response": "{\"status\": \"OK\"}",
                                "act_digest": "7b714d0db79e6e6235748abd794b69c39ba0d9be7a5634275f794a77f6a6acad",
                                "global_sequence": 236543484,
                                "recv_sequence": 724,
                                "auth_sequence": [
                                    [
                                        "jnmwi5vu3hle",
                                        10030
                                    ]
                                ],
                                "code_sequence": 1,
                                "abi_sequence": 1
                            },
                            "receiver": "fio.oracle",
                            "act": {
                                "account": "fio.oracle",
                                "name": "unwraptokens",
                                "authorization": [
                                    {
                                        "actor": "jnmwi5vu3hle",
                                        "permission": "active"
                                    }
                                ],
                                "data": {
                                    "amount": 465824506321402,
                                    "obt_id": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                                    "fio_address": "maachuda28621@wallet",
                                    "actor": "jnmwi5vu3hle"
                                },
                                "hex_data": "fa193a38aaa7010042307838313437326438396564316463353034613865643334396464303331626566363238636662633862646362393331353431613631653234643833313730313261146d6161636875646132383632314077616c6c6574a0621b7a17c7e57c"
                            },
                            "context_free": false,
                            "elapsed": 914,
                            "console": "",
                            "trx_id": "a16cdfd7932e796f41774c9229f5661118a69b50b859cb4c7aca61840d99a12a",
                            "block_num": 207394776,
                            "block_time": "2023-07-09T06:37:36.500",
                            "producer_block_id": "0c5c97d8756da97de150d9444b8f45cc10a9d9f1d62409660e144b07d088d019",
                            "account_ram_deltas": [
                                {
                                    "account": "jnmwi5vu3hle",
                                    "delta": 523
                                }
                            ],
                            "except": null,
                            "error_code": null,
                            "action_ordinal": 1,
                            "creator_action_ordinal": 0,
                            "closest_unnotified_ancestor_action_ordinal": 0
                        }
                    }
                ],
                "oravotes": [
                    {
                        "id": 63,
                        "idhash": "0xb79bdaa3e9ed1b8efc962c9495dfe06a",
                        "obt_id": "0x81472d89ed1dc504a8ed349dd031bef628cfbc8bdcb931541a61e24d8317012a",
                        "fio_address": "maachuda28621@wallet",
                        "amount": 465824506321402,
                        "nftname": "",
                        "timestamp": 1688884656,
                        "voters": [
                            "jnmwi5vu3hle",
                            "mak1ed5b4k1v",
                            "hkzfdcxe11us"
                        ],
                        "isComplete": 1
                    }
                ]
            }
        ],
        "maxCount": 23
    },
    "status": 1
}

Wrapping & Unwrapping

Chain

Asset

Smart contract address

Polygon

  • FIO Domain

0x3ab00687ae60eea770498b59685174e3fc81c424

Ethereum

  • FIO Token

0xbea269038eb75bdab47a9c04d0f5c572d94b93d5

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.