ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WEBDEV 2024 feature!
Help / WLanguage / WLanguage functions / Standard functions / Windows functions / BitcoinCore functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Specifies the Bitcoin Core server connection parameters, in order to use BitcoinCoreXXXX functions.
Remark: To use BitcoinCoreXXXX functions, you need to configure a server on Bitcoin Core. For more details, see Setting up and using a Bitcoin Core server.
Example
BitcoinCoreConfigure(btcRpcServerAddress, "192.31.15.55")
BitcoinCoreConfigure(btcRpcPortNumber, 8055)
BitcoinCoreConfigure(btcRpcUser, "bob")
BitcoinCoreConfigure(btcRpcPassword, "secret")

d is DateTime
d = BitcoinCoreDateTimeLatestBlock()
IF ErrorOccurred THEN
Error()
RETURN
END
Trace("Latest block:" + DateToString(d))
Syntax
BitcoinCoreConfigure(<Parameter> , <Value>)
<Parameter>: Integer constant
Parameter to be defined:
btcRpcServerAddressBitcoin Core server address.
btcRpcUserUsername used to log in to the Bitcoin Core server.
btcRpcPasswordPassword used to log in to the Bitcoin Core server.
btcRpcPortNumberBitcoin Core server connection port number.
btcTimeoutBitcoin Core server connection timeout.
<Value>: Variant
Value corresponding to the specified parameter.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/16/2024

Send a report | Local help