Signature
Parameters
str
required
email (or id) of recipient account
float
required
dollars of credit to transfer
Returns
dict
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
VastAI.transfer_credit(
recipient: str,
amount: float
) -> dict
dict
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.transfer_credit(recipient="value", amount=1.0)
print(result)