• 官网
  • 中文
  • English
  • Russian
  • More language
Show / Hide Table of Contents
  • White Paper
  • Eerste Opzet
  • NEO Node
    • Introductie
    • Installatie
    • Graphical User Interface
    • TestNet
    • CLI Commands
    • Private Chain
    • API Referentie
      • getbalance
      • getbestblockhash
      • getblock
      • getblockcount
      • getblockhash
      • getconnectioncount
      • getrawmempool
      • getrawtransaction
      • gettxout
      • sendrawtransaction
      • sendtoadress
    • Netwerkprotocol
    • Consensus
      • Consensus Whitepaper
      • Consensus Diagram
  • Smart Contract
    • Introductie
    • Voorbereiding (C#)
    • Voorbereiding (Java)
    • Handleiding
      • Basis
      • Hello World
      • Lock Contract
      • Domeinen (Domain Name System)
      • Smart Contract Parameters en Return Values
      • Contract Authenticatie Handleiding
      • Lock Contract Deployen
      • Contract Call
      • Deploy en Invoke
    • Testen
    • Neo Contract White Paper
    • API Uitleg
      • NEO
      • System
    • Framework
      • .NET Framework
        • NEO
          • Account
          • Asset
          • Block
          • Blockchain
          • Enrollment
          • Header
          • Storage
          • StorageContext
          • Transaction
          • TransactionAttribute
          • TransactionInput
          • TransactionOutput
        • System
          • ExecutionEngine
    • Systeemkosten
  • Auteurs

Contract Call

[AppCall("XXXXXXXXXX")] // ScriptHash
public static extern int AnderContract (string arg);

public static void Main ()
{
     AnderContract ("Hello");
}

In een smart contract kan deze functie worden gebruik om een beroep te doen op andere smart contracts die reeds op de blockchain gevestigd zijn.

  1. Voeg een declaratie toe d.m.v. AppCall met het script-hash van het op te roepen contract.
  2. Roep het op in de node.
  • Improve this Doc
Back to top Copyright © 2014-2018 NEO