# Full node oracle field

**URL:** <https://forum.bifrostnetwork.com/t/full-node-oracle-field/97>\
**Category:** Week 1\
**Created:** [October 17, 2022, 10:07am UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97 "2022-10-17T10:07:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![itrocket](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/itrocket/32/64_2.png) [@itrocket](https://forum.bifrostnetwork.com/u/itrocket)\
**Post date:** [October 17, 2022, 10:07am UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/1 "2022-10-17T10:07:51Z")

</div>

What needs to be specified there: “name” “auth\_id” and “auth\_password”?

````auto
      "bitcoin_block_hash": {
          "name": "bitcoinblockhash",
          "url": "ETHEREUM_MAINNET_RPC_ACCESS_URL",
          "auth_id": "AUTH_ID_FOR_BASIC_AUTH",
          "auth_password": "PASSWORD_FOR_BASIC_AUTH",
          "collection_period_sec": 120```
````

---

<div class="post-metadata">

**Author:** ![Alex-AM](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@Alex-AM](https://forum.bifrostnetwork.com/u/Alex-AM)\
**Post date:** [October 17, 2022, 1:38pm UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/2 "2022-10-17T13:38:42Z")

</div>

Trying to find answers for this too. Please team or anyone who know, give explanation what kind of RPC is it and why there should be ID and PASS , and where to get all those… Thanks

---

<div class="post-metadata">

**Author:** ![dongchangYoo](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@dongchangYoo](https://forum.bifrostnetwork.com/u/dongchangYoo)\
**Post date:** [October 18, 2022, 8:06am UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/3 "2022-10-18T08:06:19Z")

</div>

relayer delivers bitcoin block hash to BIFROST oracle. Therefore, an api to acquire bitcoin block hash is required. There are many services that offer bitcoin node api for free. ex) [Blockchain nodes provider — crypto node as a service | GetBlock.io](https://getblock.io/)

If the id and password for auth are not required, you can leave it blank.  
(remove auth\_id and auth\_password field)

---

<div class="post-metadata">

**Author:** ![Marc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/marc/32/95_2.png) [@Marc](https://forum.bifrostnetwork.com/u/Marc)\
**Post date:** [October 18, 2022, 9:26am UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/4 "2022-10-18T09:26:07Z")

</div>

The url field in `bitcoin_block_hash` asks for an Ethereum Mainnet RPC, not for Bitcoin. Is this a typo then and the credentials for a Bitcoin RPC should be entered here instead?

Also, on Getblock, one can set either a JSON-RPC or REST as the API interface. Which one is required?

---

<div class="post-metadata">

**Author:** ![dongchangYoo](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@dongchangYoo](https://forum.bifrostnetwork.com/u/dongchangYoo)\
**Post date:** [October 19, 2022, 7:01am UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/5 "2022-10-19T07:01:05Z")

</div>

You’re right. And you can get the json-rpc api key of getblock and use it.  
Thank you very much for your efforts.

---

<div class="post-metadata">

**Author:** ![ulad\_proto](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/ulad_proto/32/84_2.png) [@ulad\_proto](https://forum.bifrostnetwork.com/u/ulad_proto)\
**Post date:** [October 19, 2022, 5:39pm UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/6 "2022-10-19T17:39:12Z")

</div>

So, this is really wrong naming in code? OMG

---

<div class="post-metadata">

**Author:** ![ulad\_proto](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.bifrostnetwork.com/ulad_proto/32/84_2.png) [@ulad\_proto](https://forum.bifrostnetwork.com/u/ulad_proto)\
**Post date:** [October 24, 2022, 12:37pm UTC](https://forum.bifrostnetwork.com/t/full-node-oracle-field/97/7 "2022-10-24T12:37:09Z")

</div>

It should be BTC (sigh)
