Skip to content

Call smart contract

Meta Head edited this page Sep 9, 2022 · 1 revision

In term of NEAR protocol, smart contract call is a action in scope of transaction A single transaction might has one or more actions. Beside smart contract call action there are actions like: deploy contract, transfer, add key, create account, delete account

In other words to call smart contract you need to create a transaction with function_call action.

Ruby NEAR API details

Smart contract demo takes precompiled counter example smart contract and calls it from ruby

login

Clone this wiki locally