Local/Transaction/Litecoin
// Set your API Keys 👇 here
$sdk = new \Tatum\Sdk();
// MainNet Local/Transaction/Litecoin
$sdk->mainnet()->local()->transaction()->litecoin();
// TestNet Local/Transaction/Litecoin
$sdk->testnet()->local()->transaction()->litecoin();
Litecoin Transaction
Method | Description |
---|---|
sign() | Sign transaction |
sign()
Example
#️⃣ Execute command in terminal
Type signature
(new \Tatum\Sdk())->{mainnet/testnet}()->local()->transaction()->litecoin()->sign(
\Tatum\Local\Transaction\Bitcoin\Transfer $transfer
): string
Parameters
Name | Type | Description | Notes |
---|---|---|---|
$transfer | \Tatum\Local\Transaction\Bitcoin\Transfer | Transfer object |
Return type
Signed transaction hex (string
)
Description
Sign transaction