This commit is contained in:
Jack Forgash 2023-08-17 18:02:11 -06:00
parent 433a8ec787
commit b7333aa455
3 changed files with 9 additions and 3 deletions

View File

@ -2,7 +2,10 @@ version: 2
macros:
- name: create_UDTF_CALL_CONTRACT_FUNCTION_BY_HEIGHT
description: Creates the Snowflake function `UDTF_CALL_CONTRACT_FUNCTION` with a height parameter input
description: >
Creates the Snowflake function `UDTF_CALL_CONTRACT_FUNCTION` with a height parameter input to
call a contract method via the [public NEAR RPC endpoint](https://docs.near.org/api/rpc/setup), modeled after the official documentation, [here](https://docs.near.org/api/rpc/contracts#call-a-contract-function).
See examples on the main docs landing page.
arguments:
- name: CONTRACT_ADDRESS
type: string

View File

@ -2,7 +2,10 @@ version: 2
macros:
- name: create_UDTF_CALL_CONTRACT_FUNCTION
description: Creates the Snowflake function `UDTF_CALL_CONTRACT_FUNCTION` assuming `final` finality. See the documentation overview page for links to NEAR docs.
description: >
Creates the Snowflake function `UDTF_CALL_CONTRACT_FUNCTION` to
call a contract method via the [public NEAR RPC endpoint](https://docs.near.org/api/rpc/setup), modeled after the official documentation, [here](https://docs.near.org/api/rpc/contracts#call-a-contract-function).
See examples on the main docs landing page.
arguments:
- name: CONTRACT_ADDRESS
type: string

View File

@ -54,7 +54,7 @@ There is more information on how to use dbt docs in the last section of this doc
- [github_activity](https://github.com/forgxyz/developer_report_near)
### Custom Functions
- `NEAR`.`CORE`.`UDTF_CALL_CONTRACT_FUNCTION`
- [udtf_call_contract_function](#!/macro/macro.near.create_UDTF_CALL_CONTRACT_FUNCTION_BY_HEIGHT)
Call a contract method via the [public NEAR RPC endpoint](https://docs.near.org/api/rpc/setup), modeled after the official documentation, [here](https://docs.near.org/api/rpc/contracts#call-a-contract-function).